KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
small_strain_isotropic_damage_traction_only_3d.h
Go to the documentation of this file.
1 // KRATOS ___ _ _ _ _ _ __ _
2 // / __\___ _ __ ___| |_(_) |_ _ _| |_(_)_ _____ / / __ ___ _____ /_\ _ __ _ __
3 // / / / _ \| '_ \/ __| __| | __| | | | __| \ \ / / _ \/ / / _` \ \ /\ / / __| //_\\| '_ \| '_ |
4 // / /__| (_) | | | \__ \ |_| | |_| |_| | |_| |\ V / __/ /__| (_| |\ V V /\__ \/ _ \ |_) | |_) |
5 // \____/\___/|_| |_|___/\__|_|\__|\__,_|\__|_| \_/ \___\____/\__,_| \_/\_/ |___/\_/ \_/ .__/| .__/
6 // |_| |_|
7 //
8 // License: BSD License
9 // license: structural_mechanics_application/license.txt
10 //
11 // Main authors: Marcelo Raschi
12 // Collaborator:
13 
14 #pragma once
15 
16 // System includes
17 
18 // External includes
19 
20 // Project includes
22 
23 namespace Kratos
24 {
27 
31 
35 
39 
43 
58 class KRATOS_API(CONSTITUTIVE_LAWS_APPLICATION) SmallStrainIsotropicDamageTractionOnly3D
60 
61 {
62 public:
63 
68  typedef std::size_t SizeType;
69 
70  // Counted pointer of LinearIsotropicDamageTractionOnly3DLaw
72 
76 
81 
86 
91 
96  ConstitutiveLaw::Pointer Clone() const override;
97 
98 // /**
99 // * @brief This method computes the stress and constitutive tensor
100 // * @param rValues The norm of the deviation stress
101 // * @param rStrainVariable
102 // */
103 // void CalculateStressResponse(
104 // ConstitutiveLaw::Parameters& rValues,
105 // double& rStrainVariable) override;
106 
112  void ComputePositiveStressVector(
113  Vector& rStressVectorPos,
114  Vector& rStressVector) override;
115 
116 private:
117 
120 
122 
125 
127 
130 
132 
135 
137 
141 
144 
145  friend class Serializer;
146 
147  void save(Serializer& rSerializer) const override;
148 
149  void load(Serializer& rSerializer) override;
150 
151 }; // class LinearIsotropicDamage3DLaw
152 } // namespace Kratos
Definition: constitutive_law.h:47
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Defines a damage with hardening constitutive law in 3D.
Definition: small_strain_isotropic_damage_3d.h:61
Definition: small_strain_isotropic_damage_traction_only_3d.h:61
ProcessInfo ProcessInfoType
Definition: small_strain_isotropic_damage_traction_only_3d.h:66
~SmallStrainIsotropicDamageTractionOnly3D() override
Default constructor.
ConstitutiveLaw BaseType
Definition: small_strain_isotropic_damage_traction_only_3d.h:67
std::size_t SizeType
Definition: small_strain_isotropic_damage_traction_only_3d.h:68
SmallStrainIsotropicDamageTractionOnly3D(const SmallStrainIsotropicDamageTractionOnly3D &rOther)
Default constructor.
KRATOS_CLASS_POINTER_DEFINITION(SmallStrainIsotropicDamageTractionOnly3D)
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307