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 18 of file PFMobility.h.

Constructor & Destructor Documentation

PFMobility::PFMobility ( const InputParameters &  parameters)

Definition at line 22 of file PFMobility.C.

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

Member Function Documentation

void PFMobility::computeProperties ( )
protectedvirtual

Definition at line 33 of file PFMobility.C.

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

Member Data Documentation

MaterialProperty<RealGradient>& PFMobility::_grad_M
private

Definition at line 28 of file PFMobility.h.

Referenced by computeProperties().

Real PFMobility::_kappa
private

Definition at line 32 of file PFMobility.h.

Referenced by computeProperties().

MaterialProperty<Real>& PFMobility::_kappa_c
private

Definition at line 29 of file PFMobility.h.

Referenced by computeProperties().

MaterialProperty<Real>& PFMobility::_M
private

Definition at line 27 of file PFMobility.h.

Referenced by computeProperties().

Real PFMobility::_mob
private

Definition at line 31 of file PFMobility.h.

Referenced by computeProperties().


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