https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CombinedScalarDamage.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"
16template <bool is_ad>
18{
19public:
21
23
24 void initialSetup() override;
25
26protected:
27 virtual void updateQpDamageIndex() override;
28
29 enum class CombinationType
30 {
31 Maximum,
33 };
34
37
38 std::vector<MaterialName> _damage_models_names;
39
40 std::vector<ScalarDamageBaseTempl<is_ad> *> _damage_models;
41
42 using ScalarDamageBaseTempl<is_ad>::_qp;
45};
46
CombinedScalarDamageTempl< false > CombinedScalarDamage
CombinedScalarDamageTempl< true > ADCombinedScalarDamage
Scalar damage model computed as the combination of multiple damage models.
static InputParameters validParams()
virtual void updateQpDamageIndex() override
Update the damage index at the current qpoint.
const CombinationType _combination_type
Type of expansion.
std::vector< ScalarDamageBaseTempl< is_ad > * > _damage_models
std::vector< MaterialName > _damage_models_names
unsigned int _qp
const InputParameters & parameters() const
Base class for scalar damage models.
GenericMaterialProperty< Real, is_ad > & _damage_index
Material property that provides the damage index.
const MaterialProperty< Real > & _damage_index_old