PlotPolygon.cpp File Reference

Classes

class  Polygon
 

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )
47  {
48  Polygon problem;
49  problem.setName("Polygon");
50  problem.setDomain(Vec3D(-1,-1,0),Vec3D(1,1,3));
52  s.setDensity(1000);
54  problem.wallHandler.setWriteVTK(true);
55  problem.solve();
56  return 0;
57 }
std::enable_if<!std::is_pointer< U >::value, U * >::type copyAndAddObject(const U &object)
Creates a copy of a Object and adds it to the BaseHandler.
Definition: BaseHandler.h:379
SpeciesHandler speciesHandler
A handler to that stores the species type i.e. LinearViscoelasticSpecies, etc.
Definition: DPMBase.h:1427
void setDomain(const Vec3D &min, const Vec3D &max)
Sets the minimum coordinates of the problem domain.
Definition: DPMBase.cc:1098
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:422
WallHandler wallHandler
An object of the class WallHandler. Contains pointers to all the walls created.
Definition: DPMBase.h:1447
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
void setDensity(Mdouble density)
Definition: ParticleSpecies.cc:108
Definition: PlotPolygon.cpp:30
Definition: Vector.h:51
void setWriteVTK(FileType)
Sets whether walls are written into a VTK file.
Definition: WallHandler.cc:467

References BaseHandler< T >::copyAndAddObject(), ParticleSpecies::setDensity(), DPMBase::setDomain(), DPMBase::setName(), WallHandler::setWriteVTK(), DPMBase::solve(), DPMBase::speciesHandler, and DPMBase::wallHandler.