- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.cpp
rbe21fa rf10b0c 43 43 /** =========== define the function ====================== */ 44 44 Action::state_ptr MoleculeLinearInterpolationofTrajectoriesAction::performCall() { 45 LOG(0, "STATUS: Linear interpolation between configuration " << params.start << " and " << params.end<< "." << endl);46 ASSERT(params.end > params.start, "MoleculeLinearInterpolationofTrajectoriesAction() - start step greater than end step.");45 LOG(0, "STATUS: Linear interpolation between configuration " << params.start.get() << " and " << params.end.get() << "." << endl); 46 ASSERT(params.end.get() > params.start.get(), "MoleculeLinearInterpolationofTrajectoriesAction() - start step greater than end step."); 47 47 AtomSetMixin<std::vector<atom*> > set(World::getInstance().getSelectedAtoms()); 48 LinearInterpolationBetweenSteps<std::vector<atom*> > LinearInterpolate(set,(unsigned int)(params.interpolation_steps ));49 LinearInterpolate(params.start , params.end, params.IdMapping);48 LinearInterpolationBetweenSteps<std::vector<atom*> > LinearInterpolate(set,(unsigned int)(params.interpolation_steps.get())); 49 LinearInterpolate(params.start.get(), params.end.get(), params.IdMapping.get()); 50 50 LOG(0, "STATUS: done." << endl); 51 51
Note:
See TracChangeset
for help on using the changeset viewer.