PlotCoil.cpp File Reference

Classes

class  MyCoil
 

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )
45  {
46  MyCoil problem;
47  problem.setName("Coil");
48  problem.setDomain(Vec3D(-1,-1,0),Vec3D(1,1,3));
50  s.setDensity(1000);
52  problem.wallHandler.setWriteVTK(true);
53  problem.solve();
54  return 0;
55 }
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
Definition: PlotCoil.cpp:31
void setDensity(Mdouble density)
Definition: ParticleSpecies.cc:108
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.