https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ComputeDamageStress.h
Go to the documentation of this file.
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#pragma once
11
14#include "DamageBase.h"
15
16// Forward declaration
17template <bool is_ad>
19 conditional<is_ad, ADComputeFiniteStrainElasticStress, ComputeFiniteStrainElasticStress>::type;
20
25template <bool is_ad>
27{
28public:
30
31 ComputeDamageStressTempl(const InputParameters & parameters);
32
33 void initialSetup() override;
34
35protected:
36 virtual void computeQpStress() override;
37
40
43
45};
46
ComputeDamageStressTempl< true > ADComputeDamageStress
typename std::conditional< is_ad, ADComputeFiniteStrainElasticStress, ComputeFiniteStrainElasticStress >::type ComputeFiniteStrainElasticStressTempl
ComputeDamageStressTempl< false > ComputeDamageStress
ComputeDamageStress computes the stress for a damaged elasticity material.
static InputParameters validParams()
virtual void computeQpStress() override
MaterialProperty< Real > & _material_timestep_limit
Property that stores the time step limit.
DamageBaseTempl< is_ad > * _damage_model
Pointer to the damage model.
DamageBase is a base class for damage models, which modify the stress tensor computed by another mode...
Definition DamageBase.h:26
unsigned int _qp