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.
axisymmetric_U_Pw_normal_face_load_condition.hpp
Go to the documentation of this file.
1 // KRATOS___
2 // // ) )
3 // // ___ ___
4 // // ____ //___) ) // ) )
5 // // / / // // / /
6 // ((____/ / ((____ ((___/ / MECHANICS
7 //
8 // License: geo_mechanics_application/license.txt
9 //
10 //
11 // Main authors: Vahid Galavi
12 //
13 
14 
15 #if !defined(KRATOS_GEO_AXISYMMETRIC_U_PW_NORMAL_FACE_LOAD_CONDITION_H_INCLUDED )
16 #define KRATOS_GEO_AXISYMMETRIC_U_PW_NORMAL_FACE_LOAD_CONDITION_H_INCLUDED
17 
18 // Project includes
19 #include "includes/serializer.h"
20 
21 // Application includes
22 #include "custom_conditions/U_Pw_normal_face_load_condition.hpp"
25 
26 namespace Kratos
27 {
28 
29 template< unsigned int TDim, unsigned int TNumNodes >
30 class KRATOS_API(GEO_MECHANICS_APPLICATION)
32 {
33 
34 public:
35 
37 
38  using IndexType = std::size_t;
40  using NodeType = Node;
43  using VectorType = Vector;
44  using MatrixType = Matrix;
45 
46 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
47 
49 
51  GeometryType::Pointer pGeometry )
52  : AxisymmetricUPwNormalFaceLoadCondition(NewId, pGeometry, nullptr)
53  {}
54 
56  GeometryType::Pointer pGeometry,
57  PropertiesType::Pointer pProperties )
58  : UPwNormalFaceLoadCondition<TDim,TNumNodes>(NewId, pGeometry, pProperties)
59  {}
60 
61 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
62 
63  Condition::Pointer Create(IndexType NewId,NodesArrayType const& ThisNodes,PropertiesType::Pointer pProperties ) const override;
64 
65  GeometryData::IntegrationMethod GetIntegrationMethod() const override;
66 
67 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
68 
69 protected:
70 
71  // Member Variables
72 
73 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
74 
75  double CalculateIntegrationCoefficient( const IndexType PointNumber,
76  const GeometryType::IntegrationPointsArrayType& IntegrationPoints ) const override;
77 
78 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
79 
80 private:
81 
82  // Member Variables
83 
84 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
85 
86  // Serialization
87 
88  friend class Serializer;
89 
90  void save(Serializer& rSerializer) const override
91  {
93  }
94 
95  void load(Serializer& rSerializer) override
96  {
98  }
99 
100 }; // class AxisymmetricUPwNormalFaceLoadCondition.
101 
102 } // namespace Kratos.
103 
104 #endif // KRATOS_GEO_AXISYMMETRIC_U_PW_NORMAL_FACE_LOAD_CONDITION_H_INCLUDED defined
Definition: axisymmetric_U_Pw_normal_face_load_condition.hpp:32
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(AxisymmetricUPwNormalFaceLoadCondition)
AxisymmetricUPwNormalFaceLoadCondition()
Definition: axisymmetric_U_Pw_normal_face_load_condition.hpp:48
AxisymmetricUPwNormalFaceLoadCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Definition: axisymmetric_U_Pw_normal_face_load_condition.hpp:55
AxisymmetricUPwNormalFaceLoadCondition(IndexType NewId, GeometryType::Pointer pGeometry)
Definition: axisymmetric_U_Pw_normal_face_load_condition.hpp:50
Base class for all Conditions.
Definition: condition.h:59
std::size_t IndexType
Definition: flags.h:74
IntegrationMethod
Definition: geometry_data.h:76
Geometry base class.
Definition: geometry.h:71
std::vector< IntegrationPointType > IntegrationPointsArrayType
Definition: geometry.h:161
PointerVector< TPointType > PointsArrayType
Definition: geometry.h:118
This class defines the node.
Definition: node.h:65
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
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: U_Pw_normal_face_load_condition.hpp:32
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
std::size_t IndexType
The definition of the index type.
Definition: key_hash.h:35
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Internals::Matrix< double, AMatrix::dynamic, 1 > Vector
Definition: amatrix_interface.h:472
Internals::Matrix< double, AMatrix::dynamic, AMatrix::dynamic > Matrix
Definition: amatrix_interface.h:470
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307