152 species->setDensity(1.0);
153 species->setDissipation(30.0);
154 species->setStiffness(1e6);
156 species->setSlidingFrictionCoefficient(0.6);
157 species->setSlidingStiffness(5e5);
158 species->setRollingFrictionCoefficient(0.0);
159 species->setRollingStiffness(5e5);
double Mdouble
Definition: GeneralDefine.h:34
int SAVECOUNT
Definition: Gomboc.cpp:37
Species< LinearViscoelasticNormalSpecies, FrictionSpecies > LinearViscoelasticFrictionSpecies
Definition: LinearViscoelasticFrictionSpecies.h:34
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
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 removeOldFiles() const
Definition: DPMBase.cc:4422
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 setHGridMaxLevels(unsigned int HGridMaxLevels)
Sets the maximum number of levels of the HGrid in this MercuryBase.
Definition: MercuryBase.cc:476
Definition: Domino.cpp:80
Mdouble getClumpMass()
Definition: Domino.cpp:99
void setClumpDamping(Mdouble damp)
Definition: Domino.cpp:95