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)
static InputParameters validParams()
registerMooseObject("SolidMechanicsApp", CompositeElasticityTensor)
static InputParameters validParams()
virtual void computeQpTensorProperties(MaterialProperty< T > &M, Real derivative_prefactor=1.0)
CompositeElasticityTensor(const InputParameters ¶meters)
void initializeDerivativeProperties(const std::string name)
void computeQpProperties()
MaterialProperty< RankFourTensor > & _M
CompositeElasticityTensor provides a simple RankFourTensor type MaterialProperty that can be used as ...
const std::string _M_name
std::vector< MaterialPropertyName > _tensor_names