BouncingSuperQuadricSelfTest.cpp File Reference

Classes

class  BouncingSuperQuadric
 

Functions

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

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)
104 {
105  BouncingSuperQuadric problem;
106  // comment next line to turn on file output
108  problem.setMax(2,2,2);
109  problem.setMin(0,0,1);
111  problem.test();
112  return 0;
113 }
@ NO_FILE
file will not be created/read
#define NUMBER_OF_PROCESSORS
For the MPI communication routines this quantity is often required. defining this macro makes the cod...
Definition: GeneralDefine.h:62
Definition: BouncingSuperQuadricSelfTest.cpp:34
void test()
Definition: BouncingSuperQuadricSelfTest.cpp:93
void setNumberOfDomains(std::vector< unsigned > direction)
Sets the number of domains in x-,y- and z-direction. Required for parallel computations.
Definition: DPMBase.cc:5213
void setFileType(FileType fileType)
Sets File::fileType_ for all files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:459
void setMin(const Vec3D &min)
Sets the minimum coordinates of the problem domain.
Definition: DPMBase.cc:1118
void setMax(const Vec3D &max)
Sets the maximum coordinates of the problem domain.
Definition: DPMBase.cc:1082

References NO_FILE, NUMBER_OF_PROCESSORS, DPMBase::setFileType(), DPMBase::setMax(), DPMBase::setMin(), DPMBase::setNumberOfDomains(), and BouncingSuperQuadric::test().