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

Split with a variable that holds the Laplacian of the phase field. More...

#include <LaplacianSplit.h>

Inheritance diagram for LaplacianSplit:
[legend]

Public Member Functions

 LaplacianSplit (const InputParameters &parameters)
 

Protected Member Functions

virtual RealGradient precomputeQpResidual ()
 
virtual RealGradient precomputeQpJacobian ()
 
virtual Real computeQpOffDiagJacobian (unsigned int jvar)
 

Private Attributes

const unsigned int _var_c
 
const VariableGradient & _grad_c
 

Detailed Description

Split with a variable that holds the Laplacian of the phase field.

Definition at line 22 of file LaplacianSplit.h.

Constructor & Destructor Documentation

LaplacianSplit::LaplacianSplit ( const InputParameters &  parameters)

Definition at line 21 of file LaplacianSplit.C.

22  : KernelGrad(parameters), _var_c(coupled("c")), _grad_c(coupledGradient("c"))
23 {
24 }
const VariableGradient & _grad_c
const unsigned int _var_c

Member Function Documentation

Real LaplacianSplit::computeQpOffDiagJacobian ( unsigned int  jvar)
protectedvirtual

Reimplemented in CHCpldPFCTrad.

Definition at line 39 of file LaplacianSplit.C.

Referenced by CHCpldPFCTrad::computeQpOffDiagJacobian().

40 {
41  if (jvar == _var_c)
42  return _grad_phi[_j][_qp] * _grad_test[_i][_qp];
43 
44  return 0.0;
45 }
const unsigned int _var_c
RealGradient LaplacianSplit::precomputeQpJacobian ( )
protectedvirtual

Definition at line 33 of file LaplacianSplit.C.

34 {
35  return 0.0;
36 }
RealGradient LaplacianSplit::precomputeQpResidual ( )
protectedvirtual

Reimplemented in CHCpldPFCTrad.

Definition at line 27 of file LaplacianSplit.C.

Referenced by CHCpldPFCTrad::precomputeQpResidual().

28 {
29  return _grad_c[_qp]; // * _grad_test[_i][_qp]
30 }
const VariableGradient & _grad_c

Member Data Documentation

const VariableGradient& LaplacianSplit::_grad_c
private

Definition at line 34 of file LaplacianSplit.h.

Referenced by precomputeQpResidual().

const unsigned int LaplacianSplit::_var_c
private

Definition at line 33 of file LaplacianSplit.h.

Referenced by computeQpOffDiagJacobian().


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