AngledPeriodicBoundaryUnitTest.cpp File Reference

Classes

class  AngledPeriodicBoundaryUnitTest
 

Functions

int main (int argc UNUSED, char *argv[] UNUSED)
 

Function Documentation

◆ main()

int main ( int argc  UNUSED,
char *argv[]  UNUSED 
)
85 {
87  dpm.setName("AngledPeriodicBoundaryUnitTest");
88  dpm.setTimeMax(4.0*constants::pi);
89  dpm.setTimeMax(9.5*dpm.getTimeStep());
90  dpm.setXMin(0);
91  dpm.setXMax( 5);
92  dpm.setYMin(0);
93  dpm.setYMax( 5);
94  dpm.setZMin(0);
95  dpm.setZMax( 5);
96  dpm.setGravity({0,0,0});
97  dpm.solve(argc, argv);
98 
99  //Note:: currently the rolling spring is not conserved!!
100  return 0;
101 }
Definition: AngledPeriodicBoundaryUnitTest.cpp:17
void setYMin(Mdouble newYMin)
Sets the value of YMin, the lower bound of the problem domain in the y-direction.
Definition: DPMBase.cc:1025
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 getTimeStep() const
Returns the simulation time step.
Definition: DPMBase.cc:1241
void setYMax(Mdouble newYMax)
Sets the value of YMax, the upper bound of the problem domain in the y-direction.
Definition: DPMBase.cc:1182
void setZMin(Mdouble newZMin)
Sets the value of ZMin, the lower bound of the problem domain in the z-direction.
Definition: DPMBase.cc:1049
void setXMax(Mdouble newXMax)
Sets the value of XMax, the upper bound of the problem domain in the x-direction.
Definition: DPMBase.cc:1156
void setZMax(Mdouble newZMax)
Sets the value of ZMax, the upper bound of the problem domain in the z-direction.
Definition: DPMBase.cc:1208
void setTimeMax(Mdouble newTMax)
Sets a new value for the maximum simulation duration.
Definition: DPMBase.cc:864
void solve()
The work horse of the code.
Definition: DPMBase.cc:4334
void setXMin(Mdouble newXMin)
Sets the value of XMin, the lower bound of the problem domain in the x-direction.
Definition: DPMBase.cc:1001
void setGravity(Vec3D newGravity)
Sets a new value for the gravitational acceleration.
Definition: DPMBase.cc:1374
const Mdouble pi
Definition: ExtendedMath.h:23

References DPMBase::getTimeStep(), constants::pi, DPMBase::setGravity(), DPMBase::setName(), DPMBase::setTimeMax(), DPMBase::setXMax(), DPMBase::setXMin(), DPMBase::setYMax(), DPMBase::setYMin(), DPMBase::setZMax(), DPMBase::setZMin(), and DPMBase::solve().