inflowFromPeriodic_restart.cpp File Reference

Functions

int main (int, char **)
 

Function Documentation

◆ main()

int main ( int  ,
char **   
)
29 {
30  string s = "../inflowFromPeriodic/snapshot";
31  inflowFromPeriodic problem(s);
32  problem.setTimeMax(problem.getTime()+.5);
33  problem.setSaveCount(10);
34  problem.setXBallsAdditionalArguments("-v0 -solidf");
35  problem.write(std::cout,false);
36  problem.restartFile.setFileType(FileType::NO_FILE);
37  problem.dataFile.setFileType(FileType::ONE_FILE);
38  problem.fStatFile.setFileType(FileType::ONE_FILE);
39  problem.solve();
40 }
@ NO_FILE
file will not be created/read
@ ONE_FILE
all data will be written into/ read from a single file called name_
Definition: inflowFromPeriodic.h:29

References DPMBase::dataFile, DPMBase::fStatFile, DPMBase::getTime(), NO_FILE, ONE_FILE, DPMBase::restartFile, File::setFileType(), DPMBase::setSaveCount(), DPMBase::setTimeMax(), DPMBase::setXBallsAdditionalArguments(), DPMBase::solve(), and Chute::write().