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

Compute the Allen-Cahn interface term with constant Mobility and Interfacial parameter. More...

#include <SimpleACInterface.h>

Inheritance diagram for SimpleACInterface:
[legend]

Public Member Functions

 SimpleACInterface (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 

Protected Attributes

const MaterialProperty< Real > & _L
 Mobility. More...
 
const MaterialProperty< Real > & _kappa
 Interfacial parameter. More...
 

Detailed Description

Compute the Allen-Cahn interface term with constant Mobility and Interfacial parameter.

Definition at line 20 of file SimpleACInterface.h.

Constructor & Destructor Documentation

SimpleACInterface::SimpleACInterface ( const InputParameters &  parameters)

Definition at line 21 of file SimpleACInterface.C.

22  : Kernel(parameters),
23  _L(getMaterialProperty<Real>("mob_name")),
24  _kappa(getMaterialProperty<Real>("kappa_name"))
25 {
26 }
const MaterialProperty< Real > & _L
Mobility.
const MaterialProperty< Real > & _kappa
Interfacial parameter.

Member Function Documentation

Real SimpleACInterface::computeQpJacobian ( )
protectedvirtual

Definition at line 35 of file SimpleACInterface.C.

36 {
37  return _grad_phi[_j][_qp] * _kappa[_qp] * _L[_qp] * _grad_test[_i][_qp];
38 }
const MaterialProperty< Real > & _L
Mobility.
const MaterialProperty< Real > & _kappa
Interfacial parameter.
Real SimpleACInterface::computeQpResidual ( )
protectedvirtual

Definition at line 29 of file SimpleACInterface.C.

30 {
31  return _grad_u[_qp] * _kappa[_qp] * _L[_qp] * _grad_test[_i][_qp];
32 }
const MaterialProperty< Real > & _L
Mobility.
const MaterialProperty< Real > & _kappa
Interfacial parameter.

Member Data Documentation

const MaterialProperty<Real>& SimpleACInterface::_kappa
protected

Interfacial parameter.

Definition at line 32 of file SimpleACInterface.h.

Referenced by computeQpJacobian(), and computeQpResidual().

const MaterialProperty<Real>& SimpleACInterface::_L
protected

Mobility.

Definition at line 30 of file SimpleACInterface.h.

Referenced by computeQpJacobian(), and computeQpResidual().


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