25 #ifndef TimeAveragedCG_H
26 #define TimeAveragedCG_H
87 void write(std::ostream& os)
const override;
@ O
Definition: StatisticsVector.h:42
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:60
Definition: BaseParticle.h:54
Contains the computed field values, like density, momentum and stress.
Definition: StandardFields.h:51
A specialisation of Polynomials for PolynomialType::Lucy. See Polynomial for details.
Definition: Lucy.h:39
Evaluates time-resolved continuum fields and writes the data into a stat file.
Definition: CG.h:76
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:77
Template argument; use a member class of CGFunctions to instantiate.
Specialisation of TimeAveragedCG with coordinates XYZ used for LebedevCG.
Definition: TimeAveragedCG.h:130
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:59
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:61
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:120
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.