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

This user object is a pure virtual base classs Derived classes integrate internal variables Currently only old state is retrieved to use backward Euler. More...

#include <HEVPInternalVarUOBase.h>

Inheritance diagram for HEVPInternalVarUOBase:
[legend]

Public Member Functions

 HEVPInternalVarUOBase (const InputParameters &parameters)
 
virtual bool computeValue (unsigned int, Real, Real &) const =0
 
virtual bool computeDerivative (unsigned int, Real, const std::string &, Real &) const =0
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Attributes

std::string _intvar_rate_prop_name
 
const MaterialProperty< Real > & _intvar_rate
 
const MaterialProperty< Real > & _this_old
 

Detailed Description

This user object is a pure virtual base classs Derived classes integrate internal variables Currently only old state is retrieved to use backward Euler.

Definition at line 25 of file HEVPInternalVarUOBase.h.

Constructor & Destructor Documentation

◆ HEVPInternalVarUOBase()

HEVPInternalVarUOBase::HEVPInternalVarUOBase ( const InputParameters &  parameters)

Definition at line 25 of file HEVPInternalVarUOBase.C.

26  : DiscreteElementUserObject(parameters),
27  _intvar_rate_prop_name(getParam<std::string>("intvar_rate_prop_name")),
28  _intvar_rate(getMaterialPropertyByName<Real>(_intvar_rate_prop_name)),
29  _this_old(getMaterialPropertyOldByName<Real>(_name))
30 {
31 }

Member Function Documentation

◆ computeDerivative()

virtual bool HEVPInternalVarUOBase::computeDerivative ( unsigned int  ,
Real  ,
const std::string &  ,
Real &   
) const
pure virtual

Implemented in HEVPEqvPlasticStrain.

◆ computeValue()

virtual bool HEVPInternalVarUOBase::computeValue ( unsigned int  ,
Real  ,
Real &   
) const
pure virtual

Implemented in HEVPEqvPlasticStrain.

◆ validParams()

InputParameters HEVPInternalVarUOBase::validParams ( )
static

Definition at line 15 of file HEVPInternalVarUOBase.C.

16 {
17  InputParameters params = DiscreteElementUserObject::validParams();
18  params.addParam<std::string>(
19  "intvar_rate_prop_name",
20  "Name of internal variable property: Same as internal variable rate user object");
21  params.addClassDescription("User Object to integrate internal variable");
22  return params;
23 }

Referenced by HEVPEqvPlasticStrain::validParams().

Member Data Documentation

◆ _intvar_rate

const MaterialProperty<Real>& HEVPInternalVarUOBase::_intvar_rate
protected

Definition at line 37 of file HEVPInternalVarUOBase.h.

Referenced by HEVPEqvPlasticStrain::computeValue().

◆ _intvar_rate_prop_name

std::string HEVPInternalVarUOBase::_intvar_rate_prop_name
protected

Definition at line 36 of file HEVPInternalVarUOBase.h.

Referenced by HEVPEqvPlasticStrain::computeDerivative().

◆ _this_old

const MaterialProperty<Real>& HEVPInternalVarUOBase::_this_old
protected

Definition at line 38 of file HEVPInternalVarUOBase.h.

Referenced by HEVPEqvPlasticStrain::computeValue().


The documentation for this class was generated from the following files:
HEVPInternalVarUOBase::_intvar_rate
const MaterialProperty< Real > & _intvar_rate
Definition: HEVPInternalVarUOBase.h:37
HEVPInternalVarUOBase::_intvar_rate_prop_name
std::string _intvar_rate_prop_name
Definition: HEVPInternalVarUOBase.h:36
HEVPInternalVarUOBase::_this_old
const MaterialProperty< Real > & _this_old
Definition: HEVPInternalVarUOBase.h:38
validParams
InputParameters validParams()