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 23 of file SimpleSplitCHWRes.h.

Constructor & Destructor Documentation

◆ SimpleSplitCHWRes()

SimpleSplitCHWRes::SimpleSplitCHWRes ( const InputParameters &  parameters)

Definition at line 26 of file SimpleSplitCHWRes.C.

27  : Kernel(parameters), _M(getMaterialProperty<Real>("mob_name"))
28 {
29 }
const MaterialProperty< Real > & _M
Mobility.

Member Function Documentation

◆ computeQpJacobian()

Real SimpleSplitCHWRes::computeQpJacobian ( )
protectedvirtual

Definition at line 38 of file SimpleSplitCHWRes.C.

39 {
40  return _M[_qp] * _grad_phi[_j][_qp] * _grad_test[_i][_qp];
41 }
const MaterialProperty< Real > & _M
Mobility.

◆ computeQpResidual()

Real SimpleSplitCHWRes::computeQpResidual ( )
protectedvirtual

Definition at line 32 of file SimpleSplitCHWRes.C.

33 {
34  return _M[_qp] * _grad_u[_qp] * _grad_test[_i][_qp];
35 }
const MaterialProperty< Real > & _M
Mobility.

Member Data Documentation

◆ _M

const MaterialProperty<Real>& SimpleSplitCHWRes::_M
protected

Mobility.

Definition at line 33 of file SimpleSplitCHWRes.h.

Referenced by computeQpJacobian(), and computeQpResidual().


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