https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CompositeMobilityTensor.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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
26 : CompositeTensorBase<RealTensorValue, Material>(parameters),
27 _M_name(getParam<MaterialPropertyName>("M_name")),
28 _M(declareProperty<RealTensorValue>(_M_name))
29{
31}
32
33void
registerMooseObject("PhaseFieldApp", CompositeMobilityTensor)
CompositeMobilityTensor provides a simple RealTensorValue type MaterialProperty that can be used as a...
MaterialProperty< RealTensorValue > & _M
CompositeMobilityTensor(const InputParameters &parameters)
static InputParameters validParams()
static InputParameters validParams()
void initializeDerivativeProperties(const std::string name)
virtual void computeQpTensorProperties(MaterialProperty< T > &M, Real derivative_prefactor=1.0)
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)