Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 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 "SolidMechanicsHardeningModel.h" 13 : 14 : InputParameters 15 11260 : SolidMechanicsHardeningModel::validParams() 16 : { 17 11260 : InputParameters params = GeneralUserObject::validParams(); 18 11260 : params.addClassDescription( 19 : "Hardening Model base class. Override the virtual functions in your class"); 20 11260 : return params; 21 0 : } 22 : 23 5630 : SolidMechanicsHardeningModel::SolidMechanicsHardeningModel(const InputParameters & parameters) 24 5630 : : GeneralUserObject(parameters) 25 : { 26 5630 : } 27 : 28 : void 29 51940 : SolidMechanicsHardeningModel::initialize() 30 : { 31 51940 : } 32 : 33 : void 34 51940 : SolidMechanicsHardeningModel::execute() 35 : { 36 51940 : } 37 : 38 : void 39 51940 : SolidMechanicsHardeningModel::finalize() 40 : { 41 51940 : } 42 : 43 : Real 44 0 : SolidMechanicsHardeningModel::value(Real /*intnl*/) const 45 : { 46 0 : return 1.0; 47 : } 48 : 49 : Real 50 0 : SolidMechanicsHardeningModel::derivative(Real /*intnl*/) const 51 : { 52 0 : return 0.0; 53 : }