5 #ifndef TimeAveragedCG_H
6 #define TimeAveragedCG_H
67 void write(std::ostream& os)
const override;
@ O
Definition: StatisticsVector.h:21
float * p
Definition: Tutorial_Map_using.cpp:9
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:39
Definition: BaseParticle.h:33
Contains the computed field values, like density, momentum and stress.
Definition: StandardFields.h:33
A specialisation of Polynomials for PolynomialType::Lucy. See Polynomial for details.
Definition: Lucy.h:19
Evaluates time-resolved continuum fields and writes the data into a stat file.
Definition: CG.h:55
Template argument; use a member class of CGCoordinates to instantiate.
The DPMBase header includes quite a few header files, defining all the handlers, which are essential....
Definition: DPMBase.h:56
Template argument; use a member class of CGFunctions to instantiate.
Specialisation of TimeAveragedCG with coordinates XYZ used for LebedevCG.
Definition: TimeAveragedCG.h:110
TimeAveragedCGXYZ< BaseFunction, Fields > * copy() const override
Copy.
virtual ~TimeAveragedCGXYZ()
Destructor, it simply destructs the TimeAveragedCGFunction and all the objects it contains.
TimeAveragedCGXYZ(const TimeAveragedCGXYZ &p)
Copy constructor. It copies the TimeAveragedCGFunction and all objects it contains.
TimeAveragedCGXYZ()
Default constructor.
Evaluates time-averaged continuum fields and writes the data into a stat file.
Definition: TimeAveragedCG.h:39
void evaluate() override
Called after a given number of time steps (statFile::saveCount_) to evaluate the CG fields.
void initialise() override
Called at the beginning of the DPM simulation to initialise the cg evaluation and to open the statFil...
BaseFunction< Coordinates > Function
Definition: TimeAveragedCG.h:41
TimeAveragedCG< Coordinates, BaseFunction, Fields > * copy() const override
Copy operator. Required for BaseHandler::copyAndAddObject.
void finish() override
Called at the end of the DPM simulation to finish the cg evaluation and to close the statFile.
TimeAveragedCG()
Default constructor.
std::string getName() const override
A purely virtual function.
void write(std::ostream &os) const override
Writes class content into an output stream, usually a stat file.
unsigned int nTime_
Definition: TimeAveragedCG.h:100
virtual ~TimeAveragedCG()=default
Destructor, it simply destructs the TimeAveragedCGFunction and all the objects it contains.
TimeAveragedCG(const TimeAveragedCG &p)=default
Copy constructor. It copies the TimeAveragedCGFunction and all objects it contains.
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286