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.
mpm_particle_base_load_condition.h
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ `
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // Kratos default license: kratos/license.txt
9 //
10 // Main authors: Veronika Singer
11 //
12 
13 
14 // System includes
15 #if !defined(KRATOS_MPM_PARTICLE_BASE_LOAD_CONDITION_H_INCLUDED )
16 #define KRATOS_MPM_PARTICLE_BASE_LOAD_CONDITION_H_INCLUDED
17 
18 // System includes
19 
20 // External includes
21 
22 // Project includes
23 #include "includes/define.h"
25 #include "includes/variables.h"
26 
27 namespace Kratos
28 {
29 
32 
36 
40 
44 
48 
50 
55 {
56 public:
59 
62 
63  // Constructor void
65  {};
66 
67  // Constructor using an array of nodes
68  MPMParticleBaseLoadCondition( IndexType NewId, GeometryType::Pointer pGeometry ):MPMParticleBaseCondition(NewId,pGeometry)
69  {};
70 
71  // Constructor using an array of nodes with properties
72  MPMParticleBaseLoadCondition( IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties ):MPMParticleBaseCondition(NewId,pGeometry,pProperties)
73  {};
74 
75  // Destructor
77  {};
78 
82 
83 
87 
88 
92 
94 // virtual String Info() const;
95 
97 // virtual void PrintInfo(std::ostream& rOStream) const;
98 
100 // virtual void PrintData(std::ostream& rOStream) const;
101 
102 
106 
107 
109 
110 protected:
113 
114 
118 
119 
123 
124 
128 
129 
133  virtual double GetPointLoadIntegrationWeight();
134 
139  virtual void MPMShapeFunctionPointValues(Vector& rResult) const override;
140 
144 
148 
149 
153 
155 
156 
157 
158 private:
161 
165 
169 
173 
174 
178 
179 
183 
187 
188  friend class Serializer;
189 
190  void save( Serializer& rSerializer ) const override
191  {
193  }
194 
195  void load( Serializer& rSerializer ) override
196  {
198  }
199 
200 
201 }; // Class MPMParticleBaseLoadCondition
202 
206 
207 
211 
212 } // namespace Kratos.
213 
214 #endif // KRATOS_MPM_PARTICLE_BASE_LOAD_CONDITION_H_INCLUDED defined
std::size_t IndexType
Definition: flags.h:74
Definition: mpm_particle_base_condition.h:50
Short class definition.
Definition: mpm_particle_base_load_condition.h:55
~MPMParticleBaseLoadCondition() override
Definition: mpm_particle_base_load_condition.h:76
virtual double GetPointLoadIntegrationWeight()
Definition: mpm_particle_base_load_condition.cpp:26
virtual void MPMShapeFunctionPointValues(Vector &rResult) const override
Definition: mpm_particle_base_load_condition.cpp:36
MPMParticleBaseLoadCondition(IndexType NewId, GeometryType::Pointer pGeometry)
Definition: mpm_particle_base_load_condition.h:68
MPMParticleBaseLoadCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Definition: mpm_particle_base_load_condition.h:72
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(MPMParticleBaseLoadCondition)
Counted pointer of MPMParticleBaseLoadCondition.
MPMParticleBaseLoadCondition()
Definition: mpm_particle_base_load_condition.h:64
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
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307