6#include "plugins/PluginBase.h"
119 std::map<unsigned, CavityEnsemble *> getMcav() {
return _mcav; }
123 unsigned long _writeFrequency;
124 bool _appendTimestamp;
126 int _Nx = 0, _Ny = 0, _Nz = 0;
127 int _maxNeighbors = 0;
128 float _radius = 0.0f;
129 std::map<unsigned, CavityEnsemble *> _mcav;
130 double _controlVolume[6];
Definition: CavityEnsemble.h:20
IO-plugin: Used to create instances of CavityEnsemble and output the corresponding files containing t...
Definition: CavityWriter.h:13
void endStep(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, Domain *domain, unsigned long simstep) final
Output the sampled cavity information from all ensembles to file.
Definition: CavityWriter.cpp:176
void afterForces(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, unsigned long simstep) final
Method afterForces will be called after forcefields have been applied no sitewise Forces can be appli...
Definition: CavityWriter.cpp:160
CavityWriter()=default
Initialisation of all necessary field is done in readXML and init.
void finish(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, Domain *domain)
Nothing done here. Necessary for inheritance from PluginBase.
Definition: CavityWriter.cpp:239
std::string getPluginName() final
return the name of the plugin
Definition: CavityWriter.h:113
void readXML(XMLfileUnits &xmlconfig) final
reads in parameters for CavityEnsemble and output writefrequency: output timestep frequency AFTER i...
Definition: CavityWriter.cpp:18
void init(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, Domain *domain) final
Set all necessary variables for each CavityEnsemble. One is used per Component. Ensembles are assigne...
Definition: CavityWriter.cpp:113
void beforeEventNewTimestep(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, unsigned long simstep) final
Method will be called first thing in a new timestep. If the writeFrequency is reached and this is the...
Definition: CavityWriter.cpp:148
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
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