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 24 of file TensorMechanicsHardeningConstant.h.

Constructor & Destructor Documentation

◆ TensorMechanicsHardeningConstant()

TensorMechanicsHardeningConstant::TensorMechanicsHardeningConstant ( const InputParameters &  parameters)

Definition at line 34 of file TensorMechanicsHardeningConstant.C.

36  : TensorMechanicsHardeningModel(parameters),
37  _val(getParam<bool>("convert_to_radians") ? getParam<Real>("value") * M_PI / 180.0
38  : getParam<Real>("value"))
39 {
40 }
Real _val
The value that the parameter will take.
TensorMechanicsHardeningModel(const InputParameters &parameters)

Member Function Documentation

◆ derivative()

Real TensorMechanicsHardeningConstant::derivative ( Real  intnl) const
overridevirtual

Reimplemented from TensorMechanicsHardeningModel.

Definition at line 44 of file TensorMechanicsHardeningConstant.C.

44 { return 0.0; }

◆ execute()

void TensorMechanicsHardeningModel::execute ( )
inherited

Definition at line 35 of file TensorMechanicsHardeningModel.C.

36 {
37 }

◆ finalize()

void TensorMechanicsHardeningModel::finalize ( )
inherited

Definition at line 40 of file TensorMechanicsHardeningModel.C.

41 {
42 }

◆ initialize()

void TensorMechanicsHardeningModel::initialize ( )
inherited

Definition at line 30 of file TensorMechanicsHardeningModel.C.

31 {
32 }

◆ modelName()

std::string TensorMechanicsHardeningConstant::modelName ( ) const
overridevirtual

Implements TensorMechanicsHardeningModel.

Definition at line 47 of file TensorMechanicsHardeningConstant.C.

48 {
49  return "Constant";
50 }

◆ value()

Real TensorMechanicsHardeningConstant::value ( Real  intnl) const
overridevirtual

Reimplemented from TensorMechanicsHardeningModel.

Definition at line 42 of file TensorMechanicsHardeningConstant.C.

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

Member Data Documentation

◆ _val

Real TensorMechanicsHardeningConstant::_val
private

The value that the parameter will take.

Definition at line 37 of file TensorMechanicsHardeningConstant.h.

Referenced by value().


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