revision: v0.14
Logger.cc File Reference
#include "Logger.h"
#include <cstdlib>
#include <iostream>
#include <csignal>

Functions

static void printInfo (std::string module, std::string msg, Flusher doFlush)
 Prints messages of loglevel INFO. More...
 
static void printWarn (std::string module, std::string msg, Flusher doFlush)
 Prints messages of loglevel WARN. More...
 
static void printError (std::string module, std::string msg, Flusher doFlush)
 Prints messages of loglevel ERROR. More...
 
static void printFatalError (const std::string &module, const std::string &msg, Flusher doFlush)
 Prints messages of loglevel FATAL. More...
 

Variables

LL< Log::FATAL > FATAL
 Definition of the different loglevels by its wrapper class LL. These are used as tags in template metaprogramming for the Logger class. More...
 
LL< Log::ERROR > ERROR
 Error log level. More...
 
LL< Log::WARN > WARN
 Warning log level. More...
 
LL< Log::INFO > INFO
 Info log level. More...
 
LL< Log::DEFAULT > DEFAULT
 Default log level. More...
 
LL< Log::VERBOSE > VERBOSE
 Verbose information. More...
 
LL< Log::DEBUGDEBUG
 Debug information. More...
 
Logger< MERCURY_LOGLEVELlogger ("MercuryKernel")
 Definition of different loggers with certain modules. A user can define its own custom logger here. More...
 
Logger< CG_LOGLEVELcgLogger ("MercuryCG")
 
LoggerOutput loggerOutputDefaultImpl
 
LoggerOutputloggerOutput = &loggerOutputDefaultImpl
 Declaration of the output functions. More...
 

Function Documentation

◆ printError()

static void printError ( std::string  module,
std::string  msg,
Flusher  doFlush 
)
static

Prints messages of loglevel ERROR.

Parameters
[in]moduleThe module name of the current logger invocation.
[in]msgformatted message to be printed.
[in]doFlushFlusher enum class object to enable/disable flushing of the output.
131 {
132 #ifdef MERCURY_USE_MPI
133  //Check if MPI is initialised
134  initialiseMPI();
135  MPIContainer& communicator = MPIContainer::Instance();
136  std::cout << "\033[1;33mError " << module << ":\033[0m\n" << "[Processor: " << communicator.getProcessorID() << "]" << msg << std::endl;
137 #else
138  std::cout << "\033[1;31mAn error has occured"
139  << "\n\033[1;31mModule :" << module
140  << "\n\033[1;31mMessage :" << msg << std::endl;
141 #endif
142 #ifdef MERCURY_STACKTRACE_SHOW
143  std::cerr << "\n-----------------[Stack Trace]-----------------\n";
144 
145  void* stackBuffer[64]; //This should be enough for all purposes..
146  //First, we retrieve the addresses of the entire stack...
147  int nStackFrames = backtrace(stackBuffer, 64);
148 #ifndef MERCURY_STACKTRACE_DEMANGLE
149  //We don't have the demangling infra, so just use backtrace_symbols.
150  char** functionNames = backtrace_symbols(stackBuffer, nStackFrames);
151  for( int i = 0; i < nStackFrames; i++ )
152  {
153  std::cerr << '\t' << functionNames[i] << '\n';
154  }
155  std::cerr << "Exiting.\n" << std::endl;
156 
157  //DO NOT USE DELETE HERE. THIS SHOULD BE free()'d!
158  // -- dducks
159  free(functionNames);
160 #else
161  //We request the symbol information ourselves, in order to be able to demangle it.
162  //And request the function names using dladdr.
163  Dl_info infoStruct;
164  for (int i = 4; i < nStackFrames; i++)
165  {
166  if (dladdr(stackBuffer[i], &infoStruct))
167  { // We succesfully loaded the address...
168  int demangleStatus;
169  char* fnDemangled = abi::__cxa_demangle(infoStruct.dli_sname, NULL, NULL, &demangleStatus);
170  if (infoStruct.dli_sname == nullptr)
171  continue;
172 
173  //We even succesfully demangled the symbol...
174  if (demangleStatus == 0)
175  {
176  std::cerr << fnDemangled << " +" << (void*) ((char*) stackBuffer[i] - (char*) infoStruct.dli_saddr) << "\t(" << infoStruct.dli_fname << ")\n";
177  free(fnDemangled);
178  }
179  else
180  { //Well, we tried. Lets output at least our raw symbol name.
181  std::cerr << infoStruct.dli_sname << " +" << (void*) ((char*) stackBuffer[i] - (char*) infoStruct.dli_saddr) << "\t(" << infoStruct.dli_fname << ")\n";
182  }
183  }
184  else
185  { //Name lookup failed.
186  std::cerr << stackBuffer[i] << ": ?????" << std::endl;
187  }
188  }
189 #endif
190 #endif
191  //send a signal first, in case a debugger can catch it
192  std::raise(SIGTERM);
193  //call exit() for the specific loglevel
194  std::exit(static_cast<int>(Log::ERROR));
195 }

References ERROR, MPIContainer::getProcessorID(), constants::i, initialiseMPI(), and MPIContainer::Instance().

◆ printFatalError()

static void printFatalError ( const std::string &  module,
const std::string &  msg,
Flusher  doFlush 
)
static

Prints messages of loglevel FATAL.

Parameters
[in]moduleThe module name of the current logger invocation.
[in]msgformatted message to be printed.
[in]doFlushFlusher enum class object to enable/disable flushing of the output.
207 {
208 #ifdef MERCURY_USE_MPI
209  //Check if MPI is initialised
210  initialiseMPI();
211  MPIContainer& communicator = MPIContainer::Instance();
212  std::cout << "\033[1;33mError " << module << ":\033[0m\n" << "[Processor: " << communicator.getProcessorID() << "]" << msg << std::endl;
213 #else
214  std::cout << "\033[1;31mA fatal error has occured"
215  << "\n\033[1;31mModule :" << module
216  << "\n\033[1;31mMessage :" << msg << std::endl;
217 #endif
218 #ifdef MERCURY_STACKTRACE_SHOW
219  std::cerr << "\n-----------------[Stack Trace]-----------------\n";
220 
221  void* stackBuffer[64]; //This should be enough for all purposes..
222  //First, we retrieve the addresses of the entire stack...
223  int nStackFrames = backtrace(stackBuffer, 64);
224 #ifndef MERCURY_STACKTRACE_DEMANGLE
225  //We don't have the demangling infra, so just use backtrace_symbols.
226  char** functionNames = backtrace_symbols(stackBuffer, nStackFrames);
227  for( int i = 0; i < nStackFrames; i++ )
228  {
229  std::cerr << '\t' << functionNames[i] << '\n';
230  }
231  std::cerr << "Exiting.\n" << std::endl;
232 
233  //DO NOT USE DELETE HERE. THIS SHOULD BE free()'d!
234  // -- dducks
235  free(functionNames);
236 #else
237  //We request the symbol information ourselves, in order to be able to demangle it.
238  //And request the function names using dladdr.
239  Dl_info infoStruct;
240  for (int i = 4; i < nStackFrames; i++)
241  {
242  if (dladdr(stackBuffer[i], &infoStruct))
243  { // We succesfully loaded the address...
244  int demangleStatus;
245  char* fnDemangled = abi::__cxa_demangle(infoStruct.dli_sname, NULL, NULL, &demangleStatus);
246  if (infoStruct.dli_sname == nullptr)
247  continue;
248 
249  //We even succesfully demangled the symbol...
250  if (demangleStatus == 0)
251  {
252  std::cerr << fnDemangled << " +" << (void*) ((char*) stackBuffer[i] - (char*) infoStruct.dli_saddr) << "\t(" << infoStruct.dli_fname << ")\n";
253  free(fnDemangled);
254  }
255  else
256  { //Well, we tried. Lets output at least our raw symbol name.
257  std::cerr << infoStruct.dli_sname << " +" << (void*) ((char*) stackBuffer[i] - (char*) infoStruct.dli_saddr) << "\t(" << infoStruct.dli_fname << ")\n";
258  }
259  }
260  else
261  { //Name lookup failed.
262  std::cerr << stackBuffer[i] << ": ?????" << std::endl;
263  }
264  }
265 #endif
266 #endif
267  //send a signal first, in case a debugger can catch it
268  std::raise(SIGTERM);
269  //call exit for the specific loglevel
270  std::exit(static_cast<int>(Log::FATAL));
271 }

References FATAL, MPIContainer::getProcessorID(), constants::i, initialiseMPI(), and MPIContainer::Instance().

◆ printInfo()

static void printInfo ( std::string  module,
std::string  msg,
Flusher  doFlush 
)
static

Prints messages of loglevel INFO.

Parameters
[in]moduleThe module name of the current logger invocation.
[in]msgformatted message to be printed.
[in]doFlushFlusher enum class object to enable/disable flushing of the output.
77 {
78 #ifdef MERCURY_USE_MPI
79  //Check if MPI is initialised
80  initialiseMPI();
81  MPIContainer& communicator = MPIContainer::Instance();
82  std::cout << "[Process: " << communicator.getProcessorID() << "]: " << msg;
83  if (doFlush == Flusher::FLUSH)
84  {
85  std::cout << std::endl;
86  }
87 #else
88  std::cout << msg;
89  if (doFlush == Flusher::FLUSH)
90  {
91  std::cout << std::endl;
92  }
93 #endif
94 }

References MPIContainer::getProcessorID(), initialiseMPI(), and MPIContainer::Instance().

◆ printWarn()

static void printWarn ( std::string  module,
std::string  msg,
Flusher  doFlush 
)
static

Prints messages of loglevel WARN.

Parameters
[in]moduleThe module name of the current logger invocation.
[in]msgformatted message to be printed.
[in]doFlushFlusher enum class object to enable/disable flushing of the output.
104 {
105 #ifdef MERCURY_USE_MPI
106  //Check if MPI is initialised
107  initialiseMPI();
108  MPIContainer& communicator = MPIContainer::Instance();
109  std::cout << "\033[1;33mModule " << module << ":\033[0m\n" << "[Processor: " << communicator.getProcessorID() << "]" << msg;
110  if (doFlush == Flusher::FLUSH)
111  {
112  std::cout << std::endl;
113  }
114 #else
115  std::cout << "\033[1;33mMessage " << module << ":\033[0m\n" << msg;
116  if (doFlush == Flusher::FLUSH)
117  {
118  std::cout << std::endl;
119  }
120 #endif
121 }

References MPIContainer::getProcessorID(), initialiseMPI(), and MPIContainer::Instance().

Variable Documentation

◆ cgLogger

◆ DEBUG

LL<Log::DEBUG> DEBUG

Debug information.

Only used for internal development. Can be very cryptic, as it is only meant for finding bugs / oddities by the internal development team.

Example: Collision found between Particle #38201 and Wall #5

Default behaviour: ignore.

Referenced by BaseHandler< T >::BaseHandler(), load(), main(), SmallMatrix< numberOfRows, numberOfColumns >::operator*(), operator*(), CGFields::OrientationField::OrientationField(), CGFields::OrientationField::setFields(), BaseHandler< T >::~BaseHandler(), MixedSpecies< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::~MixedSpecies(), and Species< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::~Species().

◆ DEFAULT

LL<Log::DEFAULT> DEFAULT

Default log level.

Only useful for defining the loglevel of the logger itself. Should not actually be used.

◆ ERROR

LL<Log::ERROR> ERROR

Error log level.

Error, as in, the program has found a severe problem which it cannot resolve any further. It does not know how to recover in a sane way. The difference to FATAL is mainly that this type of failure is most often caused by human error.

Example: Negative time step, Infinite end time and no override of the continuation function.

Default behaviour: log to std::cerr, followed by std::exit().

Referenced by ParameterStudy1DDemo::actionsAfterSolve(), ParameterStudy2DDemo::actionsAfterSolve(), ParameterStudy3DDemo::actionsAfterSolve(), SpeciesTest::actionsAfterSolve(), IntersectionOfWalls::add3PointObject(), LocalExpansion::addLocalExpansionCoefficients(), Multipole::addMultipoleCoefficients(), addObject(), Domain::addParticlesToLists(), IntersectionOfWalls::addTetra(), CFile::CFile(), commandLineCG(), ChargedBondedInteraction::computeAdhesionForce(), FrictionInteraction::computeFrictionForce(), SuperQuadricParticle::computeMass(), SinterNormalSpecies::computeTimeStep(), SmallMatrix< numberOfRows, numberOfColumns >::computeWedgeStuffVector(), PSD::convertProbabilityDensityToProbabilityDensityNumberDistribution(), CurvyChute::createBottom(), BaseInteraction::createMPIInteractionDataArray(), DataFiles::DataFiles(), DPMBase::decompose(), SmallMatrix< numberOfRows, numberOfColumns >::determinant(), CGHandler::evaluateDataFiles(), CGHandler::evaluateRestartFiles(), FileReader::FileReader(), LiquidMigrationWilletInteraction::form(), SinterNormalSpecies::getCollisionTime(), LinearViscoelasticNormalSpecies::getCollisionTime(), Quaternion::getComponent(), Vec3D::getComponent(), SuperQuadricParticle::getContactPointPlanB(), BaseWall::getDistanceNormalOverlapSuperquadric(), ChargedBondedInteraction::getElasticEnergy(), ParticleHandler::getFastestParticle(), BaseWall::getFurthestPointSuperQuadric(), ParticleHandler::getHighestPositionComponentParticle(), ParticleHandler::getHighestVelocityComponentParticle(), BaseInteraction::getInteractionDetails(), MeshTriangle::getInteractionWith(), BaseWall::getInteractionWithSuperQuad(), ParticleHandler::getLowestPositionComponentParticle(), ParticleHandler::getLowestPositionComponentParticleLocal(), ParticleHandler::getLowestVelocityComponentParticle(), RNG::getNormalVariate(), BaseHandler< T >::getObjectById(), BaseHandler< T >::getObjectsById(), ParticleHandler::getParticleAttribute(), ParticleHandler::getParticleAttributeLocal(), InsertionBoundary::getParticleToCopy(), TimeDependentPeriodicBoundary::getPlanewiseShift(), helpers::getSaveCountFromNumberOfSavesAndTimeMaxAndTimeStep(), BaseParticle::getVolume(), ParticleSpecies::getVolumeFromRadius(), InfiniteWall::InfiniteWall(), BaseCluster::insertParticles(), LevelSetWall::LevelSetWall(), Membrane::loadFromSTL(), main(), Species< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::mixAll(), helpers::more(), Quaternion::normalise(), Vec3D::normalise(), BinaryReader::openFile(), Logger< L, ASSERTS >::operator()(), operator<<(), operator>>(), DPMBase::outputXBallsData(), SuperQuadricParticle::overlapFromContactPoint(), printError(), LiquidMigrationSelfTest::printTime(), HGridOptimiser::radius2Cell(), FileReader::read(), csvReader::read(), DPMBase::read(), DPMBase::readArguments(), helpers::readArrayFromFile(), DPMBase::readParAndIniFiles(), WallHandler::readTriangleWall(), ParticleHandler::removeGhostObject(), CGHandler::restart(), statistics_while_running< T >::run(), LiquidMigrationWilletInteraction::rupture(), Membrane::saveAsSTL(), ScrewsymmetricIntersectionOfWalls::ScrewsymmetricIntersectionOfWalls(), NurbsSurface::set(), AxisymmetricHopper::set_FunnelInflowHeight(), Chutebelt::set_particle_numbers(), Chutebelt::set_radiusLarge(), ChargedBondedSpecies::setAdhesionForceMax(), ChargedBondedSpecies::setAdhesionStiffness(), CurvyChute::setBasalDensity(), CurvyChute::setBasalDisorder(), CurvyChute::setBasalSizeDispersity(), BondedSpecies::setBondDissipation(), ChargedBondedSpecies::setBondDissipation(), BondedSpecies::setBondForceMax(), ChargedBondedSpecies::setBondForceMax(), ChargedBondedSpecies::setCharge(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficient(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficientNoDispt(), BaseCluster::setCollisionTimeOverTimeStep(), SinterLinNormalSpecies::setComplianceZero(), SinterNormalSpecies::setComplianceZero(), Quaternion::setComponent(), Vec3D::setComponent(), SinterNormalSpecies::setConstantC1(), LiquidMigrationWilletSpecies::setContactAngle(), FlowRule::setDensityVariation(), HertzianSinterNormalSpecies::setDissipation(), LinearViscoelasticNormalSpecies::setDissipation(), SinterLinNormalSpecies::setDissipation(), SinterNormalSpecies::setDissipation(), LiquidMigrationWilletSpecies::setDistributionCoefficient(), BaseCluster::setEnergyRatioTolerance(), SinterLinNormalSpecies::setFluidity(), PolydisperseInsertionBoundary::setGenerandum(), ChuteWithHopper::setHopper(), BaseParticle::setIndSpecies(), BaseWall::setIndSpecies(), Chute::setInflowVelocityVariance(), SinterNormalSpecies::setInverseSinterViscosity(), LiquidBridgeWilletSpecies::setLiquidBridgeVolume(), BaseParticle::setMassForP3Statistics(), BaseCluster::setNumberOfInternalStructurePoints(), BaseCluster::setNumberOfParticles(), RandomClusterInsertionBoundary::setNumberOfParticlesPerCluster(), InsertionBoundary::setParticleToCopy(), HertzianSinterNormalSpecies::setPlasticParameters(), LinearPlasticViscoelasticNormalSpecies::setPlasticParameters(), SinterNormalSpecies::setPlasticParameters(), FlowRule::setPolydispersity(), FixedClusterInsertionBoundary::setPositionsAndRadii(), SuperQuadricParticle::setRadius(), BaseCluster::setRadiusCluster(), BaseClusterInsertionBoundary::setRadiusMicroParticle(), BaseCluster::setRadiusParticle(), Domain::setRange(), FrictionSpecies::setRollingDissipation(), MindlinRollingTorsionSpecies::setRollingDissipation(), FrictionSpecies::setRollingFrictionCoefficient(), MindlinRollingTorsionSpecies::setRollingFrictionCoefficient(), FrictionSpecies::setRollingFrictionCoefficientStatic(), MindlinRollingTorsionSpecies::setRollingFrictionCoefficientStatic(), FrictionSpecies::setRollingStiffness(), SinterLinNormalSpecies::setSeparationDis(), SinterNormalSpecies::setSeparationDis(), LevelSetWall::setShapeFourSided(), SinterLinNormalSpecies::setSinterAdhesion(), SinterNormalSpecies::setSinterAdhesion(), HertzianSinterNormalSpecies::setSinterRate(), SinterLinNormalSpecies::setSinterRate(), SinterNormalSpecies::setSinterRate(), SinterLinNormalSpecies::setSinterType(), SinterNormalSpecies::setSinterType(), BaseCluster::setSizeDispersityParticle(), MindlinSpecies::setSlidingDissipation(), SlidingFrictionSpecies::setSlidingDissipation(), MindlinSpecies::setSlidingFrictionCoefficient(), SlidingFrictionSpecies::setSlidingFrictionCoefficient(), MindlinSpecies::setSlidingFrictionCoefficientStatic(), SlidingFrictionSpecies::setSlidingFrictionCoefficientStatic(), SlidingFrictionSpecies::setSlidingStiffness(), BaseCluster::setSpecies(), LinearViscoelasticNormalSpecies::setStiffness(), CurvyChute::setSurface(), LiquidBridgeWilletSpecies::setSurfaceTension(), LiquidMigrationWilletSpecies::setSurfaceTension(), SinterLinNormalSpecies::setSurfTension(), SinterNormalSpecies::setSurfTension(), DPMBase::setSystemDimensions(), DPMBase::setTimeMax(), DPMBase::setTimeStep(), FrictionSpecies::setTorsionDissipation(), MindlinRollingTorsionSpecies::setTorsionDissipation(), FrictionSpecies::setTorsionFrictionCoefficient(), MindlinRollingTorsionSpecies::setTorsionFrictionCoefficient(), FrictionSpecies::setTorsionFrictionCoefficientStatic(), MindlinRollingTorsionSpecies::setTorsionFrictionCoefficientStatic(), FrictionSpecies::setTorsionStiffness(), my_problem::setupInitialConditions(), free_cooling::setupInitialConditions(), restart::setupInitialConditions(), MovingWalls::setupInitialConditions(), BaseCluster::setupInitialConditions(), Chute::setupInitialConditions(), ChargedBondedSpecies::setVanDerWaalsForceMax(), BaseCluster::setVelocityDampingModulus(), Statistics(), test1(), test2(), Multipole::TranslateMultipoleExpansionTo(), and PeriodicBoundaryHandler::updateParticleStatus().

◆ FATAL

◆ INFO

LL<Log::INFO> INFO

Info log level.

Useful information, small oddities and statistics which should be of no real effect to the user, but still give useful information about the current state and progress of the program.

Example: Finished inserting 381 particles.

Default behaviour: log to std::cout, returns afterwards.

Referenced by SilbertHstop::actionAfterTimeStep(), DPM::actionsAfterSolve(), MaserRepeatedOutInMPI2Test::actionsAfterSolve(), ParameterStudy1DDemo::actionsAfterSolve(), ParameterStudy2DDemo::actionsAfterSolve(), ParameterStudy3DDemo::actionsAfterSolve(), PSDManualInsertionSelfTest::actionsAfterSolve(), Contact::actionsAfterSolve(), SpeciesTest::actionsAfterSolve(), Chutebelt::actionsAfterTimeStep(), NozzleDemo::actionsAfterTimeStep(), TwoByTwoMPIDomainMPI4Test::actionsAfterTimeStep(), HourGlass::actionsAfterTimeStep(), NozzleSelfTest::actionsAfterTimeStep(), PolydisperseInsertionBoundarySelfTest::actionsAfterTimeStep(), SphericalIndenter::actionsAfterTimeStep(), GranularCollapse::actionsAfterTimeStep(), MercuryProblem::actionsAfterTimeStep(), Tutorial11::actionsAfterTimeStep(), ParameterStudy1DDemo::actionsBeforeTimeLoop(), ParameterStudy2DDemo::actionsBeforeTimeLoop(), ParameterStudy3DDemo::actionsBeforeTimeLoop(), SphericalIndenter::actionsBeforeTimeLoop(), Chutebelt::actionsBeforeTimeStep(), LawinenBox::actionsBeforeTimeStep(), DPM::actionsBeforeTimeStep(), ForceLawsMPI2Test::actionsBeforeTimeStep(), DrumRot::actionsBeforeTimeStep(), RotatingDrum::actionsBeforeTimeStep(), SaveCountUnitTest::actionsBeforeTimeStep(), Chutebelt::actionsOnRestart(), AirySavageHutter::actionsOnRestart(), DrumRot::actionsOnRestart(), ConstantMassFlowMaserBoundary::activateMaser(), SubcriticalMaserBoundary::activateMaser(), SubcriticalMaserBoundaryTEST::activateMaser(), ChutePeriodic::add_flow_particles(), Chute::addFlowParticlesCompactly(), PolydisperseInsertionBoundary::addGenerandum(), ParticleHandler::addGhostObject(), NautaMixer::addParticles(), NautaMixer::addParticlesAtWall(), BaseWall::addParticlesAtWall(), Domain::addParticlesToLists(), ConstantMassFlowMaserBoundary::addParticleToMaser(), SubcriticalMaserBoundary::addParticleToMaser(), NautaMixer::addSpeciesAndSetTimeStepAndSaveCount(), helpers::addToFile(), HGridOptimiser::applyStep(), HGridOptimiser::calcDfDx(), HGridOptimiser::calculateDiffWork(), HGridOptimiser::calculateWork(), CFile::CFile(), DeletionBoundary::checkBoundaryAfterParticleMoved(), SubcriticalMaserBoundaryTEST::checkBoundaryAfterParticlesMove(), HGridOptimiser::checkLimit(), checkTemplate(), ClosedCSCRestart::ClosedCSCRestart(), ClosedCSCRun::ClosedCSCRun(), ClosedCSCStats::ClosedCSCStats(), ClosedCSCWalls::ClosedCSCWalls(), ConstantMassFlowMaserBoundary::closeMaser(), commandLineCG(), helpers::compare(), Box::computeFlow(), HertzianSinterInteraction::computeSinterForce(), Mercury3D::computeWallForces(), ConstantMassFlowMaserBoundary::ConstantMassFlowMaserBoundary(), PolydisperseInsertionBoundary::copy(), CFile::copy(), CFile::copy_data(), CFile::copy_fstat(), SubcriticalMaserBoundaryTEST::copyExtraParticles(), Funnel::create_funnel(), Slide::create_rough_wall(), Chute::createBottom(), DomainHandler::createMesh(), CSCInit::CSCInit(), CSCRestart::CSCRestart(), CSCStats::CSCStats(), CSCWalls::CSCWalls(), PSD::cutoffCumulativeNumber(), DataFiles::DataFiles(), SubcriticalMaserBoundary::deactivateMaser(), Domain::debugInformation(), Box::downwardPass(), CGHandler::evaluateDataFiles(), CGHandler::evaluateRestartFiles(), SubcriticalMaserBoundaryTEST::extendBottom(), FileReader::FileReader(), DPMBase::fillDomainWithParticles(), InsertionBoundary::generateParticle(), DPMBase::get1DParametersFromRunNumber(), DPMBase::get2DParametersFromRunNumber(), DPMBase::get3DParametersFromRunNumber(), SphericalIndenter::getBedHeight(), regimeForceUnitTest::getMeanRelativeContactRadius(), HGridOptimiser::getOptimalDistribution(), mathsFunc::goldenSectionSearch(), HGridOptimiser::goldenSectionSearch(), helpers::readFromCommandLine< std::string >(), Mercury2D::hGridFindParticleContacts(), Mercury3D::hGridFindParticleContacts(), Mercury2D::hGridHasParticleContacts(), MercuryBase::hGridRebuild(), HGridOptimiser::histNumberParticlesPerCell(), HstopCurve(), Indenter::Indenter(), HGrid::info(), InitialConditions< SpeciesType >::InitialConditions(), HGridOptimiser::initialise(), HGridOptimiser::initialisePolyFunc(), MembraneDemo::initializeSpecies(), InsertionBoundary::insertParticles(), HorizontalMixer::introduceParticlesAtWall(), ContactDetectionIntersectionOfWallsTest::introduceParticlesAtWall(), HorizontalMixer::introduceParticlesInDomain(), HorizontalMixer::introduceSingleParticle(), LawinenBox::LawinenBox(), load(), helpers::loadingTest(), main(), ChuteBottom::makeRoughBottom(), SubcriticalMaserBoundaryTEST::modifyPeriodicComplexity(), helpers::more(), MovingWalls::MovingWalls(), helpers::normalAndTangentialLoadingTest(), NurbsSurface::NurbsSurface(), helpers::objectivenessTest(), Logger< L, ASSERTS >::operator()(), STLReader::output(), DPMBase::outputInteractionDetails(), ParticleCreation::ParticleCreation(), ParticleInclusion::ParticleInclusion(), particleParticleTest(), SubcriticalMaserBoundaryTEST::performActionsBeforeAddingParticles(), PointIsAboveCurve(), PolydisperseInsertionBoundary::PolydisperseInsertionBoundary(), PSD::printPSD(), ClosedCSCRestart::printTime(), ClosedCSCRun::printTime(), ClosedCSCStats::printTime(), ClosedCSCWalls::printTime(), CSCInit::printTime(), CSCRestart::printTime(), CSCRun::printTime(), CSCStats::printTime(), CSCWalls::printTime(), DPMBase::printTime(), LawinenBox::printTime(), HorizontalMixer::printTime(), NozzleDemo::printTime(), VerticalMixer::printTime(), ForceLawsMPI2Test::printTime(), LiquidMigrationMPI2Test::printTime(), ParticleInclusion::printTime(), SilbertPeriodic::printTime(), CLiveStatistics< T >::printTime(), statistics_while_running< T >::printTime(), vibratedBed::printTime(), ConstantMassFlowMaserBoundaryMixedSpeciesSelfTest::printTime(), ConstantMassFlowMaserSelfTest::printTime(), CubeDeletionBoundarySelfTest::printTime(), DeletionBoundarySelfTest::printTime(), DistributionToPSDSelfTest::printTime(), InsertionBoundarySelfTest::printTime(), MultiplePSDSelfTest::printTime(), NozzleSelfTest::printTime(), PolydisperseInsertionBoundarySelfTest::printTime(), PSDManualInsertionSelfTest::printTime(), PSDSelfTest::printTime(), LiquidMigrationSelfTest::printTime(), InitialConditions< SpeciesType >::printTime(), SinterPair::printTime(), SphericalIndenter::printTime(), DPM::printTime(), protectiveWall::printTime(), RandomClusterInsertionBoundarySelfTest::printTime(), viscoElasticUnitTest::printTime(), LiquidMigrationPeriodicBoundaryInteraction::printTime(), regimeForceUnitTest::printTime(), TangentialSpringEnergyConservationUnitTest::printTime(), Chute::printTime(), FileReader::read(), csvReader::read(), InteractionHandler::read(), SubcriticalMaserBoundaryTEST::read(), DPMBase::read(), Funnel::read(), Chute::read(), DPMBase::readArguments(), helpers::readArrayFromCommandLine(), helpers::readFromCommandLine(), helpers::readFromFile(), SilbertPeriodic::readNextArgument(), DPMBase::readNextArgument(), Mercury3DRestart::readNextArgument(), DPMBase::readRestartFile(), WallHandler::readTriangleWall(), helpers::readVectorFromCommandLine(), regimeForceUnitTest::regimeForceUnitTest(), DPMBase::removeOldFiles(), ClosedCSCRestart::restart(), CSCRestart::restart(), CGHandler::restart(), FlowRule::run(), statistics_while_running< T >::run(), AngleOfRepose::run(), vibratedBed::run(), CSCInit::save(), SaveCountUnitTest::SaveCountUnitTest(), ClosedCSCWalls::saveWalls(), CSCWalls::saveWalls(), SingleParticle< SpeciesType >::scaleMass(), InitialConditions< SpeciesType >::scaleMass(), StressStrainControlBoundary::set(), NurbsSurface::set(), ParhamiMcMeekingSinterSpecies::set(), Cstatic2d::set_particle_properties(), Cstatic3D::set_particle_properties(), AngleOfRepose::set_study(), SilbertPeriodic::set_study(), Slide::set_Walls(), LinearViscoelasticNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), BaseNormalForce::setConstantRestitution(), FlowRule::setDensityVariation(), PolydisperseInsertionBoundary::setGenerandum(), AxisymmetricWallSelfTest::setGeometry(), BaseCG::setH(), DPMBase::setMeanVelocityAndKineticEnergy(), DPMBase::setNumberOfDomains(), DPMBase::setNumberOfOMPThreads(), SinterNormalSpecies::setParhamiMcKeeping(), MindlinSpecies::setPoissonRatio(), FlowRule::setPolydispersity(), PSD::setPSDFromCSV(), SimpleDrumSuperquadrics::setRadius(), LevelSetWall::setShapeCube(), LevelSetWall::setShapeCylinder(), LevelSetWall::setShapeDiamond(), LevelSetWall::setShapeSphere(), SinterNormalSpecies::setSinterForceAndTime(), SinterLinNormalSpecies::setSinterType(), SinterNormalSpecies::setSinterType(), DPMBase::setSoftStop(), ThermalParticle::setTimeDependentTemperature(), ChutePeriodic::setup(), ClosedCSCWalls::setupInitialConditions(), CSCInit::setupInitialConditions(), CSCRun::setupInitialConditions(), CSCWalls::setupInitialConditions(), my_problem::setupInitialConditions(), free_cooling::setupInitialConditions(), restart::setupInitialConditions(), LeesEdwardsDemo::setupInitialConditions(), TimeDependentPeriodicBoundaryTest::setupInitialConditions(), SegregationPeriodic::setupInitialConditions(), Chutebelt::setupInitialConditions(), LawinenBox::setupInitialConditions(), AirySavageHutter::setupInitialConditions(), MercuryLogo::setupInitialConditions(), SmoothChute::setupInitialConditions(), NozzleDemo::setupInitialConditions(), VerticalMixer::setupInitialConditions(), Binary::setupInitialConditions(), ForceLawsMPI2Test::setupInitialConditions(), LiquidMigrationMPI2Test::setupInitialConditions(), CubicCell::setupInitialConditions(), FreeCooling2DinWalls::setupInitialConditions(), MarbleRun::setupInitialConditions(), StressStrainControl::setupInitialConditions(), SilbertPeriodic::setupInitialConditions(), GetDistanceAndNormalForIntersectionOfWalls::setupInitialConditions(), GetDistanceAndNormalForScrew::setupInitialConditions(), GetDistanceAndNormalForTriangleWall::setupInitialConditions(), Drum::setupInitialConditions(), Penetration::setupInitialConditions(), Silo::setupInitialConditions(), LeesEdwardsSelfTest::setupInitialConditions(), NozzleSelfTest::setupInitialConditions(), NewtonsCradleSelfTest::setupInitialConditions(), SquarePacking::setupInitialConditions(), ParticleCreation::setupInitialConditions(), DPM::setupInitialConditions(), GetDistanceAndNormalForTriangleWalls::setupInitialConditions(), TriangulatedScrewSelfTest::setupInitialConditions(), TriangulatedStepWallSelfTest::setupInitialConditions(), TriangulatedWallSelfTest::setupInitialConditions(), UnionOfWalls::setupInitialConditions(), DrumRot::setupInitialConditions(), RotatingDrum::setupInitialConditions(), SingleParticle< SpeciesType >::setupInitialConditions(), InitialConditions< SpeciesType >::setupInitialConditions(), SphericalIndenter::setupInitialConditions(), Wall::setupInitialConditions(), EllipticalSuperQuadricCollision::setupInitialConditions(), SphericalSuperQuadricCollision::setupInitialConditions(), VisualisationTest::setupInitialConditions(), HertzianSinterForceUnitTest::setupInitialConditions(), MpiPeriodicBoundaryUnitTest::setupInitialConditions(), ChuteBottom::setupInitialConditions(), MembraneDemo::setUpMembrane(), InsertionBoundary::setVariableVolumeFlowRate(), Siegen::Siegen(), DPMBase::signalHandler(), SingleParticleIndenter::SingleParticleIndenter(), SinterPair::SinterPair(), Slide::Slide(), DPMBase::solve(), SphericalIndenter::SphericalIndenter(), Statistics(), SubcriticalMaserBoundary::SubcriticalMaserBoundary(), SubcriticalMaserBoundaryTESTMPI2Test::SubcriticalMaserBoundaryTESTMPI2Test(), BoundingRadiusTester::test(), ContactDetectionTester::test(), ContactDetectionWithWallTester::test(), InertiaTensorTester::test(), ShapeGradientHessianTester::test(), VolumeTest::test(), Packing::test(), RNG::test(), test1(), test2(), testCGHandler(), transformMercuryToVTK(), Tutorial11::Tutorial11(), Box::upwardPass(), PSD::validateCumulativeDistribution(), PSD::validateProbabilityDensityDistribution(), viscoElasticUnitTest::viscoElasticUnitTest(), wallParticleTest(), DataFiles::write(), SingleParticle< SpeciesType >::writeEneTimeStep(), Mercury3DRestart::writeOutputFiles(), Mercury3DRestarter::writeOutputFiles(), CFile::writeP4C(), CFile::writeP4P(), CFile::writeP4W(), DPMBase::writePythonFileForVTKVisualisation(), CFile::writeRestart(), HorizontalMixer::writeScript(), DataFiles::writeTimeStep(), LevelSetWall::writeToFile(), ChutePeriodic::writeToLocalFolder(), CFile::~CFile(), and FileReader::~FileReader().

◆ logger

Logger<MERCURY_LOGLEVEL> logger("MercuryKernel")

Definition of different loggers with certain modules. A user can define its own custom logger here.

Default logger. Use this for general logging.

For very specific modules, define your own logger. If you want to make extensive use of Debug messages, please use a custom logger as well, to prevent polluting the output.

Referenced by SilbertHstop::actionAfterTimeStep(), DPM::actionsAfterSolve(), ForceLawsMPI2Test::actionsAfterSolve(), MaserRepeatedOutInMPI2Test::actionsAfterSolve(), ParameterStudy1DDemo::actionsAfterSolve(), ParameterStudy2DDemo::actionsAfterSolve(), ParameterStudy3DDemo::actionsAfterSolve(), PSDManualInsertionSelfTest::actionsAfterSolve(), Contact::actionsAfterSolve(), SphericalSuperQuadricCollision::actionsAfterSolve(), SpeciesTest::actionsAfterSolve(), BaseCluster::actionsAfterSolve(), LeesEdwardsDemo::actionsAfterTimeStep(), TimeDependentPeriodicBoundary3DSelfTest::actionsAfterTimeStep(), TimeDependentPeriodicBoundaryTest::actionsAfterTimeStep(), Chutebelt::actionsAfterTimeStep(), NozzleDemo::actionsAfterTimeStep(), TwoByTwoMPIDomainMPI4Test::actionsAfterTimeStep(), HourGlass::actionsAfterTimeStep(), NozzleSelfTest::actionsAfterTimeStep(), PolydisperseInsertionBoundarySelfTest::actionsAfterTimeStep(), SphericalIndenter::actionsAfterTimeStep(), BouncingSuperQuadric::actionsAfterTimeStep(), GranularCollapse::actionsAfterTimeStep(), SphericalSuperQuadricCollision::actionsAfterTimeStep(), ContactDetectionNormalSpheresTest::actionsAfterTimeStep(), ContactDetectionRotatedSpheresTest::actionsAfterTimeStep(), MercuryProblem::actionsAfterTimeStep(), Tutorial11::actionsAfterTimeStep(), DrivenParticleClass::actionsAfterTimeStep(), BaseCluster::actionsAfterTimeStep(), BaseBoundary::actionsBeforeTimeLoop(), ParameterStudy1DDemo::actionsBeforeTimeLoop(), ParameterStudy2DDemo::actionsBeforeTimeLoop(), ParameterStudy3DDemo::actionsBeforeTimeLoop(), SphericalIndenter::actionsBeforeTimeLoop(), Chutebelt::actionsBeforeTimeStep(), LawinenBox::actionsBeforeTimeStep(), DPM::actionsBeforeTimeStep(), SmoothChute::actionsBeforeTimeStep(), ForceLawsMPI2Test::actionsBeforeTimeStep(), DrumRot::actionsBeforeTimeStep(), RotatingDrum::actionsBeforeTimeStep(), PeriodicWallsWithSlidingFrictionUnitTest::actionsBeforeTimeStep(), SaveCountUnitTest::actionsBeforeTimeStep(), Chutebelt::actionsOnRestart(), AirySavageHutter::actionsOnRestart(), DrumRot::actionsOnRestart(), BaseCluster::actionsOnRestart(), ConstantMassFlowMaserBoundary::activateMaser(), SubcriticalMaserBoundary::activateMaser(), SubcriticalMaserBoundaryTEST::activateMaser(), IntersectionOfWalls::add3PointObject(), ChutePeriodic::add_flow_particles(), PossibleContactList::add_PossibleContact(), ParticleHandler::addExistingObject(), Chute::addFlowParticlesCompactly(), PolydisperseInsertionBoundary::addGenerandum(), ParticleHandler::addGhostObject(), LocalExpansion::addLocalExpansionCoefficients(), Multipole::addMultipoleCoefficients(), ParticleHandler::addObject(), WallHandler::addObject(), addObject(), IntersectionOfWalls::addObject(), NautaMixer::addParticles(), NautaMixer::addParticlesAtWall(), BaseWall::addParticlesAtWall(), Domain::addParticlesToLists(), ConstantMassFlowMaserBoundary::addParticleToMaser(), SubcriticalMaserBoundary::addParticleToMaser(), IntersectionOfWalls::addPlate(), NautaMixer::addSpeciesAndSetTimeStepAndSaveCount(), IntersectionOfWalls::addTetra(), IntersectionOfWalls::addTetraSTL(), helpers::addToFile(), Membrane::applyPressure(), HGridOptimiser::applyStep(), Membrane::Edge::applyStretchForce(), AxisymmetricIntersectionOfWalls::AxisymmetricIntersectionOfWalls(), BaseBoundary::BaseBoundary(), BaseCG::BaseCG(), BaseCluster::BaseCluster(), BaseClusterInsertionBoundary::BaseClusterInsertionBoundary(), BaseHandler< T >::BaseHandler(), BaseInteractable::BaseInteractable(), BaseParticle::BaseParticle(), BaseSpecies::BaseSpecies(), BaseWall::BaseWall(), BasicIntersectionOfWalls::BasicIntersectionOfWalls(), BasicUnionOfWalls::BasicUnionOfWalls(), BondedInteraction::BondedInteraction(), BoundaryHandler::BoundaryHandler(), HGridOptimiser::calcDfDx(), HGridOptimiser::calculateDiffWork(), BaseCluster::calculateTimeStep(), HGridOptimiser::calculateWork(), CFile::CFile(), ChargedBondedInteraction::ChargedBondedInteraction(), mathsFunc::chebyshev(), Funnel::check_funnel(), DeletionBoundary::checkBoundaryAfterParticleMoved(), SubcriticalMaserBoundaryTEST::checkBoundaryAfterParticleMoved(), StressStrainControlBoundary::checkBoundaryAfterParticlesMove(), DropletBoundary::checkBoundaryAfterParticlesMove(), SubcriticalMaserBoundaryTEST::checkBoundaryAfterParticlesMove(), FixedClusterInsertionBoundary::checkBoundaryBeforeTimeStep(), InsertionBoundary::checkBoundaryBeforeTimeStep(), RandomClusterInsertionBoundary::checkBoundaryBeforeTimeStep(), MeshTriangle::checkInteractions(), HGridOptimiser::checkLimit(), MercuryBase::checkParticleForInteractionLocal(), DPMBase::checkSettings(), checkTemplate(), Chute::Chute(), CircularPeriodicBoundary::CircularPeriodicBoundary(), Chute::cleanChute(), BaseCG::clear(), ClosedCSCRestart::ClosedCSCRestart(), ClosedCSCRun::ClosedCSCRun(), ClosedCSCStats::ClosedCSCStats(), ClosedCSCWalls::ClosedCSCWalls(), ConstantMassFlowMaserBoundary::closeMaser(), ClusterGenerator::ClusterGenerator(), Coil::Coil(), commandLineCG(), helpers::compare(), compareParticles(), ChargedBondedInteraction::computeAdhesionForce(), DPMBase::computeAllForces(), LinearPlasticViscoelasticNormalSpecies::computeBondNumberMax(), SuperQuadricParticle::computeContactPoint(), ScrewsymmetricIntersectionOfWalls::computeDeltaZ(), Box::computeFlow(), FrictionInteraction::computeFrictionForce(), BaseCluster::computeInternalStructure(), ParticleHandler::computeLargestParticle(), SuperQuadricParticle::computeMass(), SinterInteraction::computeNormalForce(), DPMBase::computeOneTimeStep(), HertzianSinterInteraction::computeSinterForce(), SlidingFrictionInteraction::computeSlidingSpringSuperQuadric(), ParticleHandler::computeSmallestParticle(), StressStrainControlBoundary::computeStrainRate(), HertzianSinterNormalSpecies::computeTimeStep(), SinterNormalSpecies::computeTimeStep(), Mercury3D::computeWallForces(), SmallMatrix< numberOfRows, numberOfColumns >::computeWedgeStuffVector(), ConstantMassFlowMaserBoundary::ConstantMassFlowMaserBoundary(), DPMBase::constructor(), MercuryLogo::constructTextAsParticles(), PSD::convertProbabilityDensityToProbabilityDensityNumberDistribution(), AngledPeriodicBoundary::copy(), PolydisperseInsertionBoundary::copy(), CFile::copy(), CFile::copy_data(), CFile::copy_fstat(), SubcriticalMaserBoundaryTEST::copyExtraParticles(), MPIInteraction< NormalForceInteraction, FrictionForceInteraction, AdhesiveForceInteraction >::copyFromInteraction(), MixedSpecies< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::copyInto(), Species< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::copyInto(), Funnel::create_funnel(), Slide::create_rough_wall(), Chute::createBottom(), CurvyChute::createBottom(), DomainHandler::createMesh(), BaseInteraction::createMPIInteractionDataArray(), BoundaryHandler::createObject(), ParticleHandler::createObject(), WallHandler::createObject(), CSCInit::CSCInit(), CSCRestart::CSCRestart(), CSCStats::CSCStats(), CSCWalls::CSCWalls(), CubeDeletionBoundary::CubeDeletionBoundary(), PSD::cutHighSizeRatio(), PSD::cutoffCumulativeNumber(), DataFiles::DataFiles(), SubcriticalMaserBoundary::deactivateMaser(), SubcriticalMaserBoundaryTEST::deactivateMaser(), Domain::debugInformation(), DPMBase::decompose(), BaseInteraction::deleteMPIInteractionDataArray(), DeletionBoundary::DeletionBoundary(), SmallMatrix< numberOfRows, numberOfColumns >::determinant(), MPIContainer::directReceive(), MPIContainer::directSend(), DomainHandler::DomainHandler(), Box::downwardPass(), CGHandler::evaluateDataFiles(), CGHandler::evaluateRestartFiles(), SubcriticalMaserBoundaryTEST::extendBottom(), FileReader::FileReader(), DPMBase::fillDomainWithParticles(), PeriodicBoundaryHandler::findNewParticle(), DPMBase::findNextExistingDataFile(), FixedClusterInsertionBoundary::FixedClusterInsertionBoundary(), Domain::flushParticlesFromList(), LiquidMigrationWilletInteraction::form(), InsertionBoundary::generateParticle(), PolydisperseInsertionBoundary::generateParticle(), DPMBase::get1DParametersFromRunNumber(), DPMBase::get2DParametersFromRunNumber(), DPMBase::get3DParametersFromRunNumber(), SphericalIndenter::getBedHeight(), SinterNormalSpecies::getCollisionTime(), LinearPlasticViscoelasticNormalSpecies::getCollisionTime(), LinearViscoelasticNormalSpecies::getCollisionTime(), SmallMatrix< numberOfRows, numberOfColumns >::getColumn(), Quaternion::getComponent(), Vec3D::getComponent(), SuperQuadricParticle::getContactPointPlanB(), NurbsSurface::getDistance(), AxisymmetricIntersectionOfWalls::getDistanceAndNormal(), HorizontalBaseScrew::getDistanceAndNormal(), ScrewsymmetricIntersectionOfWalls::getDistanceAndNormal(), BasicIntersectionOfWalls::getDistanceAndNormal(), SimpleDrumSuperquadrics::getDistanceAndNormal(), VChute::getDistanceAndNormal(), IntersectionOfWalls::getDistanceAndNormal(), Screw::getDistanceAndNormalLabCoordinates(), BaseWall::getDistanceNormalOverlapSuperquadric(), SimpleDrumSuperquadrics::getDistanceNormalOverlapSuperquadric(), BaseInteraction::getEffectiveMass(), BaseInteraction::getEffectiveRadius(), ChargedBondedInteraction::getElasticEnergy(), ParticleHandler::getFastestParticle(), ParticleHandler::getFastestParticleLocal(), BaseWall::getFurthestPointSuperQuadric(), ParticleHandler::getHighestPositionComponentParticle(), ParticleHandler::getHighestPositionComponentParticleLocal(), ParticleHandler::getHighestVelocityComponentParticle(), ParticleHandler::getHighestVelocityComponentParticleLocal(), BaseInteraction::getI(), BaseInteraction::getInteractionDetails(), BaseWall::getInteractionWith(), MeshTriangle::getInteractionWith(), BaseWall::getInteractionWithSuperQuad(), ParticleSpecies::getLargestInverseParticleMassLocal(), ParticleHandler::getLargestParticle(), LiquidMigrationPeriodicBoundaryInteraction::getLiquidBridgeVolume(), LiquidMigrationPeriodicBoundaryInteraction::getLiquidFilmVolume(), ParticleHandler::getLowestPositionComponentParticle(), ParticleHandler::getLowestPositionComponentParticleLocal(), ParticleHandler::getLowestVelocityComponentParticle(), ParticleHandler::getLowestVelocityComponentParticleLocal(), Sintering::getMeanPlasticOverlap(), regimeForceUnitTest::getMeanRelativeContactRadius(), SpeciesHandler::getMixedObject(), getName(), PossibleContact::getNext(), RNG::getNormalVariate(), ParticleHandler::getNumberOfRealObjectsLocal(), BaseHandler< T >::getObject(), BasicIntersectionOfWalls::getObject(), BasicUnionOfWalls::getObject(), BaseHandler< T >::getObjectById(), BaseHandler< T >::getObjectsById(), HGridOptimiser::getOptimalDistribution(), PossibleContact::getOtherParticle(), BaseInteraction::getP(), ParticleHandler::getParticleAttribute(), ParticleHandler::getParticleAttributeLocal(), InsertionBoundary::getParticleToCopy(), helpers::getPath(), TimeDependentPeriodicBoundary::getPlanewiseShift(), RNG::getPoissonVariate(), PossibleContact::getPrevious(), PSD::getRadiusByQuantile(), RNG::getRandomNumber(), SmallMatrix< numberOfRows, numberOfColumns >::getRow(), helpers::getSaveCountFromNumberOfSavesAndTimeMaxAndTimeStep(), ParticleHandler::getSmallestParticle(), Time2Finish::getTime2Finish(), ChuteWithHopper::getTimeStepRatio(), BaseParticle::getVolume(), SuperQuadricParticle::getVolume(), ParticleSpecies::getVolumeFromRadius(), Mercury3DRestart::getWallTime(), helpers::gnuplot(), mathsFunc::goldenSectionSearch(), HGridOptimiser::goldenSectionSearch(), helpers::readFromCommandLine< std::string >(), HGrid::HGrid(), Mercury3D::hGridFindContactsWithTargetCell(), Mercury2D::hGridFindContactsWithTargetCell(), Mercury2D::hGridFindParticleContacts(), Mercury3D::hGridFindParticleContacts(), Mercury3D::hGridGetInteractingParticleList(), Mercury2D::hGridHasParticleContacts(), MercuryBase::hGridNeedsRebuilding(), MercuryBase::hGridRebuild(), HGridOptimiser::histNumberParticlesPerCell(), HorizontalBaseScrew::HorizontalBaseScrew(), HorizontalScrew::HorizontalScrew(), HstopCurve(), Indenter::Indenter(), InfiniteWall::InfiniteWall(), HGrid::info(), InitialConditions< SpeciesType >::InitialConditions(), HGridOptimiser::initialise(), HGridOptimiser::initialisePolyFunc(), MembraneDemo::initializeSpecies(), InsertionBoundary::insertParticle(), BaseCluster::insertParticles(), InsertionBoundary::insertParticles(), HGrid::insertParticleToHgrid(), InteractionHandler::InteractionHandler(), IntersectionOfWalls::IntersectionOfWalls(), BaseWall::intersectVTK(), HorizontalMixer::introduceParticlesAtWall(), ContactDetectionIntersectionOfWallsTest::introduceParticlesAtWall(), HorizontalMixer::introduceParticlesInDomain(), HorizontalMixer::introduceSingleParticle(), MatrixSymmetric3D::inverse(), SmallMatrix< numberOfRows, numberOfColumns >::inverse(), ConstantMassFlowMaserBoundary::isCopying(), LawinenBox::LawinenBox(), LeesEdwardsBoundary::LeesEdwardsBoundary(), LeesEdwardsDemo::LeesEdwardsDemo(), SmallVector< numberOfRows >::length(), LevelSetWall::LevelSetWall(), load(), Membrane::loadFromSTL(), helpers::loadingTest(), Membrane::loadVertexPositions(), main(), ChuteBottom::makeRoughBottom(), BaseVTKWriter< H >::makeVTKFileWithHeader(), Membrane::Membrane(), Mercury2D::Mercury2D(), Mercury3D::Mercury3D(), MercuryBase::MercuryBase(), LinearPlasticViscoelasticNormalSpecies::mix(), Species< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::mixAll(), MixedSpecies< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::mixAll(), MixedSpecies< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::MixedSpecies(), SubcriticalMaserBoundaryTEST::modifyPeriodicComplexity(), helpers::more(), MovingWalls::MovingWalls(), MPIContainer::MPIContainer(), helpers::normalAndTangentialLoadingTest(), Quaternion::normalise(), Vec3D::normalise(), NurbsSurface::NurbsSurface(), NurbsWall::NurbsWall(), helpers::objectivenessTest(), BaseParticle::oldRead(), BinaryReader::openFile(), NumericalVector< std::complex< double > >::operator()(), SmallVector< numberOfRows >::operator()(), SmallMatrix< numberOfRows, numberOfColumns >::operator()(), NumericalVector< std::complex< double > >::operator*(), SmallMatrix< numberOfRows, numberOfColumns >::operator*(), operator*(), NumericalVector< std::complex< double > >::operator+(), NumericalVector< std::complex< double > >::operator+=(), NumericalVector< std::complex< double > >::operator-(), NumericalVector< std::complex< double > >::operator-=(), operator<<(), BoundaryHandler::operator=(), DomainHandler::operator=(), InteractionHandler::operator=(), IntersectionOfWalls::operator=(), ParticleHandler::operator=(), PeriodicBoundaryHandler::operator=(), SpeciesHandler::operator=(), TriangulatedWall::operator=(), operator>>(), SmallMatrix< numberOfRows, numberOfColumns >::operator[](), NumericalVector< std::complex< double > >::operator[](), SmallVector< numberOfRows >::operator[](), CGFields::OrientationField::OrientationField(), STLReader::output(), DPMBase::outputInteractionDetails(), DPMBase::outputXBallsData(), LiquidMigrationSelfTest::outputXBallsData(), SuperQuadricParticle::overlapFromContactPoint(), ParabolaChute::ParabolaChute(), ParhamiMcMeekingSinterInteraction::ParhamiMcMeekingSinterInteraction(), ParticleCreation::ParticleCreation(), ParticleHandler::ParticleHandler(), ParticleInclusion::ParticleInclusion(), particleParticleTest(), SubcriticalMaserBoundaryTEST::performActionsBeforeAddingParticles(), PeriodicBoundary::PeriodicBoundary(), PeriodicBoundaryHandler::PeriodicBoundaryHandler(), PointIsAboveCurve(), PolydisperseInsertionBoundary::PolydisperseInsertionBoundary(), PossibleContactList::PossibleContactList(), PSD::printPSD(), ClosedCSCRestart::printTime(), ClosedCSCRun::printTime(), ClosedCSCStats::printTime(), ClosedCSCWalls::printTime(), CSCInit::printTime(), CSCRestart::printTime(), CSCRun::printTime(), CSCStats::printTime(), CSCWalls::printTime(), DPMBase::printTime(), LawinenBox::printTime(), HorizontalMixer::printTime(), NozzleDemo::printTime(), VerticalMixer::printTime(), ForceLawsMPI2Test::printTime(), LiquidMigrationMPI2Test::printTime(), ParticleInclusion::printTime(), SilbertPeriodic::printTime(), CLiveStatistics< T >::printTime(), statistics_while_running< T >::printTime(), vibratedBed::printTime(), ConstantMassFlowMaserBoundaryMixedSpeciesSelfTest::printTime(), ConstantMassFlowMaserSelfTest::printTime(), CubeDeletionBoundarySelfTest::printTime(), DeletionBoundarySelfTest::printTime(), DistributionToPSDSelfTest::printTime(), InsertionBoundarySelfTest::printTime(), MultiplePSDSelfTest::printTime(), NozzleSelfTest::printTime(), PolydisperseInsertionBoundarySelfTest::printTime(), PSDManualInsertionSelfTest::printTime(), PSDSelfTest::printTime(), LiquidMigrationSelfTest::printTime(), InitialConditions< SpeciesType >::printTime(), SinterPair::printTime(), SphericalIndenter::printTime(), DPM::printTime(), protectiveWall::printTime(), RandomClusterInsertionBoundarySelfTest::printTime(), viscoElasticUnitTest::printTime(), LiquidMigrationPeriodicBoundaryInteraction::printTime(), regimeForceUnitTest::printTime(), TangentialSpringEnergyConservationUnitTest::printTime(), BaseCluster::printTime(), Chute::printTime(), PeriodicBoundaryHandler::processLocalGhostParticles(), PeriodicBoundaryHandler::processLocalInteractionData(), Domain::processReceivedBoundaryParticleData(), PeriodicBoundaryHandler::processReceivedGhostParticleData(), Domain::processReceivedInteractionData(), HGridOptimiser::radius2Cell(), RandomClusterInsertionBoundary::RandomClusterInsertionBoundary(), FileReader::read(), csvReader::read(), BaseHandler< T >::read(), InteractionHandler::read(), ConstantMassFlowMaserBoundary::read(), SubcriticalMaserBoundary::read(), SubcriticalMaserBoundaryTEST::read(), Domain::read(), SuperQuadricParticle::read(), Membrane::read(), DPMBase::read(), Funnel::read(), Chute::read(), BoundaryHandler::readAndAddObject(), InteractionHandler::readAndAddObject(), SpeciesHandler::readAndAddObject(), ParticleHandler::readAndCreateObject(), WallHandler::readAndCreateObject(), WallHandler::readAndCreateOldObject(), DPMBase::readArguments(), helpers::readArrayFromCommandLine(), helpers::readArrayFromFile(), DPMBase::readDataFile(), helpers::readFromCommandLine(), helpers::readFromFile(), SilbertPeriodic::readNextArgument(), DPMBase::readNextArgument(), Mercury3DRestart::readNextArgument(), DPMBase::readNextDataFile(), DPMBase::readNextFStatFile(), SpeciesHandler::readOldObject(), DPMBase::readParAndIniFiles(), DPMBase::readRestartFile(), WallHandler::readTriangleWall(), helpers::readVectorFromCommandLine(), TriangulatedWall::readVTK(), MPIContainer::receive(), regimeForceUnitTest::regimeForceUnitTest(), RegimeSinterInteraction::RegimeSinterInteraction(), PossibleContactList::remove_ParticlePosibleContacts(), ParticleHandler::removeGhostObject(), BaseInteractable::removeInteraction(), BaseHandler< T >::removeLastObject(), BaseHandler< T >::removeObject(), ParticleHandler::removeObject(), DPMBase::removeOldFiles(), ClosedCSCRestart::restart(), CSCRestart::restart(), CGHandler::restart(), RestrictedWall::RestrictedWall(), FlowRule::run(), statistics_while_running< T >::run(), AngleOfRepose::run(), vibratedBed::run(), LiquidMigrationWilletInteraction::rupture(), CSCInit::save(), Membrane::saveAsSTL(), SaveCountUnitTest::SaveCountUnitTest(), ClosedCSCWalls::saveWalls(), CSCWalls::saveWalls(), SingleParticle< SpeciesType >::scaleMass(), InitialConditions< SpeciesType >::scaleMass(), Screw::Screw(), ScrewsymmetricIntersectionOfWalls::ScrewsymmetricIntersectionOfWalls(), MPIContainer::send(), Domain::sendAndReceiveCount(), StressStrainControlBoundary::set(), NurbsSurface::set(), ParhamiMcMeekingSinterSpecies::set(), PeriodicBoundary::set(), InfiniteWall::set(), Funnel::set_funfr(), AxisymmetricHopper::set_FunnelInflowHeight(), Chutebelt::set_particle_numbers(), Cstatic2d::set_particle_properties(), Cstatic3D::set_particle_properties(), Chutebelt::set_radiusLarge(), AngleOfRepose::set_study(), SilbertPeriodic::set_study(), Slide::set_Walls(), ChargedBondedSpecies::setAdhesionForceMax(), ReversibleAdhesiveSpecies::setAdhesionForceMax(), ChargedBondedSpecies::setAdhesionStiffness(), ReversibleAdhesiveSpecies::setAdhesionStiffness(), HeatFluidCoupledSpecies< NormalForceSpecies >::setAmbientEquilibriumMoistureContent(), HeatFluidCoupledSpecies< NormalForceSpecies >::setAmbientHumidity(), HeatFluidCoupledSpecies< NormalForceSpecies >::setAmbientTemperature(), HeatFluidCoupledSpecies< NormalForceSpecies >::setAmbientVapourConcentration(), SuperQuadricParticle::setAxesAndExponents(), CurvyChute::setBasalDensity(), CurvyChute::setBasalDisorder(), CurvyChute::setBasalSizeDispersity(), BondedSpecies::setBondDissipation(), ChargedBondedSpecies::setBondDissipation(), BondedSpecies::setBondForceMax(), ChargedBondedSpecies::setBondForceMax(), ChargedBondedSpecies::setCharge(), Chute::setChuteAngle(), Chute::setChuteAngleAndMagnitudeOfGravity(), ChuteWithHopper::setChuteLength(), BaseCluster::setClusterId(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficient(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficientNoDispt(), LinearViscoelasticNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), BaseCluster::setCollisionTimeOverTimeStep(), SinterLinNormalSpecies::setComplianceZero(), SinterNormalSpecies::setComplianceZero(), Quaternion::setComponent(), Vec3D::setComponent(), SinterNormalSpecies::setConstantC1(), BaseNormalForce::setConstantRestitution(), LiquidBridgeWilletSpecies::setContactAngle(), LiquidMigrationWilletSpecies::setContactAngle(), ParticleSpecies::setDensity(), FlowRule::setDensityVariation(), HertzianSinterNormalSpecies::setDissipation(), LinearPlasticViscoelasticNormalSpecies::setDissipation(), LinearViscoelasticNormalSpecies::setDissipation(), SinterLinNormalSpecies::setDissipation(), SinterNormalSpecies::setDissipation(), LiquidMigrationWilletSpecies::setDistributionCoefficient(), PSD::setDistributionNormal(), DPMBase::setDomain(), BaseCluster::setDomainLimits(), MindlinSpecies::setEffectiveShearModulus(), BaseCluster::setEnergyRatioTolerance(), HeatFluidCoupledSpecies< NormalForceSpecies >::setEvaporationCoefficientA(), HeatFluidCoupledSpecies< NormalForceSpecies >::setEvaporationCoefficientB(), SuperQuadricParticle::setExponents(), CGFields::LiquidMigrationFields::setFields(), CGFields::OrientationField::setFields(), Chute::setFixedParticleRadius(), SinterLinNormalSpecies::setFluidity(), PolydisperseInsertionBoundary::setGenerandum(), AxisymmetricWallSelfTest::setGeometry(), BaseCG::setH(), HeatFluidCoupledSpecies< NormalForceSpecies >::setHeatCapacity(), ThermalSpecies< NormalForceSpecies >::setHeatCapacity(), ChuteWithHopper::setHopper(), ChuteWithHopper::setHopperShift(), BaseCG::setHX(), BaseCG::setHY(), BaseCG::setHZ(), BaseParticle::setIndSpecies(), BaseWall::setIndSpecies(), Chute::setInflowParticleRadius(), Chute::setInflowVelocity(), Chute::setInflowVelocityVariance(), ChargedBondedSpecies::setInteractionDistance(), ReversibleAdhesiveSpecies::setInteractionDistance(), DomainHandler::setInteractionDistance(), SinterNormalSpecies::setInverseSinterViscosity(), HeatFluidCoupledSpecies< NormalForceSpecies >::setLatentHeatVaporization(), LiquidBridgeWilletSpecies::setLiquidBridgeVolume(), LiquidMigrationWilletSpecies::setLiquidBridgeVolumeMax(), LiquidMigrationWilletSpecies::setLiquidBridgeVolumeMin(), HeatFluidCoupledSpecies< NormalForceSpecies >::setLiquidDensity(), File::setlogarithmicSaveCount(), BaseParticle::setMass(), MeshTriangle::setMass(), BaseParticle::setMassForP3Statistics(), HeatFluidCoupledSpecies< NormalForceSpecies >::setMassTransferCoefficient(), DPMBase::setMax(), Chute::setMaxInflowParticleRadius(), DPMBase::setMeanVelocityAndKineticEnergy(), DPMBase::setMin(), Chute::setMinInflowParticleRadius(), File::setName(), PossibleContact::setNextPosition(), DPMBase::setNumberOfDomains(), BaseCluster::setNumberOfInternalStructurePoints(), DPMBase::setNumberOfOMPThreads(), BaseCluster::setNumberOfParticles(), RandomClusterInsertionBoundary::setNumberOfParticlesPerCluster(), StatisticsVector< XZ >::setNZ(), SinterNormalSpecies::setParhamiMcKeeping(), DPMBase::setParticleDimensions(), Membrane::setParticleRadius(), InsertionBoundary::setParticleToCopy(), HertzianSinterNormalSpecies::setPlasticParameters(), LinearPlasticViscoelasticNormalSpecies::setPlasticParameters(), SinterNormalSpecies::setPlasticParameters(), IntersectionOfWalls::setPointsAndLines(), MindlinSpecies::setPoissonRatio(), FlowRule::setPolydispersity(), FixedClusterInsertionBoundary::setPositionsAndRadii(), PossibleContact::setPreviousPosition(), PSD::setPSDFromCSV(), SimpleDrumSuperquadrics::setRadius(), SuperQuadricParticle::setRadius(), SphericalWall::setRadius(), BaseCluster::setRadiusCluster(), BaseClusterInsertionBoundary::setRadiusMicroParticle(), BaseCluster::setRadiusParticle(), Domain::setRange(), FrictionSpecies::setRollingDissipation(), MindlinRollingTorsionSpecies::setRollingDissipation(), FrictionSpecies::setRollingFrictionCoefficient(), MindlinRollingTorsionSpecies::setRollingFrictionCoefficient(), FrictionSpecies::setRollingFrictionCoefficientStatic(), MindlinRollingTorsionSpecies::setRollingFrictionCoefficientStatic(), FrictionSpecies::setRollingStiffness(), Chute::setRoughBottomType(), SinterLinNormalSpecies::setSeparationDis(), SinterNormalSpecies::setSeparationDis(), LevelSetWall::setShapeCube(), LevelSetWall::setShapeCylinder(), LevelSetWall::setShapeDiamond(), LevelSetWall::setShapeFourSided(), LevelSetWall::setShapeSphere(), SinterLinNormalSpecies::setSinterAdhesion(), SinterNormalSpecies::setSinterAdhesion(), SinterNormalSpecies::setSinterForceAndTime(), HertzianSinterNormalSpecies::setSinterRate(), SinterLinNormalSpecies::setSinterRate(), SinterNormalSpecies::setSinterRate(), SinterLinNormalSpecies::setSinterType(), SinterNormalSpecies::setSinterType(), Penetration::setSize(), BaseCluster::setSizeDispersityParticle(), MindlinSpecies::setSlidingDissipation(), SlidingFrictionSpecies::setSlidingDissipation(), MindlinSpecies::setSlidingFrictionCoefficient(), SlidingFrictionSpecies::setSlidingFrictionCoefficient(), MindlinSpecies::setSlidingFrictionCoefficientStatic(), SlidingFrictionSpecies::setSlidingFrictionCoefficientStatic(), SlidingFrictionSpecies::setSlidingStiffness(), DPMBase::setSoftStop(), BaseCluster::setSpecies(), BaseInteractable::setSpecies(), Membrane::setSpringConstant(), LinearViscoelasticNormalSpecies::setStiffness(), CurvyChute::setSurface(), LiquidBridgeWilletSpecies::setSurfaceTension(), LiquidMigrationWilletSpecies::setSurfaceTension(), SinterLinNormalSpecies::setSurfTension(), SinterNormalSpecies::setSurfTension(), DPMBase::setSystemDimensions(), HeatFluidCoupledSpecies< NormalForceSpecies >::setThermalConductivity(), ThermalSpecies< NormalForceSpecies >::setThermalConductivity(), ChuteBottom::setThickness(), Membrane::setThickness(), ThermalParticle::setTimeDependentTemperature(), DPMBase::setTimeMax(), DPMBase::setTimeStep(), FrictionSpecies::setTorsionDissipation(), MindlinRollingTorsionSpecies::setTorsionDissipation(), FrictionSpecies::setTorsionFrictionCoefficient(), MindlinRollingTorsionSpecies::setTorsionFrictionCoefficient(), FrictionSpecies::setTorsionFrictionCoefficientStatic(), MindlinRollingTorsionSpecies::setTorsionFrictionCoefficientStatic(), FrictionSpecies::setTorsionStiffness(), ChutePeriodic::setup(), ClosedCSCWalls::setupInitialConditions(), CSCInit::setupInitialConditions(), CSCRun::setupInitialConditions(), CSCWalls::setupInitialConditions(), my_problem::setupInitialConditions(), free_cooling::setupInitialConditions(), restart::setupInitialConditions(), LeesEdwardsDemo::setupInitialConditions(), TimeDependentPeriodicBoundaryTest::setupInitialConditions(), SegregationPeriodic::setupInitialConditions(), Chutebelt::setupInitialConditions(), LawinenBox::setupInitialConditions(), AirySavageHutter::setupInitialConditions(), MercuryLogo::setupInitialConditions(), SmoothChute::setupInitialConditions(), NozzleDemo::setupInitialConditions(), VerticalMixer::setupInitialConditions(), Funnel::setupInitialConditions(), Binary::setupInitialConditions(), ForceLawsMPI2Test::setupInitialConditions(), LiquidMigrationMPI2Test::setupInitialConditions(), CubicCell::setupInitialConditions(), FreeCooling2DinWalls::setupInitialConditions(), MarbleRun::setupInitialConditions(), StressStrainControl::setupInitialConditions(), SilbertPeriodic::setupInitialConditions(), GetDistanceAndNormalForIntersectionOfWalls::setupInitialConditions(), GetDistanceAndNormalForScrew::setupInitialConditions(), GetDistanceAndNormalForTriangleWall::setupInitialConditions(), Drum::setupInitialConditions(), Penetration::setupInitialConditions(), Silo::setupInitialConditions(), LeesEdwardsSelfTest::setupInitialConditions(), NozzleSelfTest::setupInitialConditions(), NewtonsCradleSelfTest::setupInitialConditions(), SquarePacking::setupInitialConditions(), ParticleCreation::setupInitialConditions(), DPM::setupInitialConditions(), CoilSelfTest::setupInitialConditions(), GetDistanceAndNormalForTriangleWalls::setupInitialConditions(), TriangulatedScrewSelfTest::setupInitialConditions(), TriangulatedStepWallSelfTest::setupInitialConditions(), TriangulatedWallSelfTest::setupInitialConditions(), UnionOfWalls::setupInitialConditions(), DrumRot::setupInitialConditions(), RotatingDrum::setupInitialConditions(), SingleParticle< SpeciesType >::setupInitialConditions(), InitialConditions< SpeciesType >::setupInitialConditions(), SphericalIndenter::setupInitialConditions(), Wall::setupInitialConditions(), BouncingSuperQuadric::setupInitialConditions(), EllipticalSuperQuadricCollision::setupInitialConditions(), SlidingSpheresUnitTest::setupInitialConditions(), SphericalSuperQuadricCollision::setupInitialConditions(), ContactDetectionNormalSpheresTest::setupInitialConditions(), ContactDetectionRotatedSpheresTest::setupInitialConditions(), VisualisationTest::setupInitialConditions(), ArcWallUnitTest::setupInitialConditions(), HertzianSinterForceUnitTest::setupInitialConditions(), MovingWalls::setupInitialConditions(), MpiPeriodicBoundaryUnitTest::setupInitialConditions(), BaseCluster::setupInitialConditions(), Chute::setupInitialConditions(), ChuteBottom::setupInitialConditions(), MembraneDemo::setUpMembrane(), ChargedBondedSpecies::setVanDerWaalsForceMax(), InsertionBoundary::setVariableVolumeFlowRate(), BaseCluster::setVelocityDampingModulus(), DPMBase::setXMax(), DPMBase::setXMin(), DPMBase::setYMax(), DPMBase::setYMin(), DPMBase::setZMax(), DPMBase::setZMin(), Siegen::Siegen(), DPMBase::signalHandler(), SimpleDrumSuperquadrics::SimpleDrumSuperquadrics(), SineWall::SineWall(), SingleParticleIndenter::SingleParticleIndenter(), SinterPair::SinterPair(), Slide::Slide(), SmallMatrix< numberOfRows, numberOfColumns >::SmallMatrix(), SmallVector< numberOfRows >::SmallVector(), DPMBase::solve(), SmallMatrix< numberOfRows, numberOfColumns >::solve(), CGCoordinates::spaceEvenly(), Species< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::Species(), SpeciesHandler::SpeciesHandler(), SphericalIndenter::SphericalIndenter(), SphericalWall::SphericalWall(), Statistics(), StressStrainControlBoundary::StressStrainControlBoundary(), SubcriticalMaserBoundary::SubcriticalMaserBoundary(), SubcriticalMaserBoundaryTESTMPI2Test::SubcriticalMaserBoundaryTESTMPI2Test(), SuperQuadricParticle::SuperQuadricParticle(), SlidingSpheresUnitTest::test(), BoundingRadiusTester::test(), ContactDetectionNormalSpheresTest::test(), ContactDetectionRotatedSpheresTest::test(), ContactDetectionTester::test(), ContactDetectionWithWallTester::test(), InertiaTensorTester::test(), ShapeGradientHessianTester::test(), VolumeTest::test(), Packing::test(), HertzContactRestitutionUnitTest::test(), RNG::test(), test1(), test2(), testCGHandler(), ShapeGradientHessianTester::testCushion(), ShapeGradientHessianTester::testEllipsoid(), ContactDetectionTester::testEllipsoidsContact(), ContactDetectionWithWallTester::testEllipsoidsContact(), ShapeGradientHessianTester::testRoundedBeam(), ShapeGradientHessianTester::testSphere(), ContactDetectionTester::testSpheresContact(), ContactDetectionWithWallTester::testSpheresContact(), TimeDependentPeriodicBoundary::TimeDependentPeriodicBoundary(), TimeDependentPeriodicBoundary3DSelfTest::TimeDependentPeriodicBoundary3DSelfTest(), TimeDependentPeriodicBoundaryTest::TimeDependentPeriodicBoundaryTest(), transformMercuryToVTK(), Multipole::TranslateMultipoleExpansionTo(), TriangulatedWall::TriangulatedWall(), Tutorial11::Tutorial11(), Funnel::update_funnel(), DPMBase::updateGhostGrid(), PeriodicBoundaryHandler::updateMaserParticle(), Domain::updateParticlePosition(), PeriodicBoundaryHandler::updateParticles(), Domain::updateParticles(), PeriodicBoundaryHandler::updateParticleStatus(), MeshTriangle::updateVertexAndNormal(), Box::upwardPass(), MercuryBase::userHGridCellSize(), PSD::validateCumulativeDistribution(), PSD::validateProbabilityDensityDistribution(), viscoElasticUnitTest::viscoElasticUnitTest(), wallParticleTest(), DataFiles::write(), InsertionBoundary::write(), PolydisperseInsertionBoundary::write(), Domain::write(), SuperQuadricParticle::writeDebugMessageMiddleOfLoop(), SuperQuadricParticle::writeDebugMessageStep1(), SuperQuadricParticle::writeDebugMessageStep2(), SuperQuadricParticle::writeDebugMessageStep3(), SingleParticle< SpeciesType >::writeEneTimeStep(), Mercury3DRestart::writeOutputFiles(), Mercury3DRestarter::writeOutputFiles(), CFile::writeP4C(), CFile::writeP4P(), CFile::writeP4W(), DPMBase::writePythonFileForVTKVisualisation(), CFile::writeRestart(), HorizontalMixer::writeScript(), DataFiles::writeTimeStep(), LevelSetWall::writeToFile(), helpers::writeToFile(), ChutePeriodic::writeToLocalFolder(), BaseWall::writeVTK(), WallHandler::writeVTKBoundingBox(), AxisymmetricIntersectionOfWalls::~AxisymmetricIntersectionOfWalls(), BaseBoundary::~BaseBoundary(), BaseCluster::~BaseCluster(), BaseHandler< T >::~BaseHandler(), BaseInteractable::~BaseInteractable(), BaseInteraction::~BaseInteraction(), BaseParticle::~BaseParticle(), BaseSpecies::~BaseSpecies(), BaseWall::~BaseWall(), BasicIntersectionOfWalls::~BasicIntersectionOfWalls(), BasicUnionOfWalls::~BasicUnionOfWalls(), BoundaryHandler::~BoundaryHandler(), CFile::~CFile(), ClusterGenerator::~ClusterGenerator(), Coil::~Coil(), CubeDeletionBoundary::~CubeDeletionBoundary(), DeletionBoundary::~DeletionBoundary(), DomainHandler::~DomainHandler(), DropletBoundary::~DropletBoundary(), FileReader::~FileReader(), HeaterBoundary::~HeaterBoundary(), HGrid::~HGrid(), HorizontalBaseScrew::~HorizontalBaseScrew(), HorizontalScrew::~HorizontalScrew(), InfiniteWall::~InfiniteWall(), InteractionHandler::~InteractionHandler(), IntersectionOfWalls::~IntersectionOfWalls(), LevelSetWall::~LevelSetWall(), MercuryBase::~MercuryBase(), MixedSpecies< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::~MixedSpecies(), NurbsWall::~NurbsWall(), ParabolaChute::~ParabolaChute(), ParticleHandler::~ParticleHandler(), PeriodicBoundary::~PeriodicBoundary(), PeriodicBoundaryHandler::~PeriodicBoundaryHandler(), RestrictedWall::~RestrictedWall(), Screw::~Screw(), ScrewsymmetricIntersectionOfWalls::~ScrewsymmetricIntersectionOfWalls(), SimpleDrumSuperquadrics::~SimpleDrumSuperquadrics(), SineWall::~SineWall(), Species< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::~Species(), SpeciesHandler::~SpeciesHandler(), SphericalWall::~SphericalWall(), SubcriticalMaserBoundaryTEST::~SubcriticalMaserBoundaryTEST(), SuperQuadricParticle::~SuperQuadricParticle(), TimeDependentPeriodicBoundary::~TimeDependentPeriodicBoundary(), and TriangulatedWall::~TriangulatedWall().

◆ loggerOutput

Declaration of the output functions.

If the output needs to be redirected, please swap the loggerOutput pointer to your preferred LoggerOutput instance, and make sure this exists until AFTER an std::exit() invocation. (e.g. clean up with std::atexit())

Referenced by Logger< L, ASSERTS >::if(), main(), and Logger< L, ASSERTS >::operator()().

◆ loggerOutputDefaultImpl

LoggerOutput loggerOutputDefaultImpl

◆ VERBOSE

LL<Log::VERBOSE> VERBOSE

Verbose information.

Information which is not useful to anybody except those looking for weird behaviour. These should however still be clear in meaning.

Example: Finished creating a particle.

Default behaviour: ignore.

Referenced by BaseCluster::actionsAfterSolve(), BaseCluster::actionsAfterTimeStep(), BaseBoundary::actionsBeforeTimeLoop(), SmoothChute::actionsBeforeTimeStep(), PeriodicWallsWithSlidingFrictionUnitTest::actionsBeforeTimeStep(), BaseCluster::actionsOnRestart(), PossibleContactList::add_PossibleContact(), ConstantMassFlowMaserBoundary::addParticleToMaser(), SubcriticalMaserBoundary::addParticleToMaser(), HGridOptimiser::applyStep(), HGridOptimiser::calcDfDx(), BaseCluster::calculateTimeStep(), SubcriticalMaserBoundaryTEST::checkBoundaryAfterParticleMoved(), FixedClusterInsertionBoundary::checkBoundaryBeforeTimeStep(), InsertionBoundary::checkBoundaryBeforeTimeStep(), RandomClusterInsertionBoundary::checkBoundaryBeforeTimeStep(), HGridOptimiser::checkLimit(), MercuryBase::checkParticleForInteractionLocal(), SuperQuadricParticle::computeContactPoint(), BaseCluster::computeInternalStructure(), StressStrainControlBoundary::computeStrainRate(), Mercury3D::computeWallForces(), Logger< L, ASSERTS >::createMessage(), DPMBase::decompose(), PeriodicBoundaryHandler::findNewParticle(), DPMBase::findNextExistingDataFile(), Domain::flushParticlesFromList(), PolydisperseInsertionBoundary::generateParticle(), SuperQuadricParticle::getContactPointPlanB(), NurbsSurface::getDistance(), Mercury2D::hGridFindParticleContacts(), Mercury3D::hGridFindParticleContacts(), Mercury2D::hGridHasParticleContacts(), MercuryBase::hGridNeedsRebuilding(), MercuryBase::hGridRebuild(), BaseCluster::insertParticles(), ContactDetectionIntersectionOfWallsTest::introduceParticlesAtWall(), load(), main(), Logger< L, ASSERTS >::operator()(), BaseCluster::printTime(), PeriodicBoundaryHandler::processLocalGhostParticles(), PeriodicBoundaryHandler::processLocalInteractionData(), Domain::processReceivedBoundaryParticleData(), PeriodicBoundaryHandler::processReceivedGhostParticleData(), Domain::processReceivedInteractionData(), BaseHandler< T >::read(), InteractionHandler::read(), BoundaryHandler::readAndAddObject(), WallHandler::readAndCreateOldObject(), PossibleContactList::remove_ParticlePosibleContacts(), statistics_while_running< T >::run(), SilbertPeriodic::set_study(), Slide::set_Walls(), BaseCluster::setDomainLimits(), ChuteWithHopper::setHopper(), IntersectionOfWalls::setPointsAndLines(), BaseCluster::setSpecies(), SegregationPeriodic::setupInitialConditions(), SphericalIndenter::setupInitialConditions(), BaseCluster::setupInitialConditions(), DPMBase::updateGhostGrid(), PeriodicBoundaryHandler::updateMaserParticle(), Domain::updateParticles(), PeriodicBoundaryHandler::updateParticleStatus(), InsertionBoundary::write(), PolydisperseInsertionBoundary::write(), SuperQuadricParticle::writeDebugMessageMiddleOfLoop(), SuperQuadricParticle::writeDebugMessageStep1(), SuperQuadricParticle::writeDebugMessageStep2(), SuperQuadricParticle::writeDebugMessageStep3(), BaseInteractable::~BaseInteractable(), DropletBoundary::~DropletBoundary(), and HeaterBoundary::~HeaterBoundary().

◆ WARN

LL<Log::WARN> WARN

Warning log level.

Warning, as in, the program has detected a problem but does know a solution. The simulation can continue with this fix, but the user should look at fixing his / her simulation so this won't occur in the future.

Example: Setting a smaller Xmax than Xmin.

Default behaviour: log to std::cerr, returns afterwards.

Referenced by BaseCluster::actionsAfterSolve(), ConstantMassFlowMaserBoundary::activateMaser(), SubcriticalMaserBoundary::activateMaser(), ParticleHandler::addExistingObject(), ParticleHandler::addGhostObject(), ParticleHandler::addObject(), WallHandler::addObject(), IntersectionOfWalls::addObject(), IntersectionOfWalls::addPlate(), IntersectionOfWalls::addTetraSTL(), Membrane::Edge::applyStretchForce(), CFile::CFile(), Funnel::check_funnel(), MeshTriangle::checkInteractions(), CircularPeriodicBoundary::CircularPeriodicBoundary(), BaseCG::clear(), ConstantMassFlowMaserBoundary::closeMaser(), commandLineCG(), CGHandler::computeContactPoints(), HertzianSinterNormalSpecies::computeTimeStep(), ConstantMassFlowMaserBoundary::ConstantMassFlowMaserBoundary(), AngledPeriodicBoundary::copy(), CFile::copy_data(), MPIInteraction< NormalForceInteraction, FrictionForceInteraction, AdhesiveForceInteraction >::copyFromInteraction(), MixedSpecies< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::copyInto(), Species< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::copyInto(), Funnel::create_funnel(), CurvyChute::createBottom(), BoundaryHandler::createObject(), ParticleHandler::createObject(), WallHandler::createObject(), PSD::cutHighSizeRatio(), SubcriticalMaserBoundary::deactivateMaser(), SubcriticalMaserBoundaryTEST::deactivateMaser(), BaseInteraction::deleteMPIInteractionDataArray(), MPIContainer::directReceive(), MPIContainer::directSend(), DPMBase::findNextExistingDataFile(), NurbsSurface::getDistance(), AxisymmetricIntersectionOfWalls::getDistanceAndNormal(), HorizontalBaseScrew::getDistanceAndNormal(), ScrewsymmetricIntersectionOfWalls::getDistanceAndNormal(), VChute::getDistanceAndNormal(), Screw::getDistanceAndNormalLabCoordinates(), ParticleHandler::getFastestParticleLocal(), ParticleHandler::getHighestPositionComponentParticleLocal(), ParticleHandler::getHighestVelocityComponentParticleLocal(), ParticleHandler::getLargestParticle(), ParticleHandler::getLowestPositionComponentParticleLocal(), ParticleHandler::getLowestVelocityComponentParticleLocal(), SpeciesHandler::getMixedObject(), PossibleContact::getNext(), RNG::getNormalVariate(), PossibleContact::getOtherParticle(), ParticleHandler::getParticleAttributeLocal(), helpers::getPath(), RNG::getPoissonVariate(), PossibleContact::getPrevious(), ParticleHandler::getSmallestParticle(), Time2Finish::getTime2Finish(), ChuteWithHopper::getTimeStepRatio(), Mercury3DRestart::getWallTime(), helpers::gnuplot(), InsertionBoundary::insertParticle(), HGrid::insertParticleToHgrid(), ConstantMassFlowMaserBoundary::isCopying(), LeesEdwardsBoundary::LeesEdwardsBoundary(), LeesEdwardsDemo::LeesEdwardsDemo(), main(), ChuteBottom::makeRoughBottom(), BaseVTKWriter< H >::makeVTKFileWithHeader(), Logger< L, ASSERTS >::operator()(), SmallMatrix< numberOfRows, numberOfColumns >::operator*(), operator*(), Domain::processReceivedInteractionData(), Domain::read(), Chute::read(), BoundaryHandler::readAndAddObject(), SpeciesHandler::readAndAddObject(), WallHandler::readAndCreateObject(), DPMBase::readDataFile(), helpers::readFromFile(), DPMBase::readNextDataFile(), DPMBase::readNextFStatFile(), SpeciesHandler::readOldObject(), DPMBase::readParAndIniFiles(), MPIContainer::receive(), BaseInteractable::removeInteraction(), BaseHandler< T >::removeLastObject(), ParticleHandler::removeObject(), CGHandler::restart(), MPIContainer::send(), InfiniteWall::set(), Funnel::set_funfr(), Chute::setChuteAngle(), Chute::setChuteAngleAndMagnitudeOfGravity(), ChuteWithHopper::setChuteLength(), BaseCluster::setClusterId(), BaseCluster::setCollisionTimeOverTimeStep(), Chute::setFixedParticleRadius(), PolydisperseInsertionBoundary::setGenerandum(), ChuteWithHopper::setHopperShift(), Chute::setInflowParticleRadius(), Chute::setInflowVelocity(), BaseParticle::setMass(), DPMBase::setMax(), Chute::setMaxInflowParticleRadius(), DPMBase::setMin(), Chute::setMinInflowParticleRadius(), PossibleContact::setNextPosition(), DPMBase::setNumberOfDomains(), DPMBase::setNumberOfOMPThreads(), StatisticsVector< XZ >::setNZ(), DPMBase::setParticleDimensions(), PossibleContact::setPreviousPosition(), BaseCluster::setupInitialConditions(), DPMBase::setXMax(), DPMBase::setXMin(), DPMBase::setYMax(), DPMBase::setYMin(), DPMBase::setZMax(), DPMBase::setZMin(), DPMBase::solve(), CGCoordinates::spaceEvenly(), SubcriticalMaserBoundary::SubcriticalMaserBoundary(), TimeDependentPeriodicBoundary::TimeDependentPeriodicBoundary(), TimeDependentPeriodicBoundary3DSelfTest::TimeDependentPeriodicBoundary3DSelfTest(), TimeDependentPeriodicBoundaryTest::TimeDependentPeriodicBoundaryTest(), transformMercuryToVTK(), MercuryBase::userHGridCellSize(), Domain::write(), DataFiles::writeTimeStep(), helpers::writeToFile(), BaseWall::writeVTK(), and WallHandler::writeVTKBoundingBox().

printWarn
static void printWarn(std::string module, std::string msg, Flusher doFlush)
Prints messages of loglevel WARN.
Definition: Logger.cc:103
initialiseMPI
void initialiseMPI()
Inialises the MPI library.
Definition: MpiContainer.cc:137
MPIContainer::getProcessorID
std::size_t getProcessorID()
Reduces a scalar on all processors to one scalar on a target processor.
Definition: MpiContainer.cc:113
printFatalError
static void printFatalError(const std::string &module, const std::string &msg, Flusher doFlush)
Prints messages of loglevel FATAL.
Definition: Logger.cc:206
ERROR
LL< Log::ERROR > ERROR
Error log level.
Definition: Logger.cc:53
MPIContainer
This class contains all information and functions required for communication between processors.
Definition: MpiContainer.h:130
FATAL
LL< Log::FATAL > FATAL
Definition of the different loglevels by its wrapper class LL. These are used as tags in template met...
Definition: Logger.cc:52
constants::i
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51
printError
static void printError(std::string module, std::string msg, Flusher doFlush)
Prints messages of loglevel ERROR.
Definition: Logger.cc:130
printInfo
static void printInfo(std::string module, std::string msg, Flusher doFlush)
Prints messages of loglevel INFO.
Definition: Logger.cc:76
MPIContainer::Instance
static MPIContainer & Instance()
fetch the instance to be used for communication
Definition: MpiContainer.h:134