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

This is the base class for kernels that calculate the residual for grain growth. More...

#include <ACGrGrBase.h>

Inheritance diagram for ACGrGrBase:
[legend]

Public Member Functions

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

Static Public Member Functions

static InputParameters validParams ()
 

Protected Types

enum  PFFunctionType
 

Protected Member Functions

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

Protected Attributes

const unsigned int _op_num
 
std::vector< const VariableValue * > _vals
 
std::vector< unsigned int > _vals_var
 
const MaterialProperty< Real > & _mu
 
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

This is the base class for kernels that calculate the residual for grain growth.

It calculates the residual of the ith order parameter, and the values of all other order parameters are coupled variables and are stored in vals.

Definition at line 23 of file ACGrGrBase.h.

Member Enumeration Documentation

enum ACBulk::PFFunctionType
protectedinherited

Definition at line 35 of file ACBulk.h.

Constructor & Destructor Documentation

ACGrGrBase::ACGrGrBase ( const InputParameters &  parameters)

Definition at line 19 of file ACGrGrBase.C.

20  : ACBulk<Real>(parameters),
21  _op_num(coupledComponents("v")),
22  _vals(_op_num),
24  _mu(getMaterialProperty<Real>("mu"))
25 {
26  // Loop through grains and load coupled variables into the arrays
27  for (unsigned int i = 0; i < _op_num; ++i)
28  {
29  _vals[i] = &coupledValue("v", i);
30  _vals_var[i] = coupled("v", i);
31  }
32 }
const unsigned int _op_num
Definition: ACGrGrBase.h:29
std::vector< unsigned int > _vals_var
Definition: ACGrGrBase.h:32
const MaterialProperty< Real > & _mu
Definition: ACGrGrBase.h:34
std::vector< const VariableValue * > _vals
Definition: ACGrGrBase.h:31

Member Function Documentation

virtual Real ACBulk< Real >::computeDFDOP ( PFFunctionType  type)
protectedpure virtualinherited
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
const MaterialProperty<Real>& ACGrGrBase::_mu
protected
const unsigned int ACGrGrBase::_op_num
protected
std::vector<const VariableValue *> ACGrGrBase::_vals
protected
std::vector<unsigned int> ACGrGrBase::_vals_var
protected

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