Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/Actions/FragmentationAction/StructuralOptimizationAction.cpp

    re5f61ba r553c54  
    6262  // present. If not, we still copy the position cleanly into a new step where then
    6363  // 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")));
    6467  actions.addAction(AR.getActionByName(std::string("fragment-molecule")));
    6568  actions.addAction(AR.getActionByName(std::string("fragment-automation")));
     
    9194        "FragmentationStructuralOptimizationAction::performCall() - output not found in ActionSequence.");
    9295  }
     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  }
    93116  // and call
    94117  ActionState::ptr state(MakroAction::performCall());
Note: See TracChangeset for help on using the changeset viewer.