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_grid_axisym_point_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: Bodhinanda Chandra
11 //
12 
13 
14 #if !defined(KRATOS_MPM_GRID_AXISYM_POINT_LOAD_CONDITION_H_INCLUDED )
15 #define KRATOS_MPM_GRID_AXISYM_POINT_LOAD_CONDITION_H_INCLUDED
16 
17 // System includes
18 
19 // External includes
20 
21 // Project includes
23 
24 namespace Kratos
25 {
34 
38 
42 
44 
51 {
52 public:
55 
58 
62 
64  MPMGridAxisymPointLoadCondition(IndexType NewId, GeometryType::Pointer pGeometry);
65  MPMGridAxisymPointLoadCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties);
66 
69 
76 
77  Condition::Pointer Create(
78  IndexType NewId,
79  GeometryType::Pointer pGeometry,
80  PropertiesType::Pointer pProperties
81  ) const override;
82 
83  Condition::Pointer Create(
84  IndexType NewId,
85  NodesArrayType const& ThisNodes,
86  PropertiesType::Pointer pProperties
87  ) const override;
88 
89  //std::string Info() const;
90 
94 
101 
103  // virtual String Info() const;
104 
106  // virtual void PrintInfo(std::ostream& rOStream) const;
107 
109  // virtual void PrintData(std::ostream& rOStream) const;
114 
115 protected:
121 
125 
127  {
128  }
129 
143 
144 private:
147 
151 
155 
159 
163  double GetPointLoadIntegrationWeight() override;
164 
169 
173 
174  friend class Serializer;
175 
176  // A private default constructor necessary for serialization
177 
178  void save(Serializer& rSerializer) const override;
179 
180  void load(Serializer& rSerializer) override;
181 
188  //MPMGridAxisymPointLoadCondition& operator=(const MPMGridAxisymPointLoadCondition& rOther);
190  //MPMGridAxisymPointLoadCondition(const MPMGridAxisymPointLoadCondition& rOther);
192 
193 }; // Class MPMGridAxisymPointLoadCondition
194 
202 
203 } // namespace Kratos.
204 #endif // KRATOS_MPM_GRID_AXISYM_POINT_LOAD_CONDITION_H_INCLUDED defined
std::size_t IndexType
Definition: flags.h:74
Axisymmetric point load condition.
Definition: mpm_grid_axisym_point_load_condition.h:51
~MPMGridAxisymPointLoadCondition() override
Destructor.
Definition: mpm_grid_axisym_point_load_condition.cpp:75
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(MPMGridAxisymPointLoadCondition)
Counted pointer of MPMGridAxisymPointLoadCondition.
Condition::Pointer Create(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties) const override
It creates a new condition pointer.
Definition: mpm_grid_axisym_point_load_condition.cpp:51
MPMGridAxisymPointLoadCondition()
Definition: mpm_grid_axisym_point_load_condition.h:126
Short class definition.
Definition: mpm_grid_point_load_condition.h:55
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307