322 std::vector<Mdouble> studyNumber;
323 studyNumber.resize(3);
331 studyNumber[1]=atof(argv[1]);
332 studyNumber[2]=atof(argv[2]);
333 problem.
run(studyNumber,argc-2,argv+2);
337 logger(
WARN,
"Not enough input arguments given (./flowRule_StudyHeightAngle $study $height $angle); \n"
338 "using demo values (equivalent to ./flowRule_StudyHeightAngle 5 10 24 -tmax 0.01)");
347 problem.
run(studyNumber, 1, argv);
348 problem.
setName(
"flowRuleSelfTest");
@ ONE_FILE
all data will be written into/ read from a single file called name_
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
LL< Log::WARN > WARN
Warning log level.
Definition: Logger.cc:54
void setChuteWidth(Mdouble chuteWidth)
Sets the chute width (Y-direction)
Definition: Chute.cc:1039
virtual void setChuteLength(Mdouble chuteLength)
Sets the chute length (X-direction)
Definition: Chute.cc:1059
File dataFile
An instance of class File to handle in- and output into a .data file.
Definition: DPMBase.h:1478
void setTimeMax(Mdouble newTMax)
Sets a new value for the maximum simulation duration.
Definition: DPMBase.cc:873
void setFileType(FileType fileType)
Sets the type of file needed to write into or read from. File::fileType_.
Definition: File.cc:215
Definition: PeriodicInflow2D_Initiation.cpp:30
void writeRestartFile()
Stores all the particle data for current save time step to a "restart" file, which is a file simply i...
Definition: obsolete_codes/bidisperse.cpp:33
void run(std::vector< Mdouble > study_num, int argc, char *argv[])
Definition: PeriodicInflow2D_Initiation.cpp:48
void setName()
Definition: bidisperse.cpp:44