ChuteWithPeriodicInflowAndContraction.cpp File Reference

Classes

class  ChuteWithPeriodicInflowAndContraction
 

Functions

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

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)
138 {
139  ChuteWithPeriodicInflowAndContraction problem("../ini/H10A28L2M0.5B0.5");
140  problem.setTimeMax(1e4);
141  //problem.setSaveCount(1./problem.getTimeStep());
142  problem.setSaveCount(5e3);
143  problem.setXBallsAdditionalArguments("-v0 -solidf -h 600 -w 1400 ");
144  //
145  problem.dataFile.setFileType(FileType::ONE_FILE);
146  problem.restartFile.setFileType(FileType::ONE_FILE);
147  problem.fStatFile.setFileType(FileType::ONE_FILE);
148  problem.eneFile.setFileType(FileType::ONE_FILE);
149  //problem.restartFile.setFileType(FileType::ONE_FILE);
150  //problem.dataFile.setFileType(FileType::ONE_FILE);
151  //problem.fStatFile.setFileType(FileType::NO_FILE);
152  //problem.eneFile.setFileType(FileType::ONE_FILE);
153  problem.solve(argc, argv);
154 }
@ ONE_FILE
all data will be written into/ read from a single file called name_
Definition: ChuteWithPeriodicInflowAndContraction.cpp:30

References DPMBase::dataFile, DPMBase::eneFile, DPMBase::fStatFile, ONE_FILE, DPMBase::restartFile, File::setFileType(), DPMBase::setSaveCount(), DPMBase::setTimeMax(), DPMBase::setXBallsAdditionalArguments(), and DPMBase::solve().