241 problem0.
setName(
"MovingWallUnitTest_Normal_Reference");
244 problem1.
setName(
"MovingWallUnitTest_Normal_SimpleIntegration");
247 problem2.
setName(
"MovingWallUnitTest_Normal_PrescribedPosition");
250 problem3.
setName(
"MovingWallUnitTest_Normal_PrescribedVelocity");
253 problem4.
setName(
"MovingWallUnitTest_Normal_PrescribedPositionPrescribedVelocity");
257 Vec3D velocityDifference =
Vec3D(0.0, 0.0, 1.0);
259 Vec3D angularVelocityDifference =
Vec3D(0.0, 0.0, 0.0);
267 problem5.
setName(
"MovingWallUnitTest_Tangential_Reference");
270 problem6.
setName(
"MovingWallUnitTest_Tangential_SimpleIntegration");
273 problem7.
setName(
"MovingWallUnitTest_Tangential_PrescribedPosition");
276 problem8.
setName(
"MovingWallUnitTest_Tangential_PrescribedVelocity");
279 problem9.
setName(
"MovingWallUnitTest_Tangential_PrescribedPositionPrescribedVelocity");
283 Vec3D velocityDifference =
Vec3D(1.0, 0.0, 0.0);
285 Vec3D angularVelocityDifference =
Vec3D(0.0, 0.0, 0.0);
void compareParticles(BaseParticle *Ptest, BaseParticle *Pref, double absError, Vec3D positionDifference, Vec3D velocityDifference, Quaternion orientationDifference, Vec3D AngularVelocityDifference)
Definition: MovingWallUnitTest.cpp:216
T * getLastObject()
Gets a pointer to the last Object in this BaseHandler.
Definition: BaseHandler.h:634
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:422
Mdouble getTime() const
Returns the current simulation time.
Definition: DPMBase.cc:808
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: MovingWallUnitTest.cpp:128
Definition: MovingWallUnitTest.cpp:104
Definition: MovingWallUnitTest.cpp:115
In the reference case the particle just moves two times as fast.
Definition: MovingWallUnitTest.cpp:85
Definition: MovingWallUnitTest.cpp:95
Definition: MovingWallUnitTest.cpp:202
Definition: MovingWallUnitTest.cpp:178
Definition: MovingWallUnitTest.cpp:189
In the reference case the particle just moves two times as fast.
Definition: MovingWallUnitTest.cpp:159
Definition: MovingWallUnitTest.cpp:169
This class contains the 4 components of a quaternion and the standard operators and functions needed ...
Definition: Quaternion.h:63