https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Classes | Functions
MetaPhysicL Namespace Reference

We need to instantiate the following CompareTypes to tell the compiler that ADReal is a subtype of ChainedADReal. More...

Classes

class  DualNumber
 
struct  RawType< ADTwoVector >
 
struct  RawType< ColumnMajorMatrixTempl< T > >
 
struct  RawType< Eigen::Matrix< T, -1, 1, Options, MaxSize, 1 > >
 
struct  RawType< Eigen::Matrix< T, M, N, O, M2, N2 > >
 
struct  RawType< libMesh::DenseMatrix< T > >
 
struct  RawType< libMesh::DenseVector< T > >
 
struct  RawType< libMesh::TensorValue< T > >
 
struct  RawType< libMesh::TypeTensor< T > >
 
struct  RawType< libMesh::TypeVector< T > >
 
struct  RawType< libMesh::VectorValue< T > >
 
struct  RawType< RankFourTensorTempl< T > >
 
struct  RawType< RankThreeTensorTempl< T > >
 
struct  RawType< RankTwoTensorTempl< T > >
 
struct  RawType< SymmetricRankFourTensorTempl< T > >
 
struct  RawType< SymmetricRankTwoTensorTempl< T > >
 
struct  ReplaceAlgebraicType< libMesh::ADRealEigenVector, U >
 
struct  ReplaceAlgebraicType< libMesh::RealEigenVector, U >
 
struct  ReplaceAlgebraicType< libMesh::TensorValue< T >, U >
 
struct  ReplaceAlgebraicType< libMesh::TypeTensor< T >, U >
 
struct  ReplaceAlgebraicType< libMesh::TypeVector< T >, U >
 
struct  ReplaceAlgebraicType< libMesh::VectorValue< T >, U >
 

Functions

template<template< typename, size_t > class Array, typename T , size_t N>
void to_json (nlohmann::json &json, const DynamicArrayWrapper< Array, T, N > &array)
 
template<typename T , typename I , typename N , typename ArrayWrapper >
void to_json (nlohmann::json &json, const SemiDynamicSparseNumberArrayGeneric< T, I, N, ArrayWrapper > &sdsna)
 
template<typename T , typename D , bool asd>
void to_json (nlohmann::json &json, const DualNumber< T, D, asd > &dn)
 
 CompareTypes_super (ADReal, ChainedADReal, ChainedADReal)
 
template<typename T >
auto raw_value (const Eigen::Map< T > &in)
 

Detailed Description

We need to instantiate the following CompareTypes to tell the compiler that ADReal is a subtype of ChainedADReal.

Otherwise specialization of operators on DualNumber<T, D> and DualNumber<T2, D2> is ambiguous.

Function Documentation

◆ CompareTypes_super()

MetaPhysicL::CompareTypes_super ( ADReal  ,
ChainedADReal  ,
ChainedADReal   
)

◆ raw_value()

template<typename T >
auto MetaPhysicL::raw_value ( const Eigen::Map< T > &  in)

Definition at line 100 of file EigenADReal.h.

101{
102 return raw_value(in.eval());
103}
auto raw_value(const Eigen::Map< T > &in)

Referenced by TaggingInterface::addResiduals(), TaggingInterface::addResidualsWithoutConstraints(), Assembly::cacheResiduals(), Assembly::cacheResidualsWithoutConstraints(), Eigen::internal::cast< ADReal, double >(), Eigen::internal::cast< ADReal, int >(), Eigen::internal::cast< ADReal, long >(), Eigen::internal::cast< ADReal, long double >(), ElementIntegralFunctorPostprocessorTempl< is_ad >::cellAverage(), InternalSideIntegralVariablePostprocessor::computeFaceInfoIntegral(), SideDiffusiveFluxIntegralTempl< is_ad, T >::computeFaceInfoIntegral(), SideFVFluxBCIntegral::computeFaceInfoIntegral(), SideIntegralVariablePostprocessor::computeFaceInfoIntegral(), SideIntegralFunctorPostprocessorTempl< is_ad >::computeLocalContribution(), Moose::FV::computeMinMaxValue(), Moose::FV::computeMinMaxValue(), GradientJumpIndicator::computeQpIntegral(), ElementIntegralFunctorPostprocessorTempl< is_ad >::computeQpIntegral(), ElementIntegralMaterialPropertyTempl< is_ad >::computeQpIntegral(), ElementL2FunctorErrorTempl< is_ad >::computeQpIntegral(), InterfaceDiffusiveFluxIntegralTempl< is_ad >::computeQpIntegral(), InterfaceIntegralVariableValuePostprocessor::computeQpIntegral(), SideAdvectiveFluxIntegralTempl< is_ad >::computeQpIntegral(), SideDiffusiveFluxIntegralTempl< is_ad, T >::computeQpIntegral(), SideIntegralMaterialPropertyTempl< is_ad >::computeQpIntegral(), LayeredSideDiffusiveFluxAverage::computeQpIntegral(), SideIntegralVariableUserObject::computeQpIntegral(), EqualValueEmbeddedConstraintTempl< is_ad >::computeQpJacobian(), MaterialADConverterTempl< T >::computeQpProperties(), MaterialFunctorConverterTempl< T >::computeQpProperties(), FVMatAdvection::computeQpResidual(), EqualValueEmbeddedConstraintTempl< is_ad >::computeQpSecondaryValue(), ElementExtremeMaterialPropertyTempl< is_ad >::computeQpValue(), ElementExtremeMaterialPropertyReporterTempl< is_ad >::computeQpValue(), FVElementalKernel::computeResidual(), ADArrayKernel::computeResidual(), ADArrayNodalKernel::computeResidual(), ADNodalKernel::computeResidual(), ADNodalBCTempl< T, Base >::computeResidual(), FVScalarLagrangeMultiplierConstraint::computeResidual(), FVFluxBC::computeResidual(), FVInterfaceKernel::computeResidual(), FVFluxKernel::computeResidual(), FVBoundaryScalarLagrangeMultiplierConstraint::computeResidual(), FVScalarLagrangeMultiplierInterface::computeResidual(), ADNodalBCTempl< T, Base >::computeResidualAndJacobian(), AdvectiveFluxAux::computeValue(), DiffusionFluxAux::computeValue(), DivergenceAuxTempl< is_ad >::computeValue(), FunctorElementalGradientAuxTempl< is_ad >::computeValue(), FunctorVectorElementalAuxTempl< is_ad >::computeValue(), ProjectedStatefulMaterialAuxTempl< T, is_ad >::computeValue(), ADDirichletBCBaseTempl< T >::computeValue(), Moose::RawValueFunctor< T >::evaluate(), Moose::RawValueFunctor< T >::evaluate(), Moose::RawValueFunctor< T >::evaluate(), Moose::RawValueFunctor< T >::evaluate(), Moose::RawValueFunctor< T >::evaluate(), Moose::RawValueFunctor< T >::evaluate(), Moose::RawValueFunctor< T >::evaluateDot(), Moose::RawValueFunctor< T >::evaluateDot(), Moose::RawValueFunctor< T >::evaluateDot(), Moose::RawValueFunctor< T >::evaluateDot(), Moose::RawValueFunctor< T >::evaluateDot(), Moose::RawValueFunctor< T >::evaluateDot(), Moose::RawValueFunctor< T >::evaluateGradDot(), Moose::RawValueFunctor< T >::evaluateGradDot(), Moose::RawValueFunctor< T >::evaluateGradDot(), Moose::RawValueFunctor< T >::evaluateGradDot(), Moose::RawValueFunctor< T >::evaluateGradDot(), Moose::RawValueFunctor< T >::evaluateGradDot(), Moose::RawValueFunctor< T >::evaluateGradient(), Moose::RawValueFunctor< T >::evaluateGradient(), Moose::RawValueFunctor< T >::evaluateGradient(), Moose::RawValueFunctor< T >::evaluateGradient(), Moose::RawValueFunctor< T >::evaluateGradient(), Moose::RawValueFunctor< T >::evaluateGradient(), ProjectedStatefulMaterialNodalPatchRecoveryTempl< T, is_ad >::execute(), ElementValueSampler::execute(), SideValueSampler::execute(), ConservativeAdvectionTempl< is_ad >::fullUpwind(), FunctorADConverterTempl< T >::FunctorADConverterTempl(), ElementExtremeFunctorValueTempl< is_ad >::getProxyValuePair(), MaterialRankFourTensorAuxTempl< is_ad >::getRealValue(), MaterialRankTwoTensorAuxTempl< T, is_ad >::getRealValue(), MaterialRateRealAuxTempl< is_ad >::getRealValue(), MaterialRealAuxTempl< is_ad, is_functor >::getRealValue(), MaterialRealTensorValueAuxTempl< is_ad >::getRealValue(), MaterialRealVectorValueAuxTempl< T, is_ad, is_functor >::getRealValue(), MaterialStdVectorAuxTempl< is_ad >::getRealValue(), VectorMaterialRealVectorValueAuxTempl< is_ad >::getRealValue(), Moose::FV::greenGaussGradient(), Moose::FV::harmonicInterpolation(), LinearInterpolation::integratePartial(), Moose::FV::interpolate(), NestedSolveTempl< is_ad >::isRelSmall(), NestedSolveTempl< is_ad >::isRelSmall(), NestedSolveTempl< is_ad >::isRelSmall(), RankTwoTensorTempl< T >::isSymmetric(), AdvectionHDGAssemblyHelper::lmOutflow(), NestedSolveTempl< is_ad >::normSquare(), NestedSolveTempl< is_ad >::normSquare(), NestedSolveTempl< is_ad >::normSquare(), RankFourTensorTempl< T >::printReal(), SymmetricRankFourTensorTempl< T >::printReal(), SymmetricRankTwoTensorTempl< T >::printReal(), AutomaticMortarGeneration::projectPrimaryNodesSinglePair(), Moose::Mortar::projectQPoints3d(), raw_value(), moose::internal::rawValueEqualityHelper(), Moose::FV::rF(), Eigen::internal::cast_impl< ADReal, int >::run(), SplineInterpolationBase::sample(), BilinearInterpolation::sampleDerivativeInternal(), PiecewiseMultilinear::sampleInternal(), BilinearInterpolation::sampleInternal(), Function::value(), PiecewiseConstant::value(), PiecewiseMulticonstant::value(), MetaPhysicL::RawType< ADTwoVector >::value(), MetaPhysicL::RawType< ColumnMajorMatrixTempl< T > >::value(), MetaPhysicL::RawType< Eigen::Matrix< T, -1, 1, Options, MaxSize, 1 > >::value(), MetaPhysicL::RawType< Eigen::Matrix< T, M, N, O, M2, N2 > >::value(), MetaPhysicL::RawType< RankFourTensorTempl< T > >::value(), MetaPhysicL::RawType< RankThreeTensorTempl< T > >::value(), MetaPhysicL::RawType< RankTwoTensorTempl< T > >::value(), MetaPhysicL::RawType< SymmetricRankFourTensorTempl< T > >::value(), MetaPhysicL::RawType< SymmetricRankTwoTensorTempl< T > >::value(), and PiecewiseLinearFromVectorPostprocessor::valueInternal().

◆ to_json() [1/3]

template<typename T , typename D , bool asd>
void MetaPhysicL::to_json ( nlohmann::json &  json,
const DualNumber< T, D, asd > &  dn 
)

Definition at line 130 of file JsonIO.h.

131{
132 nlohmann::to_json(json, dn.value());
133 to_json(json, dn.derivatives());
134}
void to_json(nlohmann::json &json, const MooseApp &app)
Definition JsonIO.C:23

◆ to_json() [2/3]

template<template< typename, size_t > class Array, typename T , size_t N>
void MetaPhysicL::to_json ( nlohmann::json &  json,
const DynamicArrayWrapper< Array, T, N > &  array 
)

Definition at line 113 of file JsonIO.h.

114{
115 for (const auto element : array)
116 nlohmann::to_json(json, element);
117}

Referenced by to_json(), and to_json().

◆ to_json() [3/3]

template<typename T , typename I , typename N , typename ArrayWrapper >
void MetaPhysicL::to_json ( nlohmann::json &  json,
const SemiDynamicSparseNumberArrayGeneric< T, I, N, ArrayWrapper > &  sdsna 
)

Definition at line 121 of file JsonIO.h.

123{
124 to_json(json, sdsna.nude_indices());
125 to_json(json, sdsna.nude_data());
126}