- Timestamp:
- Jun 21, 2017, 9:51:24 PM (8 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_SelectAtomByNameAction, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.1, ChangeBugEmailaddress, ChemicalSpaceEvaluator, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, ForceAnnealing_oldresults, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, IndependentFragmentGrids_IntegrationTest, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, StoppableMakroAction, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps
- Children:
- 101d2d
- Parents:
- 9f2071
- git-author:
- Frederik Heber <heber@…> (03/23/17 17:11:47)
- git-committer:
- Frederik Heber <frederik.heber@…> (06/21/17 21:51:24)
- Location:
- src/Atom
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Atom/atom.cpp
r9f2071 r7294dc 103 103 LOG(4,"atom::UpdateStep() called."); 104 104 // append to position, velocity and force vector 105 AtomInfo::AppendTrajectoryStep(WorldTime::getTime() +1);105 AtomInfo::AppendTrajectoryStep(WorldTime::getTime()); 106 106 // append to ListOfBonds vector 107 BondedParticleInfo::AppendTrajectoryStep(WorldTime::getTime() +1);107 BondedParticleInfo::AppendTrajectoryStep(WorldTime::getTime()); 108 108 } 109 109 -
src/Atom/atom_atominfo.cpp
r9f2071 r7294dc 91 91 void AtomInfo::AppendTrajectoryStep(const unsigned int _step) 92 92 { 93 ASSERT (WorldTime::getTime() != _step,94 "AtomInfo::AppendTrajectoryStep() - cannot append current time step.");95 93 NOTIFY(TrajectoryChanged); 96 94 AtomicPosition.insert( std::make_pair(_step, zeroVec) ); … … 105 103 void AtomInfo::removeTrajectoryStep(const unsigned int _step) 106 104 { 107 ASSERT (WorldTime::getTime() != _step,108 "AtomInfo::removeTrajectoryStep() - cannot remove current time step.");109 105 NOTIFY(TrajectoryChanged); 110 106 AtomicPosition.erase(_step);
Note:
See TracChangeset
for help on using the changeset viewer.