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.
EP_point_rigid_contact_penalty_2D_condition.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosContactMechanicsApplication $
3 // Created by: $Author: LMonforte $
4 // Last modified by: $Co-Author: $
5 // Date: $Date: July 2016 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined(KRATOS_EP_POINT_RIGID_CONTACT_PENALTY_2D_CONDITION_H_INCLUDED )
11 #define KRATOS_EP_POINT_RIGID_CONTACT_PENALTY_2D_CONDITION_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
19 
20 namespace Kratos
21 {
22 
25 
29 
33 
37 
41 
43 
45 class KRATOS_API(CONTACT_MECHANICS_APPLICATION) EPPointRigidContactPenalty2DCondition
47 {
48 
49 public:
50 
52 
55 
57  // Counted pointer of EPPointRigidContactPenalty3DCondition
60 
64 
67 
69  EPPointRigidContactPenalty2DCondition(IndexType NewId, GeometryType::Pointer pGeometry);
70 
71  EPPointRigidContactPenalty2DCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties);
72 
73  EPPointRigidContactPenalty2DCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties, SpatialBoundingBox::Pointer pRigidWall);
74 
75 
78 
79 
82 
83 
87 
88 
92 
100  Condition::Pointer Create(IndexType NewId, NodesArrayType const&
101  ThisNodes, PropertiesType::Pointer pProperties) const override;
102 
103 
111  Condition::Pointer Clone(IndexType NewId,
112  NodesArrayType const& ThisNodes) const override;
113 
127 
128 protected:
140 
141 
142 
146  virtual double& CalculateIntegrationWeight(double& rIntegrationWeight) override;
147 
148  virtual double CalculateSomeSortOfArea() override;
149 
150 
161 
162 private:
165 
169 
173 
174 
178 
179 
183 
184 
188 
192 
193  friend class Serializer;
194 
195  virtual void save(Serializer& rSerializer) const override
196  {
198  }
199 
200  virtual void load(Serializer& rSerializer) override
201  {
203  }
204 
205 
206 }; // Class EPPointRigidContactPenalty2DCondition
207 
209 
212 
213 
217 
218 
220 /* inline std::istream& operator >> (std::istream& rIStream,
221  EPPointRigidContactPenalty2DCondition& rThis);
222 */
224 /* inline std::ostream& operator << (std::ostream& rOStream,
225  const EPPointRigidContactPenalty2DCondition& rThis)
226  {
227  rThis.PrintInfo(rOStream);
228  rOStream << std::endl;
229  rThis.PrintData(rOStream);
230 
231  return rOStream;
232  }*/
234 
235 } // namespace Kratos.
236 
237 #endif // KRATOS_POINT_RIGID_CONTACT_PENALTY_2D_CONDITION_H_INCLUDED defined
Short class definition.
Definition: EP_point_rigid_contact_penalty_2D_condition.hpp:47
BoundedVector< double, 3 > PointType
Tensor order 1 definition.
Definition: EP_point_rigid_contact_penalty_2D_condition.hpp:54
EPPointRigidContactPenalty2DCondition()
Serialization constructor.
Definition: EP_point_rigid_contact_penalty_2D_condition.hpp:66
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(EPPointRigidContactPenalty2DCondition)
Short class definition.
Definition: EP_point_rigid_contact_penalty_3D_condition.hpp:47
Definition: amatrix_interface.h:41
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
#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
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307