Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://www.mooseframework.org 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : // Hardening model base class. 11 : // 12 : #include "TensorMechanicsHardeningModel.h" 13 : 14 : InputParameters 15 5630 : TensorMechanicsHardeningModel::validParams() 16 : { 17 5630 : InputParameters params = GeneralUserObject::validParams(); 18 5630 : params.addClassDescription( 19 : "Hardening Model base class. Override the virtual functions in your class"); 20 5630 : return params; 21 0 : } 22 : 23 2815 : TensorMechanicsHardeningModel::TensorMechanicsHardeningModel(const InputParameters & parameters) 24 2815 : : GeneralUserObject(parameters) 25 : { 26 2815 : } 27 : 28 : void 29 25970 : TensorMechanicsHardeningModel::initialize() 30 : { 31 25970 : } 32 : 33 : void 34 25970 : TensorMechanicsHardeningModel::execute() 35 : { 36 25970 : } 37 : 38 : void 39 25970 : TensorMechanicsHardeningModel::finalize() 40 : { 41 25970 : } 42 : 43 0 : Real TensorMechanicsHardeningModel::value(Real /*intnl*/) const { return 1.0; } 44 : 45 0 : Real TensorMechanicsHardeningModel::derivative(Real /*intnl*/) const { return 0.0; }