MolSim
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
TimeIntegrationFuncs Struct Reference

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.
 

Detailed Description

Class for encapsulating the position and velocity functions.

Member Typedef Documentation

◆ VFunc

using TimeIntegrationFuncs::VFunc = void (*)(ParticleContainer &, double)

Typedef for velocity-calculating functions.

◆ XFunc

using TimeIntegrationFuncs::XFunc = void (*)(ParticleContainer &, double, double, CellContainer *, bool)

Typedef for position-calculating functions.

Constructor & Destructor Documentation

◆ TimeIntegrationFuncs()

TimeIntegrationFuncs::TimeIntegrationFuncs ( SimulationType  type,
bool  lc 
)
explicit

Constructor for choosing the appropriate functions based on the simulation type.

Parameters
typeThe simulation type.
lcWhether or not the linked cells method is used.

Member Data Documentation

◆ vf

VFunc TimeIntegrationFuncs::vf

Typedef for velocity-calculating functions for the linked cell method.

The velocity-calculating function.

◆ xf

XFunc TimeIntegrationFuncs::xf

The position-calculating function.


The documentation for this struct was generated from the following file: