8#ifndef SRC_PLUGINS_EXAMPLEPLUGIN_H_
9#define SRC_PLUGINS_EXAMPLEPLUGIN_H_
11#include "PluginBase.h"
20 enum class WhereToDisplay {
22 BEFORE_EVENT_NEW_TIMESTEP = 1,
56 Domain* domain,
unsigned long simstep);
69 unsigned long _writeFrequency;
70 WhereToDisplay _displaySelector;
handle boundary region and multiple processes
Definition: DomainDecompBase.h:51
This class is used to read in the phasespace and to handle macroscopic values.
Definition: Domain.h:47
Definition: ExamplePlugin.h:18
void endStep(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, Domain *domain, unsigned long simstep)
Method endStep will be called at the end of each time step.
Definition: ExamplePlugin.cpp:102
void readXML(XMLfileUnits &xmlconfig)
Method readXML will be called once for each plugin section in the input file.
Definition: ExamplePlugin.cpp:16
std::string getPluginName()
return the name of the plugin
Definition: ExamplePlugin.h:61
void finish(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, Domain *domain)
Method finish will be called at the end of the simulation.
Definition: ExamplePlugin.cpp:111
void afterForces(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, unsigned long simstep)
Method afterForces will be called after forcefields have been applied no sitewise Forces can be appli...
Definition: ExamplePlugin.cpp:93
void beforeForces(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, unsigned long simstep)
Method beforeForces will be called before forcefields have been applied no alterations w....
Definition: ExamplePlugin.cpp:84
void init(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, Domain *domain)
Method init will be called at the begin of the simulation.
Definition: ExamplePlugin.cpp:66
void beforeEventNewTimestep(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, unsigned long simstep)
Method will be called first thing in a new timestep.
Definition: ExamplePlugin.cpp:74
This Interface is used to get access to particles and pairs of particles.
Definition: ParticleContainer.h:69
The PluginBase class provides the interface for any kind of output/plugin classes - called "(output) ...
Definition: PluginBase.h:47
XML file with unit attributes abstraction.
Definition: xmlfileUnits.h:25
::xsd::cxx::tree::string< char, simple_type > string
C++ type corresponding to the string XML Schema built-in type.
Definition: vtk-punstructured.h:270