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 : #include "SmearedCrackSofteningBase.h" 11 : 12 : #include "MooseMesh.h" 13 : 14 : InputParameters 15 338 : SmearedCrackSofteningBase::validParams() 16 : { 17 338 : InputParameters params = Material::validParams(); 18 338 : params.addClassDescription("Calculates the softening behavior in a given crack direction. This " 19 : "class is intended to be used with ComputeSmearedCrackingStress."); 20 : // These models are to be called by another model, so set compute=false 21 338 : params.set<bool>("compute") = false; 22 338 : params.suppressParameter<bool>("compute"); 23 338 : return params; 24 0 : } 25 : 26 252 : SmearedCrackSofteningBase::SmearedCrackSofteningBase(const InputParameters & parameters) 27 252 : : Material(parameters) 28 : { 29 252 : }