EllipsoidSelfTest.cpp File Reference

Classes

class  EllipticalSuperQuadricCollision
 

Functions

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

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)
82 {
84  problem.setName("EllipsoidSelfTest");
85  problem.setSaveCount(50);
86  // comment the next to lines to turn on file output
90  problem.solve();
91  return 0;
92 }
@ NO_FILE
file will not be created/read
@ ONE_FILE
all data will be written into/ read from a single file called name_
void setSaveCount(unsigned int saveCount)
Sets File::saveCount_ for all files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:408
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:422
void setFileType(FileType fileType)
Sets File::fileType_ for all files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:459
File restartFile
An instance of class File to handle in- and output into a .restart file.
Definition: DPMBase.h:1493
void setSuperquadricParticlesWriteVTK(bool writeSuperquadricParticlesVTK)
Definition: DPMBase.cc:956
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
Definition: EllipsoidSelfTest.cpp:32
void setFileType(FileType fileType)
Sets the type of file needed to write into or read from. File::fileType_.
Definition: File.cc:215

References NO_FILE, ONE_FILE, DPMBase::restartFile, DPMBase::setFileType(), File::setFileType(), DPMBase::setName(), DPMBase::setSaveCount(), DPMBase::setSuperquadricParticlesWriteVTK(), and DPMBase::solve().