193 periodicWallsWithSlidingFrictionUnitTest.
setName(
"PeriodicWallsWithSlidingFrictionUnitTest");
194 periodicWallsWithSlidingFrictionUnitTest.
solve();
201 shift =
Vec3D(-0.58, -0.4, 0.0);
204 logger(
FATAL,
"E0 The particle is in the wrong position. It is %, however is should be %",
209 logger(
FATAL,
"E1 The particle has the wrong velocity. It is %, however is should be %", pCase1->
getVelocity(),
213 shift =
Vec3D(0.0, -0.779, 0.0);
216 logger(
FATAL,
"E2 The particle is in the wrong position. It is %, however is should be %",
221 logger(
FATAL,
"E3 The particle has the wrong velocity. It is %, however is should be %", pCase2->
getVelocity(),
229 shift =
Vec3D(1.0 - 0.58, -0.4, 0.0);
232 logger(
FATAL,
"E4 The particle is in the wrong position. It is %, however is should be %",
237 logger(
FATAL,
"E5 The particle has the wrong velocity. It is %, however is should be %", pCase1->
getVelocity(),
241 shift =
Vec3D(0.0, 1.0 - 0.779, 0.0);
244 logger(
FATAL,
"E6 The particle is in the wrong position. It is %, however is should be %",
249 logger(
FATAL,
"E7 The particle has the wrong velocity. It is %, however is should be %", pCase2->
getVelocity(),
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:52
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:613
virtual const Vec3D & getVelocity() const
Returns the velocity of this interactable.
Definition: BaseInteractable.cc:329
const Vec3D & getPosition() const
Returns the position of this BaseInteractable.
Definition: BaseInteractable.h:218
Definition: BaseParticle.h:54
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:422
ParticleHandler particleHandler
An object of the class ParticleHandler, contains the pointers to all the particles created.
Definition: DPMBase.h:1437
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
Definition: PeriodicWallsWithSlidingFrictionUnitTest.cpp:37
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:294