#include <src/simulator.hpp>
template<typename ParticleSys, typename OdeIterator>
Simulator class
Template parameters | |
---|---|
ParticleSys | Any implementation of concept system::ParticleSystem . |
OdeIterator | Any implementation of concept ode::OdeIterator . |
Contents
Wrapper to integrate the particle system and ode-iterator to perform the simulation.
Public types
-
using RunArgs = hub::
RunArgs<ParticleSys> - using Particle = typename ParticleSys::Particle
Constructors, destructors, conversion operators
Public functions
Typedef documentation
template<typename ParticleSys, typename OdeIterator>
using hub:: Simulator<ParticleSys, OdeIterator>:: RunArgs = hub:: RunArgs<ParticleSys>
Run arguments that is used to set all arguments needed by Simulator.
Function documentation
template<typename ParticleSys, typename OdeIterator>
hub:: Simulator<ParticleSys, OdeIterator>:: Simulator() deleted
Default constructor.
template<typename ParticleSys, typename OdeIterator>
template<typename STL>
hub:: Simulator<ParticleSys, OdeIterator>:: Simulator(Scalar time,
STL const& particles_set)
Template parameters | |
---|---|
STL | Iterable Particle Container. |
Parameters | |
time in | Initial time of the particle system. |
particles_set in | Particle container. |
Initialize the Simulator with an iterable Particle Container.
template<typename ParticleSys, typename OdeIterator>
template<typename... T>
hub:: Simulator<ParticleSys, OdeIterator>:: Simulator(Scalar time,
T const&... particle) explicit
Template parameters | |
---|---|
T | Any particle type that has the same interfaces of type member Particle . |
Parameters | |
time in | Initial time of the particle system. |
particle in | Initial particles. |
Initialize the Simulator with an given particles.
template<typename ParticleSys, typename OdeIterator>
ParticleSys const & hub:: Simulator<ParticleSys, OdeIterator>:: particles() const noexcept
The getter interface of member particles_
in name of particles
.