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.
post_process_utilities.hpp
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: Guillermo Casas
11 // Ignasi de Pouplana
12 //
13 
14 
15 #ifndef KRATOS_POST_PROCESS_UTILITIES
16 #define KRATOS_POST_PROCESS_UTILITIES
17 
18 // System includes
19 #include <pybind11/pybind11.h>
20 
21 // Project includes
22 #include "includes/define_python.h"
23 
24 #include "includes/define.h"
25 #include "utilities/openmp_utils.h"
26 #include "includes/model_part.h"
27 
28 // Application includes
30 
31 
32 namespace Kratos
33 {
34 
36 
37 public:
38 
40 
42 
43 PostProcessUtilities(ModelPart& rModelPart);
44 
46 
47 virtual ~PostProcessUtilities();
48 
49 //***************************************************************************************************************
50 //***************************************************************************************************************
51 
52 void GetStickyStatus(pybind11::list& is_sticky_list);
53 
54 void GetInitialContinuumBonds(pybind11::list& initial_continuum_bonds_list);
55 
56 void GetCurrentContinuumBonds(pybind11::list& current_continuum_bonds_list);
57 
58 //***************************************************************************************************************
59 //***************************************************************************************************************
60 
64 
65 
69 
71 
72 virtual std::string Info() const;
73 
75 
76 virtual void PrintInfo(std::ostream& rOStream) const;
78 
79 virtual void PrintData(std::ostream& rOStream) const;
80 
81 
85 
87 
88 protected:
91 
93 
97 
98 
102 
103 
107 
108 
112 
116 
117 
121 
122 
124 
125 private:
126 
129 
130 
137 
141 
142 void Clear(pybind11::list& my_list);
143 
147 
148 
152 
153 
157 
159 
160 }; // Class PostProcessUtilities
161 
162 } // namespace Python.
163 
164 #endif // KRATOS_STRESS_FAILURE_CHECK_UTILITIES
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
Definition: post_process_utilities.hpp:35
void GetStickyStatus(pybind11::list &is_sticky_list)
Definition: post_process_utilities.cpp:34
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: post_process_utilities.cpp:128
PostProcessUtilities()
Default constructor.
Definition: postprocess_utilities.h:26
void GetCurrentContinuumBonds(pybind11::list &current_continuum_bonds_list)
Definition: post_process_utilities.cpp:75
KRATOS_CLASS_POINTER_DEFINITION(PostProcessUtilities)
virtual ~PostProcessUtilities()
Destructor.
Definition: post_process_utilities.cpp:32
void GetInitialContinuumBonds(pybind11::list &initial_continuum_bonds_list)
Definition: post_process_utilities.cpp:55
virtual std::string Info() const
Turn back information as a stemplate<class T, std::size_t dim> tring.
Definition: post_process_utilities.cpp:115
ModelPart & mrModelPart
Definition: post_process_utilities.hpp:92
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: post_process_utilities.cpp:122
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21