HandlerConstructorDestructorUnitTest.cpp File Reference
#include <iostream>
#include <Species/LinearViscoelasticSpecies.h>
#include "DPMBase.h"
#include "Walls/InfiniteWall.h"
#include "Boundaries/PeriodicBoundary.h"

Classes

class  my_problem
 todo{This code is not working as is wanted} More...
 

Functions

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

Function Documentation

◆ main()

int main ( int argc  UNUSED,
char *argv[]  UNUSED 
)
56 {
57  {
58  logger(VERBOSE, "Creating base problem\n", Flusher::NO_FLUSH);
59  my_problem problem;
60  problem.setName("ParticleHandlerDestructorTest");
61  logger(VERBOSE, "Finished creating base problem\n\n", Flusher::NO_FLUSH);
62 
63  logger(VERBOSE, "Adding a SphericalParticle, InfiniteWall and PeriodicBoundary to the base problem\n");
64  problem.setupInitialConditions();
65  logger(VERBOSE, "Finished adding a SphericalParticle, InfiniteWall and PeriodicBoundary to the base "
66  "problem\n\n", Flusher::NO_FLUSH);
67 
68  logger(VERBOSE, "Copying base problem\n", Flusher::NO_FLUSH);
69  //my_problem problem2(problem);
70  logger(VERBOSE, "Finished copying base problem\n\n", Flusher::NO_FLUSH);
71 
72  logger(VERBOSE, "Starting to destruct everything\n", Flusher::NO_FLUSH);
73  }
74  logger(VERBOSE, "Ready");
75 }
LL< Log::VERBOSE > VERBOSE
Verbose information.
Definition: Logger.cc:57
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:422
todo{This code is not working as is wanted}
Definition: elastic_gas.cpp:34
void setupInitialConditions() override
This function allows to set the initial conditions for our problem to be solved, by default particle ...
Definition: elastic_gas.cpp:37

References logger, NO_FLUSH, DPMBase::setName(), my_problem::setupInitialConditions(), and VERBOSE.