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

#include <PFMobility.h>

Inheritance diagram for PFMobility:
[legend]

Public Member Functions

 PFMobility (const InputParameters &parameters)
 

Protected Member Functions

virtual void computeProperties ()
 

Private Attributes

MaterialProperty< Real > & _M
 
MaterialProperty< RealGradient > & _grad_M
 
MaterialProperty< Real > & _kappa_c
 
Real _mob
 
Real _kappa
 

Detailed Description

Definition at line 21 of file PFMobility.h.

Constructor & Destructor Documentation

◆ PFMobility()

PFMobility::PFMobility ( const InputParameters &  parameters)

Definition at line 24 of file PFMobility.C.

25  : Material(parameters),
26  _M(declareProperty<Real>("M")),
27  _grad_M(declareProperty<RealGradient>("grad_M")),
28  _kappa_c(declareProperty<Real>("kappa_c")),
29  _mob(getParam<Real>("mob")),
30  _kappa(getParam<Real>("kappa"))
31 {
32 }
Real _kappa
Definition: PFMobility.h:35
Real _mob
Definition: PFMobility.h:34
MaterialProperty< RealGradient > & _grad_M
Definition: PFMobility.h:31
MaterialProperty< Real > & _M
Definition: PFMobility.h:30
MaterialProperty< Real > & _kappa_c
Definition: PFMobility.h:32

Member Function Documentation

◆ computeProperties()

void PFMobility::computeProperties ( )
protectedvirtual

Definition at line 35 of file PFMobility.C.

36 {
37  for (unsigned int qp = 0; qp < _qrule->n_points(); ++qp)
38  {
39  _M[qp] = _mob;
40  _grad_M[qp] = 0.0;
41  _kappa_c[qp] = _kappa;
42  }
43 }
Real _kappa
Definition: PFMobility.h:35
Real _mob
Definition: PFMobility.h:34
MaterialProperty< RealGradient > & _grad_M
Definition: PFMobility.h:31
MaterialProperty< Real > & _M
Definition: PFMobility.h:30
MaterialProperty< Real > & _kappa_c
Definition: PFMobility.h:32

Member Data Documentation

◆ _grad_M

MaterialProperty<RealGradient>& PFMobility::_grad_M
private

Definition at line 31 of file PFMobility.h.

Referenced by computeProperties().

◆ _kappa

Real PFMobility::_kappa
private

Definition at line 35 of file PFMobility.h.

Referenced by computeProperties().

◆ _kappa_c

MaterialProperty<Real>& PFMobility::_kappa_c
private

Definition at line 32 of file PFMobility.h.

Referenced by computeProperties().

◆ _M

MaterialProperty<Real>& PFMobility::_M
private

Definition at line 30 of file PFMobility.h.

Referenced by computeProperties().

◆ _mob

Real PFMobility::_mob
private

Definition at line 34 of file PFMobility.h.

Referenced by computeProperties().


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