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_line_load_condition_2d.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_LINE_LOAD_CONDITION_2D_H_INCLUDED )
15 #define KRATOS_MPM_GRID_AXISYM_LINE_LOAD_CONDITION_2D_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  MPMGridAxisymLineLoadCondition2D(IndexType NewId, GeometryType::Pointer pGeometry);
65  MPMGridAxisymLineLoadCondition2D(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 
166  double GetIntegrationWeight(
167  const GeometryType::IntegrationPointsArrayType& IntegrationPoints,
168  const unsigned int PointNumber,
169  const double detJ
170  ) override;
171 
176 
180 
181  friend class Serializer;
182 
183  // A private default constructor necessary for serialization
184 
185  void save(Serializer& rSerializer) const override;
186 
187  void load(Serializer& rSerializer) override;
188 
195  //MPMGridAxisymLineLoadCondition2D& operator=(const MPMGridAxisymLineLoadCondition2D& rOther);
197  //MPMGridAxisymLineLoadCondition2D(const MPMGridAxisymLineLoadCondition2D& rOther);
199 
200 }; // Class MPMGridAxisymLineLoadCondition2D
201 
209 
210 } // namespace Kratos.
211 #endif // KRATOS_MPM_GRID_AXISYM_LINE_LOAD_CONDITION_2D_H_INCLUDED defined
std::size_t IndexType
Definition: flags.h:74
std::vector< IntegrationPointType > IntegrationPointsArrayType
Definition: geometry.h:161
Axisymmetric line load condition.
Definition: mpm_grid_axisym_line_load_condition_2d.h:51
~MPMGridAxisymLineLoadCondition2D() override
Destructor.
Definition: mpm_grid_axisym_line_load_condition_2d.cpp:75
MPMGridAxisymLineLoadCondition2D()
Definition: mpm_grid_axisym_line_load_condition_2d.h:126
Condition::Pointer Create(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties) const override
It creates a new condition pointer.
Definition: mpm_grid_axisym_line_load_condition_2d.cpp:51
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(MPMGridAxisymLineLoadCondition2D)
Counted pointer of MPMGridAxisymLineLoadCondition2D.
Short class definition.
Definition: mpm_grid_line_load_condition_2d.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