SeparateFilesUnitTest.cpp File Reference
#include "DPMBase.h"
#include "Particles/SphericalParticle.h"
#include <iostream>
#include <Species/LinearViscoelasticSpecies.h>

Classes

class  SeparateFilesSelfTest
 

Functions

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

Function Documentation

◆ main()

int main ( int argc  UNUSED,
char *argv[]  UNUSED 
)
68 {
69  SeparateFilesSelfTest problem;
70 
71  problem.setName("NoFiles");
73  problem.solve();
74 
75  problem.setName("CombinedFiles");
77  problem.solve();
78 
79  problem.setName("SeparateFiles");
81  problem.solve();
82 }
@ MULTIPLE_FILES_PADDED
each time-step will be written into/read from separate files numbered consecutively,...
@ NO_FILE
file will not be created/read
@ ONE_FILE
all data will be written into/ read from a single file called name_
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
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
Definition: SeparateFilesUnitTest.cpp:31

References MULTIPLE_FILES_PADDED, NO_FILE, ONE_FILE, DPMBase::setFileType(), DPMBase::setName(), and DPMBase::solve().