33 "restart_version 1.0 name Tutorial10MPI\n"
34 "dataFile fileType ONE_FILE saveCount 10 counter 0 nextSavedTimeStep 0\n"
35 "fStatFile fileType NO_FILE saveCount 10 counter 0 nextSavedTimeStep 0\n"
36 "eneFile fileType ONE_FILE saveCount 10 counter 0 nextSavedTimeStep 0\n"
37 "restartFile fileType ONE_FILE saveCount 10 counter 0 nextSavedTimeStep 0\n"
38 "statFile fileType ONE_FILE saveCount 10 counter 0 nextSavedTimeStep 0\n"
39 "xMin 0 xMax 2 yMin 0 yMax 2 zMin 0 zMax 2\n"
40 "timeStep 1e-03 time 0 ntimeSteps 0 timeMax 10\n"
41 "systemDimensions 3 particleDimensions 3 gravity 0 0 -1\n"
43 "LinearViscoelasticSpecies id 0 density 1.9098593 stiffness 2000 dissipation 1\n"
45 "InfiniteWall id 0 indSpecies 0 position 0 0 0 orientation 0 0 0 1 velocity 0 0 0 angularVelocity 0 0 0 0 force 0 0 0 torque 0 0 0 normal 0 0 -1 factor 1\n"
53 "1 1 1.5 0 0 0 0.5 0 0 0 0 0 0 0\n"
void setNumberOfDomains(std::vector< unsigned > direction)
Sets the number of domains in x-,y- and z-direction. Required for parallel computations.
Definition: DPMBase.cc:5302
void setRestarted(bool newRestartedFlag)
Allows to set the flag stating if the simulation is to be restarted or not.
Definition: DPMBase.cc:1492
void solve()
The work horse of the code.
Definition: DPMBase.cc:4334
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
In this file a cubic packing of 5^3 particles in a tri-axial box is created and allowed to settle und...
Definition: HGridUpdateUnitTest.cpp:9
bool writeToFile(const std::string &filename, const std::string &filecontent)
Writes a string to a file.
Definition: FileIOHelpers.cc:29