ChuteWithWedgeLarge.cpp File Reference
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cmath>
#include <sys/types.h>
#include <sys/stat.h>
#include "scr/Chute.h"
#include "scr/Time.h"

Classes

class  ChutePeriodic
 

Functions

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

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)
178 {
179  ChutePeriodic problem;
180  problem.setName("ChuteWithWedge");
181  problem.set_silbert_parameters();
182  problem.set_chute_parameters();
183  problem.setSaveCount(500);
184  //problem.setTimeMax(500*problem.getTimeStep());
185 
186  problem.readArguments(argc, argv);
187  problem.solve();
188 }
Definition: chute_periodic_autorun.cpp:37
void set_silbert_parameters()
sets parameters of particles and time stepping to the L3 type used in Silbert's papers
Definition: ChuteWithWedgeLarge.cpp:90
void set_chute_parameters()
sets parameters of the chute
Definition: ChuteWithWedgeLarge.cpp:106
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

References DPMBase::readArguments(), ChutePeriodic::set_chute_parameters(), ChutePeriodic::set_silbert_parameters(), DPMBase::setName(), DPMBase::setSaveCount(), and DPMBase::solve().