69 std::
string getName() const final;
81 void write(std::ostream& os) const;
Base class of all CG objects, needed to store the various CG objects in the CGHandler.
Definition: BaseCG.h:36
Container to store the pointers to all objects that one creates in a simulation.
Definition: BaseHandler.h:30
Container that stores all CG objects.
Definition: CGHandler.h:45
unsigned initialFileCounter
Definition: CGHandler.h:163
void computeContactPoints()
Definition: CGHandler.cc:179
void evaluate()
Contains the code executed at each time step.
Definition: CGHandler.cc:77
CGHandler()=default
Default constructor, creates an empty CGHandler.
void finish()
Contains the code executed after the last time step.
Definition: CGHandler.cc:96
Mdouble getTimeMin()
Definition: CGHandler.cc:376
void restartAndEvaluateDataFiles(const std::string &name, bool evaluateFStatFiles=true)
Definition: CGHandler.cc:173
void handlePreviousInformation()
Sets data from the current time step as data from the previous time step.
Definition: CGHandler.cc:409
void restartAndEvaluateRestartFiles(const std::string &name)
Definition: CGHandler.cc:167
Mdouble getPreviousEvaluationTime()
Returns the time of the last read/evaluated time step.
Definition: CGHandler.h:132
Mdouble getTimeMax()
Definition: CGHandler.cc:386
void write(std::ostream &os) const
Writes objects into the CGHandler to an ostream (currently not implemented).
Definition: CGHandler.cc:65
bool evaluateDataFiles(bool evaluateFStatFiles=true)
does the same as StatisticsVector::statistics_from_fstat_and_data: loads a restart file (if existing)...
Definition: CGHandler.cc:307
void setPreviousEvaluationTimeToCurrentTime()
Sets the previous evaluation time to the current time.
Definition: CGHandler.cc:396
std::string getName() const final
Definition: CGHandler.cc:55
void setPreviousPositionToCurrentPosition()
Sets the previous position for every particle to its current position.
Definition: CGHandler.cc:401
bool evaluateRestartFiles()
Definition: CGHandler.cc:232
void addObject(BaseCG *cg) final
Definition: CGHandler.cc:44
void initialise()
Contains the code executed before the first time step.
Definition: CGHandler.cc:70
void readAndAddObject(std::istream &is) final
Reads objects into the CGHandler from an istream (currently not implemented).
Definition: CGHandler.cc:60
void setInitialFileCounter(unsigned initialFileCounter)
Definition: CGHandler.h:121
void setPreviousEvaluationTime(Mdouble time)
Sets the time of the last read/evaluated time step to a specified time.
Definition: CGHandler.h:137
CGHandler & operator=(const CGHandler &rhs)
Assignment operator that copies the pointer to the DPMBase and all objects.
Definition: CGHandler.cc:27
Mdouble previousEvaluationTime_
Saves the time of the last read/evaluated data/restartFile.
Definition: CGHandler.h:171
unsigned getInitialFileCounter() const
Definition: CGHandler.h:125
~CGHandler() final=default
Destructor, destructs the CGHandler and all BaseCGPoint's it contains.
The DPMBase header includes quite a few header files, defining all the handlers, which are essential....
Definition: DPMBase.h:56
Definition: restart2.cpp:8
default
Definition: calibrate.py:45
string name
Definition: plotDoE.py:33