www.mooseframework.org
Classes | Typedefs | Functions
std Namespace Reference

Classes

struct  hash< Attribute >
 This template specialization allows Attributes to be used as unordered map key. More...
 
struct  hash< libMesh::FEType >
 
struct  hash< libMesh::Point >
 
struct  hash< ReporterName >
 
struct  hash< std::pair< S, T > >
 
struct  hash< std::vector< std::unique_ptr< Attribute > > >
 This template specialization allows vector<Attribute> to be used as unordered map key. More...
 
struct  multiplies< boost::multiprecision::float128 >
 
struct  plus< boost::multiprecision::float128 >
 

Typedefs

typedef Eigen::Matrix< MetaPhysicL::DualNumber< T, D, asd >, Eigen::Dynamic, 1 > ADRealEigenVector
 

Functions

 LIBMESH_FLOAT128_UNARY (sqrt) LIBMESH_FLOAT128_UNARY(exp) LIBMESH_FLOAT128_UNARY(log) LIBMESH_FLOAT128_UNARY(log10) LIBMESH_FLOAT128_UNARY(sin) LIBMESH_FLOAT128_UNARY(cos) LIBMESH_FLOAT128_UNARY(tan) LIBMESH_FLOAT128_UNARY(asin) LIBMESH_FLOAT128_UNARY(acos) LIBMESH_FLOAT128_UNARY(atan) LIBMESH_FLOAT128_UNARY(sinh) LIBMESH_FLOAT128_UNARY(cosh) LIBMESH_FLOAT128_UNARY(tanh) LIBMESH_FLOAT128_UNARY(abs) LIBMESH_FLOAT128_UNARY(fabs) LIBMESH_FLOAT128_UNARY(ceil) LIBMESH_FLOAT128_UNARY(floor) inline boost
 
boost::multiprecision::float128 real (const boost::multiprecision::float128 in)
 
boost::multiprecision::float128 imag (const boost::multiprecision::float128)
 
 LIBMESH_FLOAT128_MATH_BOOL (isinf) LIBMESH_FLOAT128_MATH_BOOL(isnan) inline boost
 
 LIBMESH_FLOAT128_BINARY (pow) LIBMESH_FLOAT128_BINARY(atan2) LIBMESH_FLOAT128_BINARY(fmod) inline boost
 
 LIBMESH_FLOAT128_UNARY (trunc) LIBMESH_FLOAT128_UNARY(round) LIBMESH_FLOAT128_UNARY(log1p) inline long long llround(const boost
 
 LIBMESH_DEFINE_BOTH_MAX_MIN (long double, double) LIBMESH_DEFINE_BOTH_MAX_MIN(long double
 
float LIBMESH_DEFINE_BOTH_MAX_MIN (double, float) LIBMESH_DEFINE_BOTH_MAX_MIN(libMesh
 
std::ostream & operator<< (std::ostream &os, const PetscScalar in)
 
ADRealEigenVector< T, D, asd > norm (const ADRealEigenVector< T, D, asd > &)
 
ADRealEigenVector< T, D, asd > norm (ADRealEigenVector< T, D, asd > &&)
 
ADRealEigenVector< T, D, asd > sqrt (const ADRealEigenVector< T, D, asd > &)
 
ADRealEigenVector< T, D, asd > sqrt (ADRealEigenVector< T, D, asd > &&)
 
ADRealEigenVector< T, D, asd > abs (const ADRealEigenVector< T, D, asd > &)
 
ADRealEigenVector< T, D, asd > abs (ADRealEigenVector< T, D, asd > &&)
 
auto norm (const libMesh::TypeVector< T > &vector) -> decltype(std::norm(T()))
 
MooseUnits pow (const MooseUnits &, int)
 

Function Documentation

◆ pow()

MooseUnits std::pow ( const MooseUnits u,
int  e 
)

Definition at line 537 of file Units.C.

Referenced by RinglebMeshGenerator::arhopj(), RinglebMesh::arhopj(), GeneratedMesh::buildMesh(), AnnularMesh::buildMesh(), SpiralAnnularMesh::buildMesh(), ElementLpNormAux::compute(), ElementH1ErrorFunctionAux::compute(), AB2PredictorCorrector::computeDT(), ElementW1pError::computeQpIntegral(), ElementH1ErrorFunctionAux::computeValue(), PseudoTimestep::currentResidualNorm(), RankTwoTensorTempl< Real >::d2sin3Lode(), SymmetricRankTwoTensorTempl< T >::dsin3Lode(), RankTwoTensorTempl< Real >::dsin3Lode(), FillBetweenPointVectorsTools::fillBetweenPointVectorsGenerator(), AnnularMeshGenerator::generate(), AdvancedExtruderGenerator::generate(), SpiralAnnularMeshGenerator::generate(), DistributedRectilinearMeshGenerator::generate(), TransfiniteMeshGenerator::getPointsDistribution(), PercentChangePostprocessor::getValue(), ElementW1pError::getValue(), MonotoneCubicInterpolation::initialize_derivs(), MonotoneCubicInterpolation::modify_derivs(), CompileTimeDerivatives::CTPow< L, R >::operator()(), DistributedRectilinearMeshGenerator::paritionSquarely(), MooseUnits::parse(), SymmetricRankTwoTensorTempl< T >::sin3Lode(), RankTwoTensorTempl< Real >::sin3Lode(), MonotoneCubicInterpolation::solve(), MathUtils::taylorLog(), PseudoTimestep::timestepRDM(), and PseudoTimestep::timestepSER().

538 {
539  MooseUnits r = u;
540  r._factor = std::pow(u._factor, e);
541  r._shift = 0.0;
542  for (auto & b : r._base)
543  b.second *= e;
544  return r;
545 }
std::vector< std::pair< BaseUnit, int > > _base
base SI units and their exponents
Definition: Units.h:118
Physical unit management class with runtime unit string parsing, unit checking, unit conversion...
Definition: Units.h:32
Real _factor
conversion factor w.r.t. the base SI units
Definition: Units.h:109
Real _shift
additive shift (for Celsius and Fahrenheit)
Definition: Units.h:112
MooseUnits pow(const MooseUnits &, int)
Definition: Units.C:537