117 twoParticleElasticCollisionInteractionProblem.
setName(
"TwoParticleElasticCollisionInteractionwithLiquidMigrationLSSelfTest");
118 twoParticleElasticCollisionInteractionProblem.
radius = 0.0002;
120 twoParticleElasticCollisionInteractionProblem.
setTimeMax(0.05);
121 twoParticleElasticCollisionInteractionProblem.
setSaveCount(10);
122 twoParticleElasticCollisionInteractionProblem.
setTimeStep(1e-5);
129 twoParticleElasticCollisionInteractionProblem.
solve();
@ 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:408
File fStatFile
An instance of class File to handle in- and output into a .fstat file.
Definition: DPMBase.h:1483
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:422
WallHandler wallHandler
An object of the class WallHandler. Contains pointers to all the walls created.
Definition: DPMBase.h:1447
File & getInteractionFile()
Return a reference to the file InteractionsFile.
Definition: DPMBase.cc:345
InteractionHandler interactionHandler
An object of the class InteractionHandler.
Definition: DPMBase.h:1467
void setParticlesWriteVTK(bool writeParticlesVTK)
Sets whether particles are written in a VTK file.
Definition: DPMBase.cc:942
void setTimeStep(Mdouble newDt)
Sets a new value for the simulation time step.
Definition: DPMBase.cc:1234
void setTimeMax(Mdouble newTMax)
Sets a new value for the maximum simulation duration.
Definition: DPMBase.cc:873
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
void setFileType(FileType fileType)
Sets the type of file needed to write into or read from. File::fileType_.
Definition: File.cc:215
void setWriteVTK(FileType f)
Definition: InteractionHandler.cc:549
In this file two particles are symmetrically placed in a bi-axial box are allowed to jump around unde...
Definition: TwoParticleElasticCollisionInteractionSelfTest.cpp:34
double radius
Definition: TwoParticleElasticCollisionInteractionWithLiquidMigrationLSSelfTest.cpp:37
void setWriteVTK(FileType)
Sets whether walls are written into a VTK file.
Definition: WallHandler.cc:467