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

Algebraic double well potential. More...

#include <DoubleWellPotential.h>

Inheritance diagram for DoubleWellPotential:
[legend]

Public Member Functions

 DoubleWellPotential (const InputParameters &parameters)
 
virtual void initialSetup ()
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Types

enum  PFFunctionType
 

Protected Member Functions

virtual Real computeDFDOP (PFFunctionType type)
 
virtual Real precomputeQpResidual ()
 
virtual Real precomputeQpJacobian ()
 
virtual Real computeQpOffDiagJacobian (unsigned int jvar)
 

Protected Attributes

const MaterialProperty< Real > & _L
 Mobility. More...
 
const MaterialProperty< Real > & _dLdop
 Mobility derivative w.r.t. order parameter. More...
 
std::vector< const MaterialProperty< Real > * > _dLdarg
 Mobility derivative w.r.t coupled variables. More...
 

Detailed Description

Algebraic double well potential.

Definition at line 21 of file DoubleWellPotential.h.

Member Enumeration Documentation

enum ACBulk::PFFunctionType
protectedinherited

Definition at line 35 of file ACBulk.h.

Constructor & Destructor Documentation

DoubleWellPotential::DoubleWellPotential ( const InputParameters &  parameters)

Definition at line 21 of file DoubleWellPotential.C.

22  : ACBulk<Real>(parameters)
23 {
24 }

Member Function Documentation

Real DoubleWellPotential::computeDFDOP ( PFFunctionType  type)
protectedvirtual

Implements ACBulk< Real >.

Definition at line 27 of file DoubleWellPotential.C.

28 {
29  switch (type)
30  {
31  case Residual:
32  return _u[_qp] * _u[_qp] * _u[_qp] - _u[_qp];
33 
34  case Jacobian:
35  return _phi[_j][_qp] * (3.0 * _u[_qp] * _u[_qp] - 1.0);
36  }
37 
38  mooseError("Invalid type passed in");
39 }
virtual Real ACBulk< Real >::computeQpOffDiagJacobian ( unsigned int  jvar)
protectedvirtualinherited
virtual void ACBulk< Real >::initialSetup ( )
virtualinherited
virtual Real ACBulk< Real >::precomputeQpJacobian ( )
protectedvirtualinherited
virtual Real ACBulk< Real >::precomputeQpResidual ( )
protectedvirtualinherited
static InputParameters ACBulk< Real >::validParams ( )
staticinherited

Member Data Documentation

std::vector<const MaterialProperty<Real > *> ACBulk< Real >::_dLdarg
protectedinherited

Mobility derivative w.r.t coupled variables.

Definition at line 50 of file ACBulk.h.

const MaterialProperty<Real >& ACBulk< Real >::_dLdop
protectedinherited

Mobility derivative w.r.t. order parameter.

Definition at line 47 of file ACBulk.h.

const MaterialProperty<Real >& ACBulk< Real >::_L
protectedinherited

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