AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
Units.hpp File Reference
#include <string>

Namespaces

 axom
 
 axom::inlet
 
 axom::klee
 

Enumerations

enum class  axom::klee::LengthUnit {
  axom::klee::km , axom::klee::m , axom::klee::dm , axom::klee::cm ,
  axom::klee::mm , axom::klee::um , axom::klee::nm , axom::klee::angstrom ,
  axom::klee::miles , axom::klee::feet , axom::klee::inches , axom::klee::mils ,
  axom::klee::unspecified
}
 

Functions

LengthUnit axom::klee::parseLengthUnits (const std::string &unitsAsString, const std::string &path)
 
LengthUnit axom::klee::parseLengthUnits (const inlet::Proxy &unitsAsProxy)
 
double axom::klee::getConversionFactor (LengthUnit sourceUnits, LengthUnit targetUnits)
 
double axom::klee::convert (double sourceValue, LengthUnit sourceUnits, LengthUnit targetUnits)
 
template<typename T >
void axom::klee::convertAll (T &values, LengthUnit sourceUnits, LengthUnit targetUnits)