SpeciesUnitTest.cpp File Reference
#include "Mercury3D.h"
#include <cmath>
#include <Species/LinearViscoelasticSpecies.h>

Classes

class  SpeciesTest
 

Functions

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

Function Documentation

◆ main()

int main ( int argc  UNUSED,
char *argv[]  UNUSED 
)
123 {
124  logger(INFO, "Species test problem ");
125  logger(INFO, "---------------------\n");
126  logger(INFO,
127  "This problem set k and gamma for different for different size particles such that the coefficent of restitution is the same");
128  logger(INFO, "Note for each collision this value should be 0.4");
129  logger(INFO, "Also this code demostrates how to use different species in the code");
130  SpeciesTest problem;
131  problem.setName("SpeciesUnitTest");
132 
133  problem.solve();
134 }
LL< Log::INFO > INFO
Info log level.
Definition: Logger.cc:55
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
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
Definition: SpeciesUnitTest.cpp:31

References INFO, logger, DPMBase::setName(), and DPMBase::solve().