static2dSegregated.cpp File Reference
#include "Chute.h"
#include "StatisticsVector.h"
#include "Walls/InfiniteWall.h"
#include <iostream>
#include <Species/LinearViscoelasticSlidingFrictionSpecies.h>

Classes

class  Cstatic2d
 

Functions

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

Function Documentation

◆ main()

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

Start off my solving the default problem

177 {
179  Cstatic2d static2d;
180  static2d.setName("static2d");
181  static2d.set_particle_properties();
182  static2d.setSaveCount(12000);
183  static2d.setTimeMax(400);
184  static2d.solve();
185  //~ static2d.write(cout,true);
186 }
Definition: static2d.cpp:33
void set_particle_properties()
Definition: static2d.cpp:36
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
void setTimeMax(Mdouble newTMax)
Sets a new value for the maximum simulation duration.
Definition: DPMBase.cc:873
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270

References Cstatic2d::set_particle_properties(), DPMBase::setName(), DPMBase::setSaveCount(), DPMBase::setTimeMax(), and DPMBase::solve().