- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/Actions/FragmentationAction/StructuralOptimizationAction.cpp ¶
re5f61ba r553c54 62 62 // present. If not, we still copy the position cleanly into a new step where then 63 63 // forces are set according to summed fragmentary contributions. This is much cleaner. 64 actions.addAction(AR.getActionByName(std::string("destroy-adjacency"))); 65 actions.addAction(AR.getActionByName(std::string("create-adjacency"))); 66 actions.addAction(AR.getActionByName(std::string("update-molecules"))); 64 67 actions.addAction(AR.getActionByName(std::string("fragment-molecule"))); 65 68 actions.addAction(AR.getActionByName(std::string("fragment-automation"))); … … 91 94 "FragmentationStructuralOptimizationAction::performCall() - output not found in ActionSequence."); 92 95 } 96 // don't recreate bond graph if not desired 97 if (params.DontCreateGraphEachStep.get()) { 98 #ifndef NDEBUG 99 bool status = true; 100 status &= 101 #endif 102 removeAction(std::string("destroy-adjacency")); 103 104 #ifndef NDEBUG 105 status &= 106 #endif 107 removeAction(std::string("create-adjacency")); 108 109 #ifndef NDEBUG 110 status &= 111 #endif 112 removeAction(std::string("update-molecules")); 113 ASSERT( status, 114 "FragmentationStructuralOptimizationAction::performCall() - at least one graph action not found in ActionSequence."); 115 } 93 116 // and call 94 117 ActionState::ptr state(MakroAction::performCall());
Note:
See TracChangeset
for help on using the changeset viewer.