Molecular Dynamics Simulation  1.0
VerletFunctor.h
Go to the documentation of this file.
1 #pragma once
2 
4 
12  public:
23  void step(std::unique_ptr<ParticleContainer>& particle_container,
24  const std::vector<std::shared_ptr<SimpleForceSource>>& simple_force_sources,
25  const std::vector<std::shared_ptr<PairwiseForceSource>>& pairwise_force_sources,
26  const std::vector<std::shared_ptr<TargettedForceSource>>& targetted_force_sources, double delta_t,
27  double curr_simulation_time) const override;
28 };
Interface for numerical integration methods.
Implementation of the Strömer-Verlet integration method. Implements the interface IntegrationFunctor.
Definition: VerletFunctor.h:11
void step(std::unique_ptr< ParticleContainer > &particle_container, const std::vector< std::shared_ptr< SimpleForceSource >> &simple_force_sources, const std::vector< std::shared_ptr< PairwiseForceSource >> &pairwise_force_sources, const std::vector< std::shared_ptr< TargettedForceSource >> &targetted_force_sources, double delta_t, double curr_simulation_time) const override
Performs one step with the respective integration method.