Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.cpp

    rbe21fa rf10b0c  
    4343/** =========== define the function ====================== */
    4444Action::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.");
    4747  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());
    5050  LOG(0, "STATUS: done." << endl);
    5151
Note: See TracChangeset for help on using the changeset viewer.