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.
levelset_convection_element_simplex_algebraic_stabilization.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: Mohammad R. Hashemi
11 //
12 //
13 
14 
15 #if !defined(KRATOS_LEVELSET_CONVECTION_ELEMENT_SIMPLEX_ALGEBRAIC_STABILIZATION )
16 #define KRATOS_LEVELSET_CONVECTION_ELEMENT_SIMPLEX_ALGEBRAIC_STABILIZATION
17 
18 // System includes
19 
20 // External includes
21 
22 // Project includes
24 
25 namespace Kratos
26 {
27 
30 
34 
38 
42 
46 
49 template<unsigned int TDim, unsigned int TNumNodes>
51  : public LevelSetConvectionElementSimplex<TDim, TNumNodes>
52 {
53 public:
56 
59 
61 
63 
65 
67 
69 
73 
76 
78  IndexType NewId,
79  GeometryType::Pointer pGeometry);
80 
82  IndexType NewId,
83  GeometryType::Pointer pGeometry,
84  PropertiesType::Pointer pProperties);
85 
87 
91 
92 
96 
97  Element::Pointer Create(
98  IndexType NewId,
99  NodesArrayType const& ThisNodes,
100  PropertiesType::Pointer pProperties) const override;
101 
102  Element::Pointer Create(
103  IndexType NewId,
104  GeometryType::Pointer pGeom,
105  PropertiesType::Pointer pProperties) const override;
106 
107  void CalculateLocalSystem(
108  MatrixType& rLeftHandSideMatrix,
109  VectorType& rRightHandSideVector,
110  const ProcessInfo& rCurrentProcessInfo) override;
111 
115 
116 
120 
121 
125 
127 
128  std::string Info() const override
129  {
130  return "LevelSetConvectionElementSimplexAlgebraicStabilization #";
131  }
132 
134 
135  void PrintInfo(std::ostream& rOStream) const override
136  {
137  rOStream << Info() << this->Id();
138  }
139 
140 
144 
145 
147 
148 protected:
151 
152 
156 
160 
164 
165 
169 
170 
174 
175 
179 
180 
182 
183 
184 private:
187 
191 
195  friend class Serializer;
196 
197  void save(Serializer& rSerializer) const override
198  {
200  }
201 
202  void load(Serializer& rSerializer) override
203  {
205  }
206 
208 
211 
212 
216 
217 
221 
222 
226 
227 
229 
230 };
231 
233 
236 
237 
241 
242 
243 } // namespace Kratos.
244 
245 #endif // KRATOS_LEVELSET_CONVECTION_ELEMENT_SIMPLEX_ALGEBRAIC_STABILIZATION defined
246 
247 
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Base class for all Elements.
Definition: element.h:60
std::size_t IndexType
Definition: flags.h:74
Geometry base class.
Definition: geometry.h:71
Definition: levelset_convection_element_simplex_algebraic_stabilization.h:52
Element::VectorType VectorType
Definition: levelset_convection_element_simplex_algebraic_stabilization.h:68
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(LevelSetConvectionElementSimplexAlgebraicStabilization)
Counted pointer of.
Element::MatrixType MatrixType
Definition: levelset_convection_element_simplex_algebraic_stabilization.h:66
Element::NodesArrayType NodesArrayType
Definition: levelset_convection_element_simplex_algebraic_stabilization.h:64
Element::GeometryType GeometryType
Definition: levelset_convection_element_simplex_algebraic_stabilization.h:60
std::string Info() const override
Turn back information as a string.
Definition: levelset_convection_element_simplex_algebraic_stabilization.h:128
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: levelset_convection_element_simplex_algebraic_stabilization.h:135
Element::PropertiesType PropertiesType
Definition: levelset_convection_element_simplex_algebraic_stabilization.h:62
formulation described in https://docs.google.com/document/d/13a_zGLj6xORDuLgoOG5LwHI6BwShvfO166opZ815...
Definition: levelset_convection_element_simplex.h:59
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
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
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
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
def load(f)
Definition: ode_solve.py:307