VariableBottomQuick.cpp File Reference
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cmath>
#include "scr/ChuteWithHopper.h"

Classes

class  VariableBottom
 

Functions

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

Function Documentation

◆ main()

int main ( int argc  UNUSED,
char *argv[]  UNUSED 
)
149 {
150  VariableBottom problem;
151  problem.setName("VariableBottomQuick");
152  //problem.makeChutePeriodic();
153  problem.set_chute_parameters();
154  //problem.load_restart_data("../VariableBottomQuick.3/VariableBottomQuick.restart");
155  problem.set_silbert_parameters();
156  problem.setSaveCount(1000);
157 
158  //Hopper properties
159  double ExitHeight = 20.0, ExitLength = 20.0, hopperAngle_ = 45.0, hopperLength_ = 4.0 * ExitLength;
160  problem.set_Hopper(ExitLength,ExitHeight,hopperAngle_,hopperLength_);
161  problem.setHopperFillPercentage(50.0);
162  problem.setMaxFailed(40);
163  problem.readArguments(argc, argv);
164  problem.solve();
165 }
void setMaxFailed(unsigned int maxFailed)
Sets the number of times a particle will be tried to be added to the insertion boundary.
Definition: Chute.cc:827
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
bool readArguments(int argc, char *argv[])
Can interpret main function input arguments that are passed by the driver codes.
Definition: DPMBase.cc:4391
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
Definition: LongPeriodicChute.cpp:39
void set_silbert_parameters()
sets parameters of particles and time stepping to the L3 type used in Silbert's papers
Definition: LongPeriodicChute.cpp:46
void set_chute_parameters()
sets parameters of the chute
Definition: LongPeriodicChute.cpp:66

References DPMBase::readArguments(), VariableBottom::set_chute_parameters(), VariableBottom::set_silbert_parameters(), Chute::setMaxFailed(), DPMBase::setName(), DPMBase::setSaveCount(), and DPMBase::solve().