58 std::cout<<
"Creating base problem"<<std::endl;
60 problem.
setName(
"ParticleHandlerDestructorTest");
61 std::cout<<
"Finished creating base problem"<<std::endl<<std::endl;
63 std::cout<<
"Adding a BaseParticle, InfiniteWall and PeriodicBoundary to the base problem"<<std::endl;
65 std::cout<<
"Finished adding a BaseParticle, InfiniteWall and PeriodicBoundary to the base problem"<<std::endl<<std::endl;
67 std::cout<<
"Copying base problem"<<std::endl;
69 std::cout<<
"Finished copying base problem"<<std::endl<<std::endl;
71 std::cout<<
"Starting to destruct everything"<<std::endl;
73 std::cout <<
"Ready" << std::endl;
The DPMBase header includes quite a few header files, defining all the handlers, which are essential...
void setupInitialConditions()
This function allows to set the initial conditions for our problem to be solved, by default particle ...
Defines a pair of periodic walls. Inherits from BaseBoundary.
int main(int argc UNUSED, char *argv[] UNUSED)
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
U * copyAndAddObject(const U &O)
Creates a copy of a Object and adds it to the BaseHandler.
BoundaryHandler boundaryHandler
An object of the class BoundaryHandler which concerns insertion and deletion of particles into or fro...
ParticleHandler particleHandler
An object of the class ParticleHandler, contains the pointers to all the particles created...
todo{This code is not working as is wanted}
Species< LinearViscoelasticNormalSpecies > LinearViscoelasticSpecies
SpeciesHandler speciesHandler
A handler to that stores the species type i.e. elastic, linear visco-elastic... et cetera...
WallHandler wallHandler
An object of the class WallHandler. Contains pointers to all the walls created.
This is a class defining walls.