87 problem.
setName(
"CubicPackingSelfTest");
95 species->setCollisionTimeAndRestitutionCoefficient(.01, .1, 1.);
104 stats.setCGWidth(.1);
105 stats.setSuperExact(
false);
106 stats.setCGShape(
"Gaussian");
107 stats.setCGTimeMin(problem.
getTimeMax() * .999999);
108 stats.setTimeMaxStat(1e20);
109 stats.setVerbosityLevel(0);
110 stats.statistics_from_fstat_and_data();
const unsigned n
Definition: CG3DPackingUnitTest.cpp:32
Species< LinearViscoelasticNormalSpecies > LinearViscoelasticSpecies
Definition: LinearViscoelasticSpecies.h:33
std::enable_if<!std::is_pointer< U >::value, U * >::type copyAndAddObject(const U &object)
Creates a copy of a Object and adds it to the BaseHandler.
Definition: BaseHandler.h:379
T * getObject(const unsigned int id)
Gets a pointer to the Object at the specified index in the BaseHandler.
Definition: BaseHandler.h:613
void setSaveCount(unsigned int saveCount)
Sets File::saveCount_ for all files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:408
SpeciesHandler speciesHandler
A handler to that stores the species type i.e. LinearViscoelasticSpecies, etc.
Definition: DPMBase.h:1427
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:422
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 setSystemDimensions(unsigned int newDim)
Sets the system dimensionality.
Definition: DPMBase.cc:1417
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
Mdouble getTimeMax() const
Returns the maximum simulation duration.
Definition: DPMBase.cc:888
void setGravity(Vec3D newGravity)
Sets a new value for the gravitational acceleration.
Definition: DPMBase.cc:1383
In this file a cubic packing of 5^3 particles in a tri-axial box is created and allowed to settle und...
Definition: CubicPackingSelfTest.cpp:37
int N
Definition: CubicPackingSelfTest.cpp:80
void setDensity(Mdouble density)
Definition: ParticleSpecies.cc:108
This class is used to extract statistical data from MD simulations.
Definition: StatisticsVector.h:62