www.mooseframework.org
Public Member Functions | Protected Types | Protected Member Functions | List of all members
SplitCHBase Class Reference

The couple, SplitCHBase and SplitCHWRes, splits the CH equation by replacing chemical potential with 'w'. More...

#include <SplitCHBase.h>

Inheritance diagram for SplitCHBase:
[legend]

Public Member Functions

 SplitCHBase (const InputParameters &parameters)
 

Protected Types

enum  PFFunctionType { Jacobian, Residual }
 

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 
virtual Real computeQpOffDiagJacobian (unsigned int jvar)
 
virtual Real computeDFDC (PFFunctionType type)
 
virtual Real computeDEDC (PFFunctionType type)
 

Detailed Description

The couple, SplitCHBase and SplitCHWRes, splits the CH equation by replacing chemical potential with 'w'.

Definition at line 19 of file SplitCHBase.h.

Member Enumeration Documentation

Enumerator
Jacobian 
Residual 

Definition at line 25 of file SplitCHBase.h.

Constructor & Destructor Documentation

SplitCHBase::SplitCHBase ( const InputParameters &  parameters)

Definition at line 18 of file SplitCHBase.C.

18 : Kernel(parameters) {}

Member Function Documentation

Real SplitCHBase::computeDEDC ( PFFunctionType  type)
protectedvirtual

Definition at line 66 of file SplitCHBase.C.

Referenced by computeQpJacobian(), and computeQpResidual().

66 { return 0.0; }
Real SplitCHBase::computeDFDC ( PFFunctionType  type)
protectedvirtual

Reimplemented in SplitCHMath.

Definition at line 64 of file SplitCHBase.C.

Referenced by computeQpJacobian(), and computeQpResidual().

64 { return 0.0; }
Real SplitCHBase::computeQpJacobian ( )
protectedvirtual

Reimplemented in SplitCHCRes.

Definition at line 48 of file SplitCHBase.C.

Referenced by SplitCHCRes::computeQpJacobian().

49 {
50  Real df_prime_zero_dc = computeDFDC(Jacobian);
51  Real de_prime_dc = computeDEDC(Jacobian);
52 
53  Real jacobian = (df_prime_zero_dc + de_prime_dc) * _test[_i][_qp];
54 
55  return jacobian;
56 }
virtual Real computeDEDC(PFFunctionType type)
Definition: SplitCHBase.C:66
virtual Real computeDFDC(PFFunctionType type)
Definition: SplitCHBase.C:64
Real SplitCHBase::computeQpOffDiagJacobian ( unsigned int  jvar)
protectedvirtual

Reimplemented in SplitCHCRes.

Definition at line 59 of file SplitCHBase.C.

60 {
61  return 0.0;
62 }
Real SplitCHBase::computeQpResidual ( )
protectedvirtual

Reimplemented in SplitCHCRes.

Definition at line 37 of file SplitCHBase.C.

Referenced by SplitCHCRes::computeQpResidual(), and KKSSplitCHCRes::computeQpResidual().

38 {
39  Real f_prime_zero = computeDFDC(Residual);
40  Real e_prime = computeDEDC(Residual);
41 
42  Real residual = (f_prime_zero + e_prime) * _test[_i][_qp];
43 
44  return residual;
45 }
virtual Real computeDEDC(PFFunctionType type)
Definition: SplitCHBase.C:66
virtual Real computeDFDC(PFFunctionType type)
Definition: SplitCHBase.C:64

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