220 problem0.
setName(
"MovingWallUnitTest_Normal_Reference");
223 problem1.
setName(
"MovingWallUnitTest_Normal_SimpleIntegration");
226 problem2.
setName(
"MovingWallUnitTest_Normal_PrescribedPosition");
229 problem3.
setName(
"MovingWallUnitTest_Normal_PrescribedVelocity");
232 problem4.
setName(
"MovingWallUnitTest_Normal_PrescribedPositionPrescribedVelocity");
236 Vec3D velocityDifference =
Vec3D(0.0, 0.0, 1.0);
238 Vec3D angularVelocityDifference =
Vec3D(0.0, 0.0, 0.0);
246 problem5.
setName(
"MovingWallUnitTest_Tangential_Reference");
249 problem6.
setName(
"MovingWallUnitTest_Tangential_SimpleIntegration");
252 problem7.
setName(
"MovingWallUnitTest_Tangential_PrescribedPosition");
255 problem8.
setName(
"MovingWallUnitTest_Tangential_PrescribedVelocity");
258 problem9.
setName(
"MovingWallUnitTest_Tangential_PrescribedPositionPrescribedVelocity");
262 Vec3D velocityDifference =
Vec3D(1.0, 0.0, 0.0);
264 Vec3D angularVelocityDifference =
Vec3D(0.0, 0.0, 0.0);
Array< double, 1, 3 > e(1./3., 0.5, 2.)
void compareParticles(BaseParticle *Ptest, BaseParticle *Pref, double absError, Vec3D positionDifference, Vec3D velocityDifference, Quaternion orientationDifference, Vec3D AngularVelocityDifference)
Definition: MovingWallUnitTest.cpp:195
T * getLastObject()
Gets a pointer to the last Object in this BaseHandler.
Definition: BaseHandler.h:642
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:400
Mdouble getTime() const
Returns the current simulation time.
Definition: DPMBase.cc:799
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: MovingWallUnitTest.cpp:107
Definition: MovingWallUnitTest.cpp:83
Definition: MovingWallUnitTest.cpp:94
In the reference case the particle just moves two times as fast.
Definition: MovingWallUnitTest.cpp:64
Definition: MovingWallUnitTest.cpp:74
Definition: MovingWallUnitTest.cpp:181
Definition: MovingWallUnitTest.cpp:157
Definition: MovingWallUnitTest.cpp:168
In the reference case the particle just moves two times as fast.
Definition: MovingWallUnitTest.cpp:138
Definition: MovingWallUnitTest.cpp:148
This class contains the 4 components of a quaternion and the standard operators and functions needed ...
Definition: Kernel/Math/Quaternion.h:42
Definition: Kernel/Math/Vector.h:30