MercuryDPM  Trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Logger.h File Reference
#include <string>
#include <sstream>
#include <functional>
#include <type_traits>
#include "GeneralDefine.h"

Go to the source code of this file.

Classes

class  LoggerOutput
 Default functions for output generation. More...
 
class  Logger< L, ASSERTS >
 See. More...
 
class  LL< Level >
 Tag for template metaprogramming. More...
 
class  Logger< L, ASSERTS >
 See. More...
 

Macros

#define MERCURY_LOGLEVEL   Log::DEFAULT
 
#define CG_LOGLEVEL   Log::DEFAULT
 
#define MERCURY_ASSERTS   true
 
#define assert(e,...)   assert(true,"")
 

Enumerations

enum  Log : signed char {
  Log::FATAL = -20, Log::ERROR = -15, Log::WARN = -10, Log::INFO = -5,
  Log::DEFAULT = 0, Log::VERBOSE = 5, Log::DEBUG = 10
}
 The different loglevels. More...
 

Functions

constexpr bool operator<= (const Log rhs, const Log lhs)
 Internally used to filter on loglevel. Do not edit, as this is required for an optimised logger. More...
 

Variables

LoggerOutputloggerOutput
 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()) More...
 
LL< Log::FATAL > FATAL
 Fatal log level. 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::DEBUG > DEBUG
 Debug information. More...
 
Logger< MERCURY_LOGLEVELlogger
 
Logger< CG_LOGLEVELcgLogger
 

Macro Definition Documentation

#define assert (   e,
  ... 
)    assert(true,"")

Definition at line 590 of file Logger.h.

#define CG_LOGLEVEL   Log::DEFAULT

Definition at line 45 of file Logger.h.

#define MERCURY_ASSERTS   true

Definition at line 62 of file Logger.h.

#define MERCURY_LOGLEVEL   Log::DEFAULT

Definition at line 41 of file Logger.h.

Enumeration Type Documentation

enum Log : signed char
strong

The different loglevels.

Todo:
decide if this monologue of Chris should be moved elsewhere

The different loglevels, represented as signed characters, in descending order of severeness. Worst is FATAL, best is DEBUG.

Please, use the tags FATAL/ERROR/etc without class/enum/namespace instead.

Enumerator
FATAL 
ERROR 
WARN 
INFO 
DEFAULT 
VERBOSE 
DEBUG 

Definition at line 165 of file Logger.h.

166  : signed char
167 {
168  FATAL = -20, ERROR = -15, WARN = -10, INFO = -5, DEFAULT = 0, VERBOSE = 5, DEBUG = 10
169 };
LL< Log::INFO > INFO
Info log level.
Definition: Logger.cc:55
LL< Log::DEBUG > DEBUG
Debug information.
Definition: Logger.cc:58
LL< Log::ERROR > ERROR
Error log level.
Definition: Logger.cc:53
LL< Log::DEFAULT > DEFAULT
Default log level.
Definition: Logger.cc:56
LL< Log::VERBOSE > VERBOSE
Verbose information.
Definition: Logger.cc:57
LL< Log::FATAL > FATAL
Fatal log level.
Definition: Logger.cc:52
LL< Log::WARN > WARN
Warning log level.
Definition: Logger.cc:54

Function Documentation

constexpr bool operator<= ( const Log  rhs,
const Log  lhs 
)

Internally used to filter on loglevel. Do not edit, as this is required for an optimised logger.

Definition at line 175 of file Logger.h.

176 {
177  return ((static_cast<signed char>(rhs)) <= (static_cast<signed char>(lhs)));
178 }

Variable Documentation

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: Collission found between Particle #38201 and Wall #5

Default behaviour: ignore.

Definition at line 58 of file Logger.cc.

Referenced by BaseHandler< T >::BaseHandler(), 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().

LL<Log::DEFAULT> DEFAULT

Default log level.

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

Definition at line 56 of file Logger.cc.

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.

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

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

Definition at line 53 of file Logger.cc.

Referenced by SmallMatrix< numberOfRows, numberOfColumns >::computeWedgeStuffVector(), SmallMatrix< numberOfRows, numberOfColumns >::determinant(), BaseHandler< T >::getObjectById(), BaseHandler< T >::getObjectsById(), helpers::getSaveCountFromNumberOfSavesAndTimeMaxAndTimeStep(), main(), Species< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::mixAll(), helpers::more(), operator>>(), and NurbsSurface::set().

LL<Log::FATAL> FATAL

Fatal log level.

These are the loglevels which should be used to control the logger. They are declared here but defined in Logger.cpp

Fatal, as in, the program has suffered from the worst possible failure and there is no way it can gracefully recover.

Example: No memory allocations possible

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

Definition at line 52 of file Logger.cc.

Referenced by main(), and transformMercuryToVTK().

LL<Log::INFO> INFO

Info log level.

Useful information, small oddities found which should be of no real effect to the user. Also information about the current state and progress of the program.

Example: Finished inserting particles.

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

Definition at line 55 of file Logger.cc.

Referenced by checkTemplate(), helpers::compare(), helpers::readFromCommandLine< std::string >(), helpers::loadingTest(), main(), helpers::normalAndTangentialLoadingTest(), NurbsSurface::NurbsSurface(), helpers::objectivenessTest(), helpers::readArrayFromCommandLine(), helpers::readFromCommandLine(), helpers::readFromFile(), helpers::readVectorFromCommandLine(), NurbsSurface::set(), SinterNormalSpecies::setParhamiMcKeeping(), and transformMercuryToVTK().

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 BaseCluster::actionsAfterSolve(), BaseCluster::actionsAfterTimeStep(), BaseBoundary::actionsBeforeTimeLoop(), BaseCluster::actionsOnRestart(), SubcriticalMaserBoundaryTEST::activateMaser(), SubcriticalMaserBoundary::activateMaser(), ConstantMassFlowMaserBoundary::activateMaser(), IntersectionOfWalls::add3PointObject(), PossibleContactList::add_PossibleContact(), ParticleHandler::addExistingObject(), Chute::addFlowParticlesCompactly(), PolydisperseInsertionBoundary::addGenerandum(), ParticleHandler::addGhostObject(), WallHandler::addObject(), ParticleHandler::addObject(), IntersectionOfWalls::addObject(), BaseWall::addParticlesAtWall(), Domain::addParticlesToLists(), SubcriticalMaserBoundary::addParticleToMaser(), ConstantMassFlowMaserBoundary::addParticleToMaser(), IntersectionOfWalls::addTetra(), 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(), BaseCluster::calculateTimeStep(), ChargedBondedInteraction::ChargedBondedInteraction(), mathsFunc::chebyshev(), SubcriticalMaserBoundaryTEST::checkBoundaryAfterParticleMoved(), DeletionBoundary::checkBoundaryAfterParticleMoved(), DropletBoundary::checkBoundaryAfterParticlesMove(), StressStrainControlBoundary::checkBoundaryAfterParticlesMove(), SubcriticalMaserBoundaryTEST::checkBoundaryAfterParticlesMove(), FixedClusterInsertionBoundary::checkBoundaryBeforeTimeStep(), RandomClusterInsertionBoundary::checkBoundaryBeforeTimeStep(), InsertionBoundary::checkBoundaryBeforeTimeStep(), MercuryBase::checkParticleForInteractionLocal(), DPMBase::checkSettings(), checkTemplate(), Chute::Chute(), CircularPeriodicBoundary::CircularPeriodicBoundary(), Chute::cleanChute(), ConstantMassFlowMaserBoundary::closeMaser(), ClusterGenerator::ClusterGenerator(), Coil::Coil(), helpers::compare(), ChargedBondedInteraction::computeAdhesionForce(), DPMBase::computeAllForces(), LinearPlasticViscoelasticNormalSpecies::computeBondNumberMax(), SuperQuadricParticle::computeContactPoint(), ScrewsymmetricIntersectionOfWalls::computeDeltaZ(), BaseCluster::computeInternalStructure(), ParticleHandler::computeLargestParticle(), SuperQuadricParticle::computeMass(), SinterInteraction::computeNormalForce(), DPMBase::computeOneTimeStep(), SlidingFrictionInteraction::computeSlidingSpringSuperQuadric(), ParticleHandler::computeSmallestParticle(), StressStrainControlBoundary::computeStrainRate(), HertzianSinterNormalSpecies::computeTimeStep(), Mercury3D::computeWallForces(), SmallMatrix< numberOfRows, numberOfColumns >::computeWedgeStuffVector(), ConstantMassFlowMaserBoundary::ConstantMassFlowMaserBoundary(), DPMBase::constructor(), PSD::convertProbabilityDensityToProbabilityDensityNumberDistribution(), AngledPeriodicBoundary::copy(), PolydisperseInsertionBoundary::copy(), SubcriticalMaserBoundaryTEST::copyExtraParticles(), MPIInteraction< NormalForceInteraction, FrictionForceInteraction, AdhesiveForceInteraction >::copyFromInteraction(), MixedSpecies< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::copyInto(), Species< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::copyInto(), Chute::createBottom(), DomainHandler::createMesh(), BaseInteraction::createMPIInteractionDataArray(), BoundaryHandler::createObject(), WallHandler::createObject(), ParticleHandler::createObject(), CubeDeletionBoundary::CubeDeletionBoundary(), DataFiles::DataFiles(), SubcriticalMaserBoundaryTEST::deactivateMaser(), SubcriticalMaserBoundary::deactivateMaser(), Domain::debugInformation(), DPMBase::decompose(), BaseInteraction::deleteMPIInteractionDataArray(), DeletionBoundary::DeletionBoundary(), SmallMatrix< numberOfRows, numberOfColumns >::determinant(), DomainHandler::DomainHandler(), CGHandler::evaluateDataFiles(), CGHandler::evaluateRestartFiles(), SubcriticalMaserBoundaryTEST::extendBottom(), FileReader::FileReader(), DPMBase::fillDomainWithParticles(), PeriodicBoundaryHandler::findNewParticle(), FixedClusterInsertionBoundary::FixedClusterInsertionBoundary(), Domain::flushParticlesFromList(), LiquidMigrationWilletInteraction::form(), InsertionBoundary::generateParticle(), PolydisperseInsertionBoundary::generateParticle(), DPMBase::get1DParametersFromRunNumber(), DPMBase::get2DParametersFromRunNumber(), DPMBase::get3DParametersFromRunNumber(), LinearPlasticViscoelasticNormalSpecies::getCollisionTime(), SmallMatrix< numberOfRows, numberOfColumns >::getColumn(), Quaternion::getComponent(), Vec3D::getComponent(), SuperQuadricParticle::getContactPointPlanB(), NurbsSurface::getDistance(), HorizontalBaseScrew::getDistanceAndNormal(), SimpleDrumSuperquadrics::getDistanceAndNormal(), BasicIntersectionOfWalls::getDistanceAndNormal(), AxisymmetricIntersectionOfWalls::getDistanceAndNormal(), ScrewsymmetricIntersectionOfWalls::getDistanceAndNormal(), IntersectionOfWalls::getDistanceAndNormal(), Screw::getDistanceAndNormalLabCoordinates(), SimpleDrumSuperquadrics::getDistanceNormalOverlapSuperquadric(), BaseWall::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(), BaseWall::getInteractionWithSuperQuad(), ParticleSpecies::getLargestInverseParticleMassLocal(), ParticleHandler::getLargestParticle(), ParticleHandler::getLowestPositionComponentParticle(), ParticleHandler::getLowestPositionComponentParticleLocal(), ParticleHandler::getLowestVelocityComponentParticle(), ParticleHandler::getLowestVelocityComponentParticleLocal(), SpeciesHandler::getMixedObject(), getName(), PossibleContact::getNext(), RNG::getNormalVariate(), ParticleHandler::getNumberOfObjects(), ParticleHandler::getNumberOfRealObjectsLocal(), BasicIntersectionOfWalls::getObject(), BasicUnionOfWalls::getObject(), BaseHandler< T >::getObject(), BaseHandler< T >::getObjectById(), BaseHandler< T >::getObjectsById(), PossibleContact::getOtherParticle(), BaseInteraction::getP(), ParticleHandler::getParticleAttribute(), ParticleHandler::getParticleAttributeLocal(), helpers::getPath(), RNG::getPoissonVariate(), PossibleContact::getPrevious(), PSD::getRadiusByPercentile(), RNG::getRandomNumber(), SmallMatrix< numberOfRows, numberOfColumns >::getRow(), helpers::getSaveCountFromNumberOfSavesAndTimeMaxAndTimeStep(), ParticleHandler::getSmallestParticle(), ChuteWithHopper::getTimeStepRatio(), BaseParticle::getVolume(), SuperQuadricParticle::getVolume(), ParticleSpecies::getVolumeFromRadius(), helpers::gnuplot(), helpers::readFromCommandLine< std::string >(), HGrid::HGrid(), Mercury2D::hGridFindContactsWithTargetCell(), Mercury3D::hGridFindContactsWithTargetCell(), Mercury2D::hGridFindParticleContacts(), Mercury3D::hGridFindParticleContacts(), Mercury3D::hGridGetInteractingParticleList(), Mercury2D::hGridHasParticleContacts(), MercuryBase::hGridNeedsRebuilding(), MercuryBase::hGridRebuild(), HorizontalBaseScrew::HorizontalBaseScrew(), HorizontalScrew::HorizontalScrew(), InfiniteWall::InfiniteWall(), HGrid::info(), InsertionBoundary::insertParticle(), InsertionBoundary::insertParticles(), BaseCluster::insertParticles(), HGrid::insertParticleToHgrid(), InteractionHandler::InteractionHandler(), IntersectionOfWalls::IntersectionOfWalls(), BaseWall::intersectVTK(), MatrixSymmetric3D::inverse(), SmallMatrix< numberOfRows, numberOfColumns >::inverse(), ConstantMassFlowMaserBoundary::isCopying(), LeesEdwardsBoundary::LeesEdwardsBoundary(), SmallVector< numberOfRows >::length(), LevelSetWall::LevelSetWall(), helpers::loadingTest(), main(), ChuteBottom::makeRoughBottom(), BaseVTKWriter< H >::makeVTKFileWithHeader(), Mercury2D::Mercury2D(), Mercury3D::Mercury3D(), MercuryBase::MercuryBase(), LinearPlasticViscoelasticNormalSpecies::mix(), MixedSpecies< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::mixAll(), Species< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::mixAll(), MixedSpecies< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::MixedSpecies(), SubcriticalMaserBoundaryTEST::modifyPeriodicComplexity(), helpers::more(), MPIContainer::MPIContainer(), helpers::normalAndTangentialLoadingTest(), Quaternion::normalise(), Vec3D::normalise(), NurbsSurface::NurbsSurface(), NurbsWall::NurbsWall(), helpers::objectivenessTest(), BaseParticle::oldRead(), BinaryReader::openFile(), SmallMatrix< numberOfRows, numberOfColumns >::operator()(), NumericalVector< std::complex< Mdouble > >::operator()(), SmallVector< numberOfRows >::operator()(), NumericalVector< std::complex< Mdouble > >::operator*(), SmallMatrix< numberOfRows, numberOfColumns >::operator*(), operator*(), NumericalVector< std::complex< Mdouble > >::operator+(), NumericalVector< std::complex< Mdouble > >::operator+=(), NumericalVector< std::complex< Mdouble > >::operator-(), NumericalVector< std::complex< Mdouble > >::operator-=(), SpeciesHandler::operator=(), BoundaryHandler::operator=(), InteractionHandler::operator=(), PeriodicBoundaryHandler::operator=(), DomainHandler::operator=(), ParticleHandler::operator=(), IntersectionOfWalls::operator=(), TriangulatedWall::operator=(), operator>>(), SmallMatrix< numberOfRows, numberOfColumns >::operator[](), NumericalVector< std::complex< Mdouble > >::operator[](), SmallVector< numberOfRows >::operator[](), CGFields::OrientationField::OrientationField(), SuperQuadricParticle::overlapFromContactPoint(), ParabolaChute::ParabolaChute(), ParhamiMcMeekingSinterInteraction::ParhamiMcMeekingSinterInteraction(), ParticleHandler::ParticleHandler(), SubcriticalMaserBoundaryTEST::performActionsBeforeAddingParticles(), PeriodicBoundary::PeriodicBoundary(), PeriodicBoundaryHandler::PeriodicBoundaryHandler(), PolydisperseInsertionBoundary::PolydisperseInsertionBoundary(), PossibleContactList::PossibleContactList(), BaseCluster::printTime(), PeriodicBoundaryHandler::processLocalGhostParticles(), PeriodicBoundaryHandler::processLocalInteractionData(), Domain::processReceivedBoundaryParticleData(), PeriodicBoundaryHandler::processReceivedGhostParticleData(), Domain::processReceivedInteractionData(), HGridOptimiser::radius2Cell(), RandomClusterInsertionBoundary::RandomClusterInsertionBoundary(), SubcriticalMaserBoundaryTEST::read(), csvReader::read(), FileReader::read(), InteractionHandler::read(), SuperQuadricParticle::read(), Domain::read(), SubcriticalMaserBoundary::read(), ConstantMassFlowMaserBoundary::read(), Chute::read(), BaseHandler< T >::read(), DPMBase::read(), SpeciesHandler::readAndAddObject(), BoundaryHandler::readAndAddObject(), InteractionHandler::readAndAddObject(), WallHandler::readAndCreateObject(), ParticleHandler::readAndCreateObject(), WallHandler::readAndCreateOldObject(), DPMBase::readArguments(), helpers::readArrayFromCommandLine(), DPMBase::readDataFile(), helpers::readFromCommandLine(), helpers::readFromFile(), DPMBase::readNextArgument(), DPMBase::readNextDataFile(), DPMBase::readNextFStatFile(), SpeciesHandler::readOldObject(), DPMBase::readRestartFile(), WallHandler::readTriangleWall(), helpers::readVectorFromCommandLine(), TriangulatedWall::readVTK(), RegimeSinterInteraction::RegimeSinterInteraction(), PossibleContactList::remove_ParticlePosibleContacts(), ParticleHandler::removeGhostObject(), BaseInteractable::removeInteraction(), BaseHandler< T >::removeLastObject(), ParticleHandler::removeObject(), BaseHandler< T >::removeObject(), DPMBase::removeOldFiles(), CGHandler::restart(), RestrictedWall::RestrictedWall(), LiquidMigrationWilletInteraction::rupture(), Screw::Screw(), ScrewsymmetricIntersectionOfWalls::ScrewsymmetricIntersectionOfWalls(), Domain::sendAndReceiveCount(), PeriodicBoundary::set(), NurbsSurface::set(), StressStrainControlBoundary::set(), InfiniteWall::set(), ChargedBondedSpecies::setAdhesionForceMax(), ReversibleAdhesiveSpecies::setAdhesionForceMax(), ChargedBondedSpecies::setAdhesionStiffness(), ReversibleAdhesiveSpecies::setAdhesionStiffness(), SuperQuadricParticle::setAxesAndExponents(), Chute::setChuteAngle(), Chute::setChuteAngleAndMagnitudeOfGravity(), ChuteWithHopper::setChuteLength(), BaseCluster::setClusterId(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficient(), LinearViscoelasticNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), BaseCluster::setCollisionTimeOverTimeStep(), SinterNormalSpecies::setComplianceZero(), Quaternion::setComponent(), Vec3D::setComponent(), SinterNormalSpecies::setConstantC1(), BaseNormalForce::setConstantRestitution(), LiquidBridgeWilletSpecies::setContactAngle(), ParticleSpecies::setDensity(), SinterNormalSpecies::setDissipation(), LinearPlasticViscoelasticNormalSpecies::setDissipation(), DPMBase::setDomain(), BaseCluster::setDomainLimits(), HertzianViscoelasticNormalSpecies::setEffectiveElasticModulusAndEffectiveShearModulus(), HertzianViscoelasticNormalSpecies::setEffectiveElasticModulusAndPoissonRatio(), HertzianViscoelasticNormalSpecies::setEffectiveElasticModulusAndRestitutionCoefficient(), MindlinSpecies::setEffectiveShearModulus(), BaseCluster::setEnergyRatioTolerance(), SuperQuadricParticle::setExponents(), CGFields::OrientationField::setFields(), CGFields::LiquidMigrationFields::setFields(), Chute::setFixedParticleRadius(), PolydisperseInsertionBoundary::setGenerandum(), BaseCG::setH(), ThermalSpecies< NormalForceSpecies >::setHeatCapacity(), ChuteWithHopper::setHopper(), ChuteWithHopper::setHopperShift(), BaseCG::setHX(), BaseCG::setHY(), BaseCG::setHZ(), BaseWall::setIndSpecies(), BaseParticle::setIndSpecies(), Chute::setInflowParticleRadius(), Chute::setInflowVelocity(), Chute::setInflowVelocityVariance(), ReversibleAdhesiveSpecies::setInteractionDistance(), ChargedBondedSpecies::setInteractionDistance(), DomainHandler::setInteractionDistance(), SinterNormalSpecies::setInverseSinterViscosity(), LiquidMigrationWilletSpecies::setLiquidBridgeVolumeMax(), LiquidMigrationWilletSpecies::setLiquidBridgeVolumeMin(), File::setlogarithmicSaveCount(), BaseParticle::setMass(), BaseParticle::setMassForP3Statistics(), DPMBase::setMax(), Chute::setMaxInflowParticleRadius(), DPMBase::setMeanVelocityAndKineticEnergy(), DPMBase::setMin(), Chute::setMinInflowParticleRadius(), File::setName(), PossibleContact::setNextPosition(), DPMBase::setNumberOfDomains(), BaseCluster::setNumberOfInternalStructurePoints(), DPMBase::setNumberOfOMPThreads(), BaseCluster::setNumberOfParticles(), RandomClusterInsertionBoundary::setNumberOfParticlesPerCluster(), SinterNormalSpecies::setParhamiMcKeeping(), DPMBase::setParticleDimensions(), InsertionBoundary::setParticleToCopy(), IntersectionOfWalls::setPointsAndLines(), MindlinSpecies::setPoissonRatio(), FixedClusterInsertionBoundary::setPositionsAndRadii(), PossibleContact::setPreviousPosition(), PSD::setPSDFromCSV(), SphericalWall::setRadius(), SimpleDrumSuperquadrics::setRadius(), SuperQuadricParticle::setRadius(), BaseCluster::setRadiusCluster(), BaseClusterInsertionBoundary::setRadiusMicroParticle(), BaseCluster::setRadiusParticle(), Domain::setRange(), FrictionSpecies::setRollingFrictionCoefficient(), FrictionSpecies::setRollingFrictionCoefficientStatic(), Chute::setRoughBottomType(), SinterNormalSpecies::setSeparationDis(), LevelSetWall::setShapeCube(), LevelSetWall::setShapeCylinder(), LevelSetWall::setShapeDiamond(), LevelSetWall::setShapeFourSided(), LevelSetWall::setShapeSphere(), SinterNormalSpecies::setSinterAdhesion(), SinterNormalSpecies::setSinterForceAndTime(), SinterNormalSpecies::setSinterRate(), SinterNormalSpecies::setSinterType(), BaseCluster::setSizeDispersityParticle(), BaseInteractable::setSpecies(), BaseCluster::setSpecies(), SinterNormalSpecies::setSurfTension(), DPMBase::setSystemDimensions(), ThermalSpecies< NormalForceSpecies >::setThermalConductivity(), ChuteBottom::setThickness(), ThermalParticle::setTimeDependentTemperature(), DPMBase::setTimeMax(), DPMBase::setTimeStep(), ChuteBottom::setupInitialConditions(), Chute::setupInitialConditions(), BaseCluster::setupInitialConditions(), InsertionBoundary::setVariableVolumeFlowRate(), BaseCluster::setVelocityDampingModulus(), DPMBase::setXMax(), DPMBase::setXMin(), DPMBase::setYMax(), DPMBase::setYMin(), DPMBase::setZMax(), DPMBase::setZMin(), SimpleDrumSuperquadrics::SimpleDrumSuperquadrics(), SineWall::SineWall(), SmallMatrix< numberOfRows, numberOfColumns >::SmallMatrix(), SmallVector< numberOfRows >::SmallVector(), DPMBase::solve(), SmallMatrix< numberOfRows, numberOfColumns >::solve(), Species< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::Species(), SpeciesHandler::SpeciesHandler(), SphericalWall::SphericalWall(), StressStrainControlBoundary::StressStrainControlBoundary(), SubcriticalMaserBoundary::SubcriticalMaserBoundary(), SuperQuadricParticle::SuperQuadricParticle(), transformMercuryToVTK(), TriangulatedWall::TriangulatedWall(), DPMBase::updateGhostGrid(), PeriodicBoundaryHandler::updateMaserParticle(), Domain::updateParticlePosition(), PeriodicBoundaryHandler::updateParticles(), Domain::updateParticles(), PeriodicBoundaryHandler::updateParticleStatus(), MercuryBase::userHGridCellSize(), PSD::validateCumulativeDistribution(), PSD::validateProbabilityDensityDistribution(), DataFiles::write(), Domain::write(), PolydisperseInsertionBoundary::write(), InsertionBoundary::write(), SuperQuadricParticle::writeDebugMessageMiddleOfLoop(), SuperQuadricParticle::writeDebugMessageStep1(), SuperQuadricParticle::writeDebugMessageStep2(), SuperQuadricParticle::writeDebugMessageStep3(), DPMBase::writePythonFileForVTKVisualisation(), DataFiles::writeTimeStep(), LevelSetWall::writeToFile(), helpers::writeToFile(), 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(), 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(), and TriangulatedWall::~TriangulatedWall().

LoggerOutput* 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())

Definition at line 168 of file Logger.cc.

Referenced by DPMBase::constructor().

LL<Log::VERBOSE> VERBOSE

Verbose information.

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

Example: Inserted 381 particles in Insertion Boundary #1.

Default behaviour: ignore.

Definition at line 57 of file Logger.cc.

Referenced by NurbsSurface::getDistance(), main(), and BaseHandler< T >::read().

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.

Definition at line 54 of file Logger.cc.

Referenced by MPIInteraction< NormalForceInteraction, FrictionForceInteraction, AdhesiveForceInteraction >::copyFromInteraction(), MixedSpecies< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::copyInto(), Species< NormalForceSpecies, FrictionForceSpecies, AdhesiveForceSpecies >::copyInto(), NurbsSurface::getDistance(), helpers::getPath(), helpers::gnuplot(), BaseVTKWriter< H >::makeVTKFileWithHeader(), SmallMatrix< numberOfRows, numberOfColumns >::operator*(), operator*(), helpers::readFromFile(), BaseHandler< T >::removeLastObject(), transformMercuryToVTK(), and helpers::writeToFile().