www.mooseframework.org
SmearedCrackSofteningBase.C
Go to the documentation of this file.
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 
11 
12 #include "MooseMesh.h"
13 
16 {
18  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  params.set<bool>("compute") = false;
22  params.suppressParameter<bool>("compute");
23  return params;
24 }
25 
27  : Material(parameters)
28 {
29 }
T & set(const std::string &name, bool quiet_mode=false)
void suppressParameter(const std::string &name)
static InputParameters validParams()
static InputParameters validParams()
SmearedCrackSofteningBase(const InputParameters &parameters)
void addClassDescription(const std::string &doc_string)