|
void | init (ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, Domain *domain) |
| Method init will be called at the begin of the simulation. More...
|
|
void | readXML (XMLfileUnits &xmlconfig) |
| Method readXML will be called once for each plugin section in the input file. More...
|
|
void | beforeEventNewTimestep (ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, unsigned long simstep) |
| restarting takes place here More...
|
|
void | beforeForces (ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, unsigned long simstep) |
| Method beforeForces will be called before forcefields have been applied no alterations w.r.t. Forces shall be made here. More...
|
|
void | afterForces (ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, unsigned long simstep) |
| writing takes place here More...
|
|
void | endStep (ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, Domain *domain, unsigned long simstep) |
| Method endStep will be called at the end of each time step. More...
|
|
void | finish (ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, Domain *domain) |
| Method finish will be called at the end of the simulation. More...
|
|
std::string | getPluginName () |
| return the name of the plugin More...
|
|
| PluginBase () |
| Subclasses should use their constructur to pass parameters (e.g. filenames)
|
|
virtual void | siteWiseForces (ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, unsigned long simstep) |
| Method siteWiseForces will be called before forcefields have been applied alterations to sitewise forces and fullMolecule forces can be made here. More...
|
|
virtual void | registerCallbacks (std::map< std::string, FunctionWrapper > &callbackMap) |
|
virtual void | accessAllCallbacks (const std::map< std::string, FunctionWrapper > &callbackMap) |
|
◆ afterForces()
writing takes place here
Reimplemented from PluginBase.
◆ beforeEventNewTimestep()
restarting takes place here
Reimplemented from PluginBase.
◆ beforeForces()
Method beforeForces will be called before forcefields have been applied no alterations w.r.t. Forces shall be made here.
Reimplemented from PluginBase.
◆ endStep()
Method endStep will be called at the end of each time step.
This method will be called every time step passing the simstep as an additional parameter. It can be used e.g. to write per time step data to a file or perform additional computations.
- Parameters
-
particleContainer | particle container storing the (local) molecules |
domainDecomp | domain decomposition in use |
domain | |
Implements PluginBase.
◆ finish()
Method finish will be called at the end of the simulation.
This method will be called once at the end of the simulation. It can be used e.g. to closing output files or writing final statistics.
- Parameters
-
particleContainer | particle container storing the (local) molecules |
domainDecomp | domain decomposition in use |
domain | |
Implements PluginBase.
◆ getPluginName()
std::string InMemoryCheckpointing::getPluginName |
( |
| ) |
|
|
inlinevirtual |
return the name of the plugin
Implements PluginBase.
◆ init()
Method init will be called at the begin of the simulation.
This method will be called once at the begin of the simulation just right before the main time step loop. It can be used e.g. to open output files or initialize statistics.
- Parameters
-
particleContainer | particle container storing the (local) molecules |
domainDecomp | domain decomposition in use |
domain | |
Implements PluginBase.
◆ readXML()
void InMemoryCheckpointing::readXML |
( |
XMLfileUnits & |
xmlconfig | ) |
|
|
virtual |
Method readXML will be called once for each plugin section in the input file.
This method can be used to read in parameters from the corresponding plugin section in the xml config file. The method will be called once after an instance of the plugin is created.
- Note
- The same plugins may be specified multiple times in the xml config file. It is the responsibility of the plugin to handle this case in a propper way.
The following xml object structure will be provided to the plugin:
<plugin name="plugin name">
</plugin>
- Parameters
-
xmlconfig | section of the xml file |
Implements PluginBase.
The documentation for this class was generated from the following files: