12 #define registerMOOSEMaterialPropertyToNEML2(alias) \ 13 registerMooseObject("MooseApp", MOOSE##alias##MaterialPropertyToNEML2); \ 14 registerMooseObject("MooseApp", MOOSEOld##alias##MaterialPropertyToNEML2) 21 template <
typename T,
unsigned int state>
27 "Gather a MOOSE material property of type " +
demangle(
typeid(T).
name()) +
28 " for insertion into the specified input or model parameter of a NEML2 model."));
29 params.template addRequiredParam<MaterialPropertyName>(
34 template <
typename T,
unsigned int state>
39 _mat_prop(this->template getGenericMaterialProperty<T, false>(
"from_moose", state))
44 #define instantiateMOOSEMaterialPropertyToNEML2(T) \ 45 template class MOOSEMaterialPropertyToNEML2<T, 0>; \ 46 template class MOOSEMaterialPropertyToNEML2<T, 1> std::string name(const ElemQuality q)
MOOSEMaterialPropertyToNEML2< T, state >::MOOSEMaterialPropertyToNEML2(const InputParameters ¶ms) template class MOOSEMaterialPropertyToNEML2< T, 1 > instantiateMOOSEMaterialPropertyToNEML2(Real)
registerMOOSEMaterialPropertyToNEML2(Real)
Generic gatherer for collecting "batched" MOOSE data for NEML2.
static InputParameters validParams()
MOOSEMaterialPropertyToNEML2(const InputParameters ¶ms)
static InputParameters validParams()
SymmetricRankTwoTensorTempl is designed to handle the Stress or Strain Tensor for an anisotropic mate...
std::string docstring(const std::string &desc)
Augment docstring if NEML2 is not enabled.
std::string demangle(const char *name)
RankTwoTensorTempl is designed to handle the Stress or Strain Tensor for a fully anisotropic material...