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

No hardening - the parameter assumes the value _val for all internal parameters. More...

#include <TensorMechanicsHardeningConstant.h>

Inheritance diagram for TensorMechanicsHardeningConstant:
[legend]

Public Member Functions

 TensorMechanicsHardeningConstant (const InputParameters &parameters)
 
virtual Real value (Real intnl) const override
 
virtual Real derivative (Real intnl) const override
 
virtual std::string modelName () const override
 
void initialize ()
 
void execute ()
 
void finalize ()
 

Private Attributes

Real _val
 The value that the parameter will take. More...
 

Detailed Description

No hardening - the parameter assumes the value _val for all internal parameters.

Definition at line 21 of file TensorMechanicsHardeningConstant.h.

Constructor & Destructor Documentation

TensorMechanicsHardeningConstant::TensorMechanicsHardeningConstant ( const InputParameters &  parameters)

Definition at line 29 of file TensorMechanicsHardeningConstant.C.

31  : TensorMechanicsHardeningModel(parameters),
32  _val(getParam<bool>("convert_to_radians") ? getParam<Real>("value") * M_PI / 180.0
33  : getParam<Real>("value"))
34 {
35 }
Real _val
The value that the parameter will take.
TensorMechanicsHardeningModel(const InputParameters &parameters)

Member Function Documentation

Real TensorMechanicsHardeningConstant::derivative ( Real  intnl) const
overridevirtual

Reimplemented from TensorMechanicsHardeningModel.

Definition at line 39 of file TensorMechanicsHardeningConstant.C.

39 { return 0.0; }
void TensorMechanicsHardeningModel::execute ( )
inherited

Definition at line 32 of file TensorMechanicsHardeningModel.C.

33 {
34 }
void TensorMechanicsHardeningModel::finalize ( )
inherited

Definition at line 37 of file TensorMechanicsHardeningModel.C.

38 {
39 }
void TensorMechanicsHardeningModel::initialize ( )
inherited

Definition at line 27 of file TensorMechanicsHardeningModel.C.

28 {
29 }
std::string TensorMechanicsHardeningConstant::modelName ( ) const
overridevirtual

Implements TensorMechanicsHardeningModel.

Definition at line 42 of file TensorMechanicsHardeningConstant.C.

43 {
44  return "Constant";
45 }
Real TensorMechanicsHardeningConstant::value ( Real  intnl) const
overridevirtual

Reimplemented from TensorMechanicsHardeningModel.

Definition at line 37 of file TensorMechanicsHardeningConstant.C.

37 { return _val; }
Real _val
The value that the parameter will take.

Member Data Documentation

Real TensorMechanicsHardeningConstant::_val
private

The value that the parameter will take.

Definition at line 34 of file TensorMechanicsHardeningConstant.h.

Referenced by value().


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