96 twoParticleElasticCollisionInteractionProblem.
setName(
"TwoParticleElasticCollisionInteractionwithLiquidMigrationLSSelfTest");
97 twoParticleElasticCollisionInteractionProblem.
radius = 0.0002;
99 twoParticleElasticCollisionInteractionProblem.
setTimeMax(0.05);
100 twoParticleElasticCollisionInteractionProblem.
setSaveCount(10);
101 twoParticleElasticCollisionInteractionProblem.
setTimeStep(1
e-5);
108 twoParticleElasticCollisionInteractionProblem.
solve();
Array< double, 1, 3 > e(1./3., 0.5, 2.)
@ ONE_FILE
all data will be written into/ read from a single file called name_
void setSaveCount(unsigned int saveCount)
Sets File::saveCount_ for all files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:386
File fStatFile
An instance of class File to handle in- and output into a .fstat file.
Definition: DPMBase.h:1489
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:400
WallHandler wallHandler
An object of the class WallHandler. Contains pointers to all the walls created.
Definition: DPMBase.h:1453
File & getInteractionFile()
Return a reference to the file InteractionsFile.
Definition: DPMBase.cc:323
InteractionHandler interactionHandler
An object of the class InteractionHandler.
Definition: DPMBase.h:1473
void setParticlesWriteVTK(bool writeParticlesVTK)
Sets whether particles are written in a VTK file.
Definition: DPMBase.cc:933
void setTimeStep(Mdouble newDt)
Sets a new value for the simulation time step.
Definition: DPMBase.cc:1225
void setTimeMax(Mdouble newTMax)
Sets a new value for the maximum simulation duration.
Definition: DPMBase.cc:864
void solve()
The work horse of the code.
Definition: DPMBase.cc:4334
void setFileType(FileType fileType)
Sets the type of file needed to write into or read from. File::fileType_.
Definition: File.cc:193
void setWriteVTK(FileType f)
Definition: InteractionHandler.cc:529
In this file two particles are symmetrically placed in a bi-axial box are allowed to jump around unde...
Definition: TwoParticleElasticCollisionInteractionSelfTest.cpp:13
double radius
Definition: TwoParticleElasticCollisionInteractionWithLiquidMigrationLSSelfTest.cpp:16
void setWriteVTK(FileType)
Sets whether walls are written into a VTK file.
Definition: WallHandler.cc:445