21 "Object for declaring a constant rank two tensor as a material property.");
23 "tensor_values",
"Vector of values defining the constant rank two tensor");
25 "tensor_name",
"Name of the tensor material property to be created");
35 declareGenericProperty<
RankTwoTensor, is_ad>(getParam<MaterialPropertyName>(
"tensor_name")))
registerMooseObject("MooseApp", GenericConstantRankTwoTensor)
Declares a constant material property of type RankTwoTensor.
static InputParameters validParams()
GenericConstantRankTwoTensorTempl(const InputParameters ¶meters)
virtual void initQpStatefulProperties() override
Initialize stateful properties at quadrature points.
virtual void computeQpProperties() override
Users must override this method.
Materials compute MaterialProperties.
static InputParameters validParams()
const T & getParam(const std::string &name) const
Retrieve a parameter for the object.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
void fillFromInputVector(const std::vector< T > &input, FillMethod fill_method=autodetect)
The smart mutator that determines how to fill the second order tensor based on the size of the input ...