173 periodicWallsWithSlidingFrictionUnitTest.
setName(
"PeriodicWallsWithSlidingFrictionUnitTest");
174 periodicWallsWithSlidingFrictionUnitTest.
solve();
181 shift =
Vec3D(-0.58, -0.4, 0.0);
184 logger(
FATAL,
"E0 The particle is in the wrong position. It is %, however is should be %",
189 logger(
FATAL,
"E1 The particle has the wrong velocity. It is %, however is should be %", pCase1->
getVelocity(),
193 shift =
Vec3D(0.0, -0.779, 0.0);
196 logger(
FATAL,
"E2 The particle is in the wrong position. It is %, however is should be %",
201 logger(
FATAL,
"E3 The particle has the wrong velocity. It is %, however is should be %", pCase2->
getVelocity(),
209 shift =
Vec3D(1.0 - 0.58, -0.4, 0.0);
212 logger(
FATAL,
"E4 The particle is in the wrong position. It is %, however is should be %",
217 logger(
FATAL,
"E5 The particle has the wrong velocity. It is %, however is should be %", pCase1->
getVelocity(),
221 shift =
Vec3D(0.0, 1.0 - 0.779, 0.0);
224 logger(
FATAL,
"E6 The particle is in the wrong position. It is %, however is should be %",
229 logger(
FATAL,
"E7 The particle has the wrong velocity. It is %, however is should be %", pCase2->
getVelocity(),
Array< double, 1, 3 > e(1./3., 0.5, 2.)
LL< Log::FATAL > FATAL
Definition of the different loglevels by its wrapper class LL. These are used as tags in template met...
Definition: Logger.cc:31
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
T * getObject(const unsigned int id)
Gets a pointer to the Object at the specified index in the BaseHandler.
Definition: BaseHandler.h:621
virtual const Vec3D & getVelocity() const
Returns the velocity of this interactable.
Definition: BaseInteractable.cc:307
const Vec3D & getPosition() const
Returns the position of this BaseInteractable.
Definition: BaseInteractable.h:197
Definition: BaseParticle.h:33
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:400
ParticleHandler particleHandler
An object of the class ParticleHandler, contains the pointers to all the particles created.
Definition: DPMBase.h:1443
void solve()
The work horse of the code.
Definition: DPMBase.cc:4334
Definition: PeriodicWallsWithSlidingFrictionUnitTest.cpp:17
Definition: Kernel/Math/Vector.h:30
bool isEqualTo(const Vec3D &other, double tol) const
Checks if the length this Vec3D is equal the length of other with a certain tolerance.
Definition: Vector.cc:313