18 params.
addClassDescription(
"Assemble an elasticity tensor from multiple tensor contributions "
19 "weighted by material properties");
20 params.
addParam<std::string>(
"base_name",
21 "Optional parameter that allows the user to define "
22 "multiple mechanics material systems on the same "
23 "block, i.e. for multiple phases");
29 _base_name(isParamValid(
"base_name") ? getParam<
std::string>(
"base_name") +
"_" :
""),
30 _M_name(_base_name +
"elasticity_tensor"),
34 for (
unsigned int i = 0; i <
_num_comp; ++i)
registerMooseObject("SolidMechanicsApp", CompositeElasticityTensor)
CompositeElasticityTensor provides a simple RankFourTensor type MaterialProperty that can be used as ...
static InputParameters validParams()
void computeQpProperties()
const std::string _M_name
MaterialProperty< RankFourTensor > & _M
CompositeElasticityTensor(const InputParameters ¶meters)
static InputParameters validParams()
void initializeDerivativeProperties(const std::string name)
virtual void computeQpTensorProperties(MaterialProperty< T > &M, Real derivative_prefactor=1.0)
std::vector< MaterialPropertyName > _tensor_names