134 normal.setName(
"FullRestartSelfTest");
135 normal.setupInitialConditions();
136 normal.writeRestartFile();
138 normal.setName(
"FullRestartWithCounterSelfTest");
140 normal.writeRestartFile();
@ MULTIPLE_FILES
each time-step will be written into/read from separate files numbered consecutively: name_....
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:400
virtual void writeRestartFile()
Stores all the particle data for current save time step to a "restart" file, which is a file simply i...
Definition: DPMBase.cc:2979
bool readRestartFile(ReadOptions opt=ReadOptions::ReadAll)
Reads all the particle data corresponding to a given, existing . restart file (for more details regar...
Definition: DPMBase.cc:3043
Definition: FullRestartSelfTest.cpp:27
void write(std::ostream &os, bool writeAllParticles=true) const override
Writes all data into a restart file.
Definition: MercuryBase.cc:126
Definition: restart2.cpp:8
#define INFO(i)
Definition: mumps_solver.h:54
void normal(const Vector< double > &x, Vector< double > &normal)
Definition: free_surface_rotation.cc:65