8#ifndef SRC_IO_FLOPRATEWRITER_H_
9#define SRC_IO_FLOPRATEWRITER_H_
11#include "plugins/PluginBase.h"
36 unsigned long simstep);
46 Domain *domain,
unsigned long simstep
65 void setPrefix(
double f_in,
double& f_out,
char& prefix)
const;
68 bool _writeToStdout, _writeToFile;
69 std::ofstream _fileStream;
70 unsigned long _writeFrequency;
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: FlopCounter.h:60
Definition: FlopRateWriter.h:17
void endStep(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, Domain *domain, unsigned long simstep)
will be called in each time step
Definition: FlopRateWriter.cpp:71
void finish(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, Domain *domain)
will be called at the end of the simulation
Definition: FlopRateWriter.cpp:114
std::string getPluginName()
return the name of the plugin
Definition: FlopRateWriter.h:57
void afterForces(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, unsigned long simstep)
will be called after forces have been applied and exchanged
Definition: FlopRateWriter.cpp:65
void init(ParticleContainer *particleContainer, DomainDecompBase *domainDecomp, Domain *domain)
will be called at the beginning of the simulation
Definition: FlopRateWriter.cpp:48
void readXML(XMLfileUnits &)
Method readXML will be called once for each plugin section in the input file.
Definition: FlopRateWriter.cpp:15
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
PluginBase()
Subclasses should use their constructur to pass parameters (e.g. filenames)
Definition: PluginBase.h:50
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