|
MolSim
|
Class for encapsulating the position and velocity functions. More...
#include <StrategyFactory.h>
Public Types | |
| using | VFunc = void(*)(ParticleContainer &, double) |
| Typedef for velocity-calculating functions. | |
| using | XFunc = void(*)(ParticleContainer &, double, double, CellContainer *, bool) |
| Typedef for position-calculating functions. | |
Public Member Functions | |
| TimeIntegrationFuncs (SimulationType type, bool lc) | |
| Constructor for choosing the appropriate functions based on the simulation type. | |
Public Attributes | |
| VFunc | vf |
| Typedef for velocity-calculating functions for the linked cell method. | |
| XFunc | xf |
| The position-calculating function. | |
Class for encapsulating the position and velocity functions.
| using TimeIntegrationFuncs::VFunc = void (*)(ParticleContainer &, double) |
Typedef for velocity-calculating functions.
| using TimeIntegrationFuncs::XFunc = void (*)(ParticleContainer &, double, double, CellContainer *, bool) |
Typedef for position-calculating functions.
|
explicit |
Constructor for choosing the appropriate functions based on the simulation type.
| type | The simulation type. |
| lc | Whether or not the linked cells method is used. |
| VFunc TimeIntegrationFuncs::vf |
Typedef for velocity-calculating functions for the linked cell method.
The velocity-calculating function.
| XFunc TimeIntegrationFuncs::xf |
The position-calculating function.