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")))
GenericConstantRankTwoTensorTempl(const InputParameters ¶meters)
virtual void computeQpProperties() override
Users must override this method.
registerMooseObject("MooseApp", GenericConstantRankTwoTensor)
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 ...
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...
Declares a constant material property of type RankTwoTensor.
Materials compute MaterialProperties.
static InputParameters validParams()
virtual void initQpStatefulProperties() override
Initialize stateful properties at quadrature points.