www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CompositeMobilityTensor Class Reference

CompositeMobilityTensor provides a simple RealTensorValue type MaterialProperty that can be used as a mobility in a phase field simulation. More...

#include <CompositeMobilityTensor.h>

Inheritance diagram for CompositeMobilityTensor:
[legend]

Public Member Functions

 CompositeMobilityTensor (const InputParameters &parameters)
 

Protected Member Functions

void computeQpProperties ()
 

Protected Attributes

const std::string _M_name
 
MaterialProperty< RealTensorValue > & _M
 

Detailed Description

CompositeMobilityTensor provides a simple RealTensorValue type MaterialProperty that can be used as a mobility in a phase field simulation.

This mobility is computes as a weighted sum of base mobilities where each weight can be a scalar material property that may depend on simulation variables. The generic logic that computes a weighted sum of tensors is located in the templated base class CompositeTensorBase.

Definition at line 24 of file CompositeMobilityTensor.h.

Constructor & Destructor Documentation

◆ CompositeMobilityTensor()

CompositeMobilityTensor::CompositeMobilityTensor ( const InputParameters &  parameters)

Definition at line 26 of file CompositeMobilityTensor.C.

27  : CompositeTensorBase<RealTensorValue, Material>(parameters),
28  _M_name(getParam<MaterialPropertyName>("M_name")),
29  _M(declareProperty<RealTensorValue>(_M_name))
30 {
31  initializeDerivativeProperties(_M_name);
32 }
MaterialProperty< RealTensorValue > & _M

Member Function Documentation

◆ computeQpProperties()

void CompositeMobilityTensor::computeQpProperties ( )
protected

Definition at line 35 of file CompositeMobilityTensor.C.

36 {
37  computeQpTensorProperties(_M);
38 }
MaterialProperty< RealTensorValue > & _M

Member Data Documentation

◆ _M

MaterialProperty<RealTensorValue>& CompositeMobilityTensor::_M
protected

Definition at line 33 of file CompositeMobilityTensor.h.

Referenced by computeQpProperties().

◆ _M_name

const std::string CompositeMobilityTensor::_M_name
protected

Definition at line 32 of file CompositeMobilityTensor.h.

Referenced by CompositeMobilityTensor().


The documentation for this class was generated from the following files: