MercuryLogo.cpp File Reference

Classes

class  MercuryLogo
 

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )
318 {
319  MercuryLogo logo;
321  logo.setName("MercuryLogo");
322  logo.setZMax(45.0);
323  logo.setYMax(5.0);
324  logo.setXMax(20.0);
325  logo.setSystemDimensions(3);
326  logo.setTimeStep(logo.tc * 0.02);
327  logo.setTimeMax(1.0);
328  logo.setGravity(Vec3D(0.0, 0.0, 0.0));
329 
330  logo.setSaveCount(100);
332  logo.setXBallsAdditionalArguments("-solidf -v0");
333  logo.solve();
334  return 0;
335 }
@ 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
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:400
void setYMax(Mdouble newYMax)
Sets the value of YMax, the upper bound of the problem domain in the y-direction.
Definition: DPMBase.cc:1182
void setFileType(FileType fileType)
Sets File::fileType_ for all files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:437
void setXBallsAdditionalArguments(std::string newXBArgs)
Set the additional arguments for xballs.
Definition: DPMBase.cc:1338
void setXMax(Mdouble newXMax)
Sets the value of XMax, the upper bound of the problem domain in the x-direction.
Definition: DPMBase.cc:1156
void setZMax(Mdouble newZMax)
Sets the value of ZMax, the upper bound of the problem domain in the z-direction.
Definition: DPMBase.cc:1208
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 setSystemDimensions(unsigned int newDim)
Sets the system dimensionality.
Definition: DPMBase.cc:1408
void solve()
The work horse of the code.
Definition: DPMBase.cc:4334
void setGravity(Vec3D newGravity)
Sets a new value for the gravitational acceleration.
Definition: DPMBase.cc:1374
Definition: MercuryLogo.cpp:12
unsigned int numberOfParticlesToBeInserted
Definition: MercuryLogo.cpp:313
const double tc
Definition: MercuryLogo.cpp:314
Definition: Kernel/Math/Vector.h:30

References MercuryLogo::numberOfParticlesToBeInserted, ONE_FILE, DPMBase::setFileType(), DPMBase::setGravity(), DPMBase::setName(), DPMBase::setSaveCount(), DPMBase::setSystemDimensions(), DPMBase::setTimeMax(), DPMBase::setTimeStep(), DPMBase::setXBallsAdditionalArguments(), DPMBase::setXMax(), DPMBase::setYMax(), DPMBase::setZMax(), DPMBase::solve(), and MercuryLogo::tc.