MercuryDPM  Trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
constants Namespace Reference

Variables

const Mdouble NaN = std::numeric_limits<Mdouble>::quiet_NaN()
 
const Mdouble inf = std::numeric_limits<Mdouble>::infinity()
 
const int intMax = std::numeric_limits<int>::max()
 
const unsigned unsignedMax = std::numeric_limits<unsigned>::max()
 
const Mdouble pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117068
 
const Mdouble sqrt_pi = 1.772453850905516027298167483341145182797549456122387128213807789852911284591032181374950656738544665
 
const Mdouble sqr_pi = 9.869604401089358618834490999876151135313699407240790626413349376220044822419205243001773403718552232
 
const Mdouble sqrt_2 = 1.414213562373095048801688724209698078569671875376948073176679737990732478462107038850387534327641573
 
const Mdouble sqrt_3 = 1.732050807568877293527446341505872366942805253810380628055806979451933016908800037081146186757248576
 
const std::complex< Mdoublei = {0.0, 1.0}
 

Variable Documentation

const std::complex<Mdouble> constants::i = {0.0, 1.0}

Definition at line 50 of file ExtendedMath.h.

Referenced by BaseCluster::actionsAfterSolve(), InteractionHandler::actionsAfterTimeStep(), ParticleHandler::actionsAfterTimeStep(), CGFields::StandardFields::addParticleStatistics(), BaseWall::addToVTK(), HGridOptimiser::applyStep(), SmallVector< numberOfRows >::axpy(), SmallMatrix< numberOfRows, numberOfColumns >::axpy(), NurbsUtils::bsplineDerBasis(), HGridOptimiser::calcDfDx(), HGridOptimiser::calculateDiffWork(), HGridOptimiser::calculateWork(), mathsFunc::chebyshev(), CircularPeriodicBoundary::checkBoundaryAfterParticleMoved(), DeletionBoundary::checkBoundaryAfterParticlesMove(), FixedClusterInsertionBoundary::checkBoundaryBeforeTimeStep(), PeriodicBoundaryHandler::checkChanged(), PeriodicBoundaryHandler::checkIsReal(), HGridOptimiser::checkLimit(), DPMBase::checkParticleForInteraction(), DPMBase::checkParticleForInteractionLocalPeriodic(), mathsFunc::chi_squared_prob(), Chute::cleanChute(), PeriodicBoundaryHandler::cleanCommunicationList(), Domain::cleanCommunicationList(), PeriodicBoundaryHandler::cleanCommunicationLists(), Domain::cleanCommunicationLists(), PeriodicBoundaryHandler::clearCommunicationLists(), PeriodicBoundaryHandler::collectGhostParticleData(), PeriodicBoundaryHandler::collectInteractionData(), PeriodicBoundaryHandler::communicateNumberOfNewParticlesAndInteractions(), PeriodicBoundaryHandler::communicateTargetDomains(), CGHandler::computeContactPoints(), Box::computeFlow(), DPMBase::computeForcesDueToWalls(), DPMBase::computeInternalForce(), DPMBase::computeInternalForces(), BaseCluster::computeInternalStructure(), Dipole::computeMultipoleExpansion(), SuperQuadricParticle::computeResidualContactDetection(), Domain::containsParticle(), HorizontalBaseScrew::convertLimits(), Multipole::convertMultipoleToLocal(), SubcriticalMaserBoundaryTEST::copyExtraParticles(), mathsFunc::cos(), BaseCluster::createAdjacencyMatrix(), Chute::createBottom(), DomainHandler::createDomains(), Domain::createLookUpTable(), IntersectionOfWalls::createOpenPrism(), CircularPeriodicBoundary::createPeriodicParticle(), CircularPeriodicBoundary::createPeriodicParticles(), LeesEdwardsBoundary::createPeriodicParticles(), SubcriticalMaserBoundary::createPeriodicParticles(), AngledPeriodicBoundary::createPeriodicParticles(), ConstantMassFlowMaserBoundary::createPeriodicParticles(), PeriodicBoundary::createPeriodicParticles(), LevelSetWall::createVTK(), LevelSetWall::createVTKSphere(), HGridOptimiser::diffEndExpectedCellsIntegral(), HGridOptimiser::diffHExpectedCellsIntegral(), HGridOptimiser::diffHExpectedCellsIntegralCellNumerator(), HGridOptimiser::diffPdfInt(), HGridOptimiser::diffStartExpectedCellsIntegral(), Domain::disableBoundaries(), Detail::emitProxy(), NurbsSurface::evaluateDerivatives(), HGridOptimiser::expectedCellsIntegral(), HGridOptimiser::expectedCellsIntegralCellDenominator(), HGridOptimiser::expectedCellsIntegralCellNumerator(), SubcriticalMaserBoundaryTEST::extendBottom(), PeriodicBoundaryHandler::finaliseNewParticleTransmission(), PeriodicBoundaryHandler::findNewInteractions(), PeriodicBoundaryHandler::findNewParticle(), PeriodicBoundaryHandler::flushParticles(), PolydisperseInsertionBoundary::generateParticle(), DPMBase::get1DParametersFromRunNumber(), DPMBase::get2DParametersFromRunNumber(), DPMBase::get3DParametersFromRunNumber(), HGrid::getBucketIsChecked(), HGrid::getCellSize(), NurbsSurface::getDistance(), TriangulatedWall::Face::getDistanceAndNormal(), BasicIntersectionOfWalls::getDistanceAndNormal(), IntersectionOfWalls::getDistanceAndNormal(), LevelSetWall::getDistanceAndNormalLabCoordinates(), InteractionHandler::getExistingInteraction(), HGrid::getFirstBaseParticleInBucket(), csvReader::getFirstColumn(), InteractionHandler::getInteraction(), BaseWall::getInteractionWith(), HGrid::getInvCellSize(), SuperQuadricParticle::getJacobianOfContactDetectionObjective(), InteractionHandler::getLiquidBridgeVolume(), ParticleHandler::getLiquidFilmVolume(), LiquidMigrationWilletInteraction::getNumberOfContacts(), BasicIntersectionOfWalls::getObject(), BasicUnionOfWalls::getObject(), HGridOptimiser::getOptimalDistribution(), DomainHandler::getParticleDomainGlobalIndex(), CGFields::StandardFields::getParticleSizeDensity(), CGFields::StandardFields::getParticleSizeMomenta(), CG< CGCoordinates::XYZ, BaseFunction, Fields >::getPoint(), BaseWall::getRenderedWall(), SmallMatrix< numberOfRows, numberOfColumns >::getRow(), csvReader::getSecondColumn(), DPMBase::getStaticStress(), LiquidMigrationWilletInteraction::getTotalLiquidBridgeVolume(), TriangleWall::getVertex(), BasicIntersectionOfWalls::getVTK(), BasicUnionOfWalls::getVTK(), helpers::readFromCommandLine< std::string >(), MercuryBase::hGridRebuild(), HGridOptimiser::histNumberParticlesPerCell(), DPMBase::importParticlesAs(), HGridOptimiser::initialise(), HGridOptimiser::initialisePolyFunc(), InsertionBoundary::insertParticle(), BaseCluster::makeDataAnalysis(), BaseCluster::makeGnuplotFile(), SubcriticalMaserBoundaryTEST::modifyGhostAfterCreation(), SubcriticalMaserBoundaryTEST::modifyPeriodicComplexity(), helpers::more(), DPMBase::mpiIsInCommunicationZone(), CGCoordinates::Base_X_Y_Z::normalisePolynomialCoefficients(), CGCoordinates::Base_XY_XZ_YZ::normalisePolynomialCoefficients(), CGCoordinates::R::normalisePolynomialCoefficients(), CGCoordinates::XYZ::normalisePolynomialCoefficients(), BaseParticle::oldRead(), CGFields::StandardFields::operator*(), NumericalVector< std::complex< Mdouble > >::operator*(), SmallMatrix< numberOfRows, numberOfColumns >::operator*(), NumericalVector< std::complex< Mdouble > >::operator+(), CGFields::StandardFields::operator+=(), NumericalVector< std::complex< Mdouble > >::operator+=(), NumericalVector< std::complex< Mdouble > >::operator-(), CGFields::StandardFields::operator-=(), NumericalVector< std::complex< Mdouble > >::operator-=(), SmallVector< numberOfRows >::operator<(), operator<<(), SmallVector< numberOfRows >::operator==(), operator>>(), operator>>< 2 >(), NORMALIZED_POLYNOMIAL< T >::operator[](), DPMBase::outputXBallsData(), HGridOptimiser::pdfInt(), HGridOptimiser::pdfIntCell(), PeriodicBoundaryHandler::performNewParticleTransmission(), PolydisperseInsertionBoundary::PolydisperseInsertionBoundary(), PeriodicBoundaryHandler::preparePositionAndVelocityUpdate(), printError(), PeriodicBoundaryHandler::processLocalGhostParticles(), PeriodicBoundaryHandler::processLocalInteractionData(), PeriodicBoundaryHandler::processPeriodicParticles(), Domain::processReceivedBoundaryParticleData(), PeriodicBoundaryHandler::processReceivedInteractionData(), FileReader::read(), DropletBoundary::read(), InteractionHandler::read(), BaseWall::read(), BasicIntersectionOfWalls::read(), BasicUnionOfWalls::read(), HorizontalScrew::read(), TriangleWall::read(), SubcriticalMaserBoundary::read(), ConstantMassFlowMaserBoundary::read(), BaseHandler< T >::read(), InsertionBoundary::read(), IntersectionOfWalls::read(), DPMBase::read(), SpeciesHandler::readAndAddObject(), WallHandler::readAndCreateOldObject(), DPMBase::readArguments(), helpers::readArrayFromCommandLine(), helpers::readArrayFromFile(), helpers::readFromCommandLine(), DPMBase::readNextDataFile(), DPMBase::readRestartFile(), WallHandler::readTriangleWall(), helpers::readVectorFromCommandLine(), TriangulatedWall::readVTK(), DPMBase::removeDuplicatePeriodicParticles(), BaseHandler< T >::removeIf(), Quaternion::rotateInverseInertiaTensor(), LiquidMigrationWilletInteraction::rupture(), RNG::seedLaggedFibonacciGenerator(), Domain::setBounds(), HGrid::setBucketIsChecked(), HGrid::setFirstBaseParticleInBucket(), DPMBase::setFixedParticles(), ParticleSpecies::setMaxInteractionDistance(), PSD::setPSDFromCSV(), BaseCluster::setRadii(), LevelSetWall::setShapeCube(), LevelSetWall::setShapeCylinder(), LevelSetWall::setShapeDiamond(), LevelSetWall::setShapeFourSided(), LevelSetWall::setShapeSphere(), DPMBase::setTime(), AngledPeriodicBoundary::shiftPosition(), mathsFunc::sin(), SmallMatrix< numberOfRows, numberOfColumns >::SmallMatrix(), DPMBase::solve(), CGCoordinates::spaceEvenly(), sphericalHarmonics::sphericalHarmonics(), Statistics(), strtolower(), strtoupper(), RNG::test(), LocalExpansion::translateLocalExpansion(), Multipole::TranslateMultipoleExpansionTo(), SmallMatrix< numberOfRows, numberOfColumns >::transpose(), TriangulatedWall::TriangulatedWall(), PeriodicBoundaryHandler::updateParticles(), PeriodicBoundaryHandler::updateParticleStatus(), TriangleWall::updateVertexAndNormal(), SpeciesHandler::useAngularDOFs(), uuatoi(), PSD::validateCumulativeDistribution(), TriangleWall::write(), PolydisperseInsertionBoundary::write(), InteractionHandler::write(), DPMBase::write(), BaseCluster::writeAmatFile(), helpers::writeCommandLineToFile(), ParticleVtkWriter::writeExtraFields(), DPMBase::writePythonFileForVTKVisualisation(), DataFiles::writeTimeStep(), LevelSetWall::writeToFile(), BaseCluster::writeToOverlFile(), NurbsWall::writeVTK(), WallHandler::writeVTKBoundingBox(), WallVTKWriter::writeVTKCells(), SuperQuadricParticleVtkWriter::writeVTKOrientation(), and InteractionVTKWriter::writeVTKPointData().

const int constants::intMax = std::numeric_limits<int>::max()

Definition at line 45 of file GeneralDefine.h.

Referenced by Domain::constructor().

const Mdouble constants::pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117068

Definition at line 45 of file ExtendedMath.h.

Referenced by ArcWall::ArcWall(), CircularPeriodicBoundary::checkBoundaryAfterParticleMoved(), DropletBoundary::checkBoundaryAfterParticlesMove(), LiquidBridgeWilletInteraction::computeAdhesionForce(), LiquidMigrationWilletInteraction::computeAdhesionForce(), ScrewsymmetricIntersectionOfWalls::computeDeltaZ(), helpers::computeDisptFromCollisionTimeAndRestitutionCoefficientAndTangentialRestitutionCoefficientAndEffectiveMass(), BaseCluster::computeInternalStructure(), BaseParticle::computeMass(), ThermalInteraction< NormalForceInteraction >::computeNormalForce(), SinterInteraction::computeNormalForce(), ScrewsymmetricIntersectionOfWalls::computeNormalRadialDeltaN(), HertzianSinterNormalSpecies::computeTimeStep(), LinearPlasticViscoelasticNormalSpecies::computeTimeStep(), SinterNormalSpecies::computeTimeStep(), mathsFunc::cos(), CircularPeriodicBoundary::createPeriodicParticle(), LevelSetWall::createVTKSphere(), Chute::getChuteAngleDegrees(), LinearPlasticViscoelasticNormalSpecies::getCollisionTime(), SinterNormalSpecies::getCollisionTime(), LinearViscoelasticNormalSpecies::getCollisionTime(), HorizontalScrew::getDistanceAndNormal(), ArcWall::getDistanceAndNormal(), Coil::getDistanceAndNormal(), Screw::getDistanceAndNormalLabCoordinates(), CGCoordinates::R::getDomainVolume(), Quaternion::getEuler(), RNG::getNormalVariate(), helpers::getRayleighTime(), BaseParticle::getVolume(), ParticleSpecies::getVolumeFromRadius(), PSD::insertManuallyByVolume(), BaseCluster::makeDataAnalysis(), CGCoordinates::Base_XY_XZ_YZ::normalisePolynomialCoefficients(), CGCoordinates::XYZ::normalisePolynomialCoefficients(), helpers::objectivenessTest(), BaseCluster::particleInsertionSuccessful(), FileReader::read(), Chute::read(), ParhamiMcMeekingSinterSpecies::set(), Chute::setChuteAngleAndMagnitudeOfGravity(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficient(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficientNoDispt(), LinearPlasticViscoelasticNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), LinearViscoelasticNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), ChuteWithHopper::setHopper(), SinterNormalSpecies::setParhamiMcKeeping(), BaseCluster::setRadii(), mathsFunc::sin(), VChute::VChute(), HorizontalBaseScrew::writeVTK(), HorizontalScrew::writeVTK(), Screw::writeVTK(), AxisymmetricIntersectionOfWalls::writeVTK(), and ScrewsymmetricIntersectionOfWalls::writeVTK().

const Mdouble constants::sqrt_3 = 1.732050807568877293527446341505872366942805253810380628055806979451933016908800037081146186757248576

Definition at line 49 of file ExtendedMath.h.

const unsigned constants::unsignedMax = std::numeric_limits<unsigned>::max()

Definition at line 46 of file GeneralDefine.h.

Referenced by helpers::more().