units Namespace Reference

Functions

Mdouble fUnit ()
 
Mdouble kUnit ()
 
Mdouble sigUnit ()
 
Mdouble rhoUnit ()
 
Mdouble velUnit ()
 
Mdouble accUnit ()
 

Variables

Mdouble mUnit = 1e-9
 
Mdouble lUnit = 1e-3
 
Mdouble tUnit = 1e-3
 
std::string name
 

Detailed Description

Units:: mass: 1 ug = 1e-9 kg length: 1 mm = 1e-3 m time: 1 ms = 1e-3 s Stress: 1 ug/(mm*ms^2) = 1 Pa Density: 1 ug/mm^3 = 1 kg/m^3

Function Documentation

◆ accUnit()

Mdouble units::accUnit ( )
inline
45 { return lUnit / pow(tUnit, 2); }
Mdouble lUnit
Definition: MercuryProb.h:25
Mdouble tUnit
Definition: MercuryProb.h:27

References lUnit, and tUnit.

Referenced by main().

◆ fUnit()

Mdouble units::fUnit ( )
inline
30 { return mUnit * lUnit / pow(tUnit, 2); }
Mdouble mUnit
Definition: MercuryProb.h:23

References lUnit, mUnit, and tUnit.

Referenced by kUnit().

◆ kUnit()

Mdouble units::kUnit ( )
inline
33 { return fUnit() / lUnit; }
Mdouble fUnit()
Definition: MercuryProb.h:30

References fUnit(), and lUnit.

◆ rhoUnit()

Mdouble units::rhoUnit ( )
inline
39 { return mUnit / pow(lUnit, 3); }

References lUnit, and mUnit.

Referenced by MercuryProblem::setSpeciesProperties().

◆ sigUnit()

Mdouble units::sigUnit ( )
inline
36 { return mUnit / (lUnit * pow(tUnit, 2)); }

References lUnit, mUnit, and tUnit.

◆ velUnit()

Mdouble units::velUnit ( )
inline
42 { return lUnit / tUnit; }

References lUnit, and tUnit.

Variable Documentation

◆ lUnit

◆ mUnit

Mdouble units::mUnit = 1e-9

Referenced by fUnit(), rhoUnit(), and sigUnit().

◆ name

std::string units::name

Referenced by rapidjson::GenericValue< Encoding, Allocator >::AddMember(), VTKPointDescriptor< T >::addProperty(), CFile::CFile(), DeletionBoundary::checkBoundaryAfterParticleMoved(), commandLineCG(), DataFiles::DataFiles(), FileReader::FileReader(), rapidjson::GenericValue< Encoding, Allocator >::FindMember(), CFile::getName(), rapidjson::GenericValue< Encoding, Allocator >::HasMember(), HstopCurve(), DPMBase::initialiseSolve(), helpers::isNext(), DPMBase::launchNewRun(), load(), loadingTest(), SolidProblem< ELEMENT_TYPE >::loadSolidMesh(), main(), BaseVTKWriter< H >::makeVTKFileWithHeader(), MovingWalls::MovingWalls(), normalAndTangentialLoadingTest(), objectivenessTest(), rapidjson::GenericValue< Encoding, Allocator >::operator[](), PointIsAboveCurve(), helpers::readOptionalVariable(), rapidjson::GenericValue< Encoding, Allocator >::RemoveMember(), CGHandler::restart(), CGHandler::restartAndEvaluateDataFiles(), CGHandler::restartAndEvaluateRestartFiles(), statistics_while_running< T >::run(), AngleOfRepose::run(), AngleOfRepose::set_study(), SilbertPeriodic::set_study(), FlowRule::setName(), FlowRule::setname(), DPMBase::setName(), File::setName(), SolidProblem< ELEMENT_TYPE >::setName(), BaseCoupling< M, O >::setName(), Funnel::setName_(), BaseCluster::setupInitialConditions(), MercuryProblem::setupMercuryProblem(), statistics_while_running< T >::statistics_while_running(), StatisticsVector< T >::StatisticsVector(), WallVTKWriter::write(), writeHelpers(), VTKData::writePointData(), ChutePeriodic::writeToLocalFolder(), and SolidProblem< ELEMENT_TYPE >::writeToVTK().

◆ tUnit

Mdouble units::tUnit = 1e-3

Referenced by accUnit(), fUnit(), main(), sigUnit(), and velUnit().