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

Simple case for SplitCHWRes kernel, only with constant Mobility. More...

#include <SimpleSplitCHWRes.h>

Inheritance diagram for SimpleSplitCHWRes:
[legend]

Public Member Functions

 SimpleSplitCHWRes (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 

Protected Attributes

const MaterialProperty< Real > & _M
 Mobility. More...
 

Detailed Description

Simple case for SplitCHWRes kernel, only with constant Mobility.

Definition at line 20 of file SimpleSplitCHWRes.h.

Constructor & Destructor Documentation

SimpleSplitCHWRes::SimpleSplitCHWRes ( const InputParameters &  parameters)

Definition at line 21 of file SimpleSplitCHWRes.C.

22  : Kernel(parameters), _M(getMaterialProperty<Real>("mob_name"))
23 {
24 }
const MaterialProperty< Real > & _M
Mobility.

Member Function Documentation

Real SimpleSplitCHWRes::computeQpJacobian ( )
protectedvirtual

Definition at line 33 of file SimpleSplitCHWRes.C.

34 {
35  return _M[_qp] * _grad_phi[_j][_qp] * _grad_test[_i][_qp];
36 }
const MaterialProperty< Real > & _M
Mobility.
Real SimpleSplitCHWRes::computeQpResidual ( )
protectedvirtual

Definition at line 27 of file SimpleSplitCHWRes.C.

28 {
29  return _M[_qp] * _grad_u[_qp] * _grad_test[_i][_qp];
30 }
const MaterialProperty< Real > & _M
Mobility.

Member Data Documentation

const MaterialProperty<Real>& SimpleSplitCHWRes::_M
protected

Mobility.

Definition at line 30 of file SimpleSplitCHWRes.h.

Referenced by computeQpJacobian(), and computeQpResidual().


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