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.
thermal_simo_ju_nonlocal_damage_3D_law.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosDamApplication $
3 // Last Modified by: $Author: Ignasi de Pouplana $
4 // Date: $Date: February 2017 $
5 // Revision: $Revision: 1.0 $
6 //
7 
8 #if !defined (KRATOS_THERMAL_SIMO_JU_NONLOCAL_DAMAGE_3D_LAW_H_INCLUDED)
9 #define KRATOS_THERMAL_SIMO_JU_NONLOCAL_DAMAGE_3D_LAW_H_INCLUDED
10 
11 // System includes
12 #include <cmath>
13 
14 // Project includes
15 #include "includes/serializer.h"
16 
17 // Application includes
19 #include "custom_constitutive/custom_hardening_laws/exponential_damage_hardening_law.hpp"
20 #include "custom_constitutive/custom_yield_criteria/simo_ju_yield_criterion.hpp"
23 
24 namespace Kratos
25 {
26 
27 class KRATOS_API(DAM_APPLICATION) ThermalSimoJuNonlocalDamage3DLaw : public ThermalNonlocalDamage3DLaw
28 {
29 
30 public:
31 
33 
34  typedef FlowRule::Pointer FlowRulePointer;
35  typedef YieldCriterion::Pointer YieldCriterionPointer;
36  typedef HardeningLaw::Pointer HardeningLawPointer;
37 
39 
42 
45 
48 
51 
53 
54  int Check(const Properties& rMaterialProperties, const GeometryType& rElementGeometry, const ProcessInfo& rCurrentProcessInfo) const override;
55 
56  ConstitutiveLaw::Pointer Clone() const override;
57 
59 
60 protected:
61 
63 
65 
66  void CalculateCharacteristicSize( double& rCharacteristicSize, const GeometryType& DomainGeometry ) override;
67 
68 private:
69 
71 
72  friend class Serializer;
73 
74  void save(Serializer& rSerializer) const override
75  {
77  }
78 
79  void load(Serializer& rSerializer) override
80  {
82  }
83 
84 }; // Class ThermalSimoJuNonlocalDamage3DLaw
85 } // namespace Kratos.
86 #endif // KRATOS_THERMAL_SIMO_JU_NONLOCAL_DAMAGE_3D_LAW_H_INCLUDED defined
Definition: constitutive_law.h:47
Geometry base class.
Definition: geometry.h:71
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Definition: thermal_nonlocal_damage_3D_law.hpp:22
FlowRule::Pointer FlowRulePointer
Definition: thermal_nonlocal_damage_3D_law.hpp:28
HardeningLaw::Pointer HardeningLawPointer
Definition: thermal_nonlocal_damage_3D_law.hpp:30
YieldCriterion::Pointer YieldCriterionPointer
Definition: thermal_nonlocal_damage_3D_law.hpp:29
Definition: thermal_simo_ju_nonlocal_damage_3D_law.hpp:28
HardeningLaw::Pointer HardeningLawPointer
Definition: thermal_simo_ju_nonlocal_damage_3D_law.hpp:36
KRATOS_CLASS_POINTER_DEFINITION(ThermalSimoJuNonlocalDamage3DLaw)
YieldCriterion::Pointer YieldCriterionPointer
Definition: thermal_simo_ju_nonlocal_damage_3D_law.hpp:35
FlowRule::Pointer FlowRulePointer
Definition: thermal_simo_ju_nonlocal_damage_3D_law.hpp:34
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307