https://mooseframework.inl.gov
Functions | Variables
NEML2Action.C File Reference

Go to the source code of this file.

Functions

 registerMooseAction ("MooseApp", NEML2Action, "parse_neml2")
 
 registerMooseAction ("MooseApp", NEML2Action, "add_material")
 
 registerMooseAction ("MooseApp", NEML2Action, "add_user_object")
 
static std::string obscureObjectName (const std::string &name, const std::string &prefix, const std::string &suffix, const std::string &block)
 

Variables

const std::map< neml2::TensorType, std::string > tensor_type_map
 
const std::map< std::pair< neml2::TensorType, neml2::TensorType >, neml2::TensorType > deriv_type_map
 

Function Documentation

◆ obscureObjectName()

static std::string obscureObjectName ( const std::string &  name,
const std::string &  prefix,
const std::string &  suffix,
const std::string &  block 
)
static

Definition at line 134 of file NEML2Action.C.

138 {
139  return "__" + prefix + "_" + name + "_" + suffix + "_" + block + "__";
140 }
std::string name(const ElemQuality q)

◆ registerMooseAction() [1/3]

registerMooseAction ( "MooseApp"  ,
NEML2Action  ,
"parse_neml2"   
)

◆ registerMooseAction() [2/3]

registerMooseAction ( "MooseApp"  ,
NEML2Action  ,
"add_material"   
)

◆ registerMooseAction() [3/3]

registerMooseAction ( "MooseApp"  ,
NEML2Action  ,
"add_user_object"   
)

Variable Documentation

◆ deriv_type_map

const std::map<std::pair<neml2::TensorType, neml2::TensorType>, neml2::TensorType> deriv_type_map
Initial value:
=
{
{{neml2::TensorType::kScalar, neml2::TensorType::kScalar}, neml2::TensorType::kScalar},
{{neml2::TensorType::kSR2, neml2::TensorType::kSR2}, neml2::TensorType::kSSR4},
{{neml2::TensorType::kSR2, neml2::TensorType::kScalar}, neml2::TensorType::kSR2},
{{neml2::TensorType::kScalar, neml2::TensorType::kSR2}, neml2::TensorType::kSR2},
{{neml2::TensorType::kR2, neml2::TensorType::kR2}, neml2::TensorType::kR4},
{{neml2::TensorType::kR2, neml2::TensorType::kScalar}, neml2::TensorType::kR2},
{{neml2::TensorType::kScalar, neml2::TensorType::kR2}, neml2::TensorType::kR2},
}

Definition at line 37 of file NEML2Action.C.

◆ tensor_type_map

const std::map<neml2::TensorType, std::string> tensor_type_map
Initial value:
= {
{neml2::TensorType::kScalar, "Real"},
{neml2::TensorType::kSR2, "SymmetricRankTwoTensor"},
{neml2::TensorType::kR2, "RankTwoTensor"},
{neml2::TensorType::kSSR4, "SymmetricRankFourTensor"},
{neml2::TensorType::kR4, "RankFourTensor"},
{neml2::TensorType::kRot, "RealVectorValue"}}

Definition at line 29 of file NEML2Action.C.