InsertionBoundarySelfTestMPI.cpp File Reference

Classes

class  InsertionBoundarySelfTest
 

Functions

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

Function Documentation

◆ main()

int main ( int argc  UNUSED,
char *argv[]  UNUSED 
)
110 {
111  logger(INFO,"Simple box for creating particles");
112 
113  InsertionBoundarySelfTest insertionBoundary_problem;
114  // insertionBoundary_problem.setParticlesWriteVTK(true);
115  insertionBoundary_problem.setNumberOfDomains({2,1,1}); //For cube
116  //insertionBoundary_problem.setNumberOfDomains({1,2,1}); //For chute
117  //insertionBoundary_problem.setNumberOfDomains({1,2,1}); //For hopper
118 
119  insertionBoundary_problem.solve();
120 }
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 setNumberOfDomains(std::vector< unsigned > direction)
Sets the number of domains in x-,y- and z-direction. Required for parallel computations.
Definition: DPMBase.cc:5213
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
Definition: InsertionBoundarySelfTest.cpp:35

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