www.mooseframework.org
CompositeMobilityTensor.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
11 
13 
16 {
18  params.addClassDescription("Assemble a mobility tensor from multiple tensor contributions "
19  "weighted by material properties");
20  params.addRequiredParam<MaterialPropertyName>("M_name",
21  "Name of the mobility tensor property to generate");
22  return params;
23 }
24 
27  _M_name(getParam<MaterialPropertyName>("M_name")),
28  _M(declareProperty<RealTensorValue>(_M_name))
29 {
31 }
32 
33 void
35 {
37 }
static InputParameters validParams()
virtual void computeQpTensorProperties(MaterialProperty< T > &M, Real derivative_prefactor=1.0)
void addRequiredParam(const std::string &name, const std::string &doc_string)
void initializeDerivativeProperties(const std::string name)
TensorValue< Real > RealTensorValue
MaterialProperty< RealTensorValue > & _M
static InputParameters validParams()
CompositeMobilityTensor(const InputParameters &parameters)
CompositeMobilityTensor provides a simple RealTensorValue type MaterialProperty that can be used as a...
void addClassDescription(const std::string &doc_string)
registerMooseObject("PhaseFieldApp", CompositeMobilityTensor)