https://mooseframework.inl.gov
ScalarMaterialDamage.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 
12 #include "ScalarDamageBase.h"
13 
14 // Forward declaration
15 
19 template <bool is_ad>
21 {
22 public:
24 
26 
27 protected:
28  virtual void updateQpDamageIndex() override;
29 
33 
35  using Material::_dt;
36  using Material::_q_point;
37  using Material::_qp;
38 
41 };
42 
const MooseArray< Point > & _q_point
static InputParameters validParams()
Real & _dt
Scalar damage model for which the damage is prescribed by another material.
virtual void updateQpDamageIndex() override
Update the damage index at the current qpoint.
ScalarMaterialDamageTempl< true > ADScalarMaterialDamage
unsigned int _qp
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
ScalarMaterialDamageTempl< false > ScalarMaterialDamage
ScalarMaterialDamageTempl(const InputParameters &parameters)
const InputParameters & parameters() const
const GenericMaterialProperty< Real, is_ad > & _damage_property
Material property that provides the damage index.
const Elem *const & _current_elem
Base class for scalar damage models.