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.
output_quadrature_domain_process.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 
11 #if !defined(KRATOS_OUTPUT_QUADRATURE_DOMAIN_PROCESS_H_INCLUDED )
12 #define KRATOS_OUTPUT_QUADRATURE_DOMAIN_PROCESS_H_INCLUDED
13 
14 // System includes
15 
16 // External includes
17 
18 // Project includes
19 #include "containers/model.h"
20 
21 #include "processes/process.h"
22 
24 
25 namespace Kratos
26 {
27 
30 
31 /* @class OutputQuadratureDomainProcess
32  * @ingroup IgaApplication
33  * @brief This class outputs the location of the quadrature points within the local space of the containing geometry. */
34 class KRATOS_API(IGA_APPLICATION) OutputQuadratureDomainProcess
35  : public Process
36 {
37 public:
40 
43 
44  typedef std::size_t IndexType;
45  typedef std::size_t SizeType;
46 
50 
53  Model& rModel,
54  Parameters ThisParameters);
55 
58 
62 
64  void ExecuteBeforeSolutionLoop() override;
65 
66  const Parameters GetDefaultParameters() const override;
67 
71 
73  std::string Info() const override
74  {
75  return "OutputQuadratureDomainProcess";
76  }
77 
79  void PrintInfo(std::ostream& rOStream) const override
80  {
81  rOStream << "OutputQuadratureDomainProcess";
82  }
83 
85  void PrintData(std::ostream& rOStream) const override
86  {
87  }
88 
89 private:
92 
94  Model& mrModel;
95  Parameters mThisParameters;
96 
98 
99 }; // Class OutputQuadratureDomainProcess
100 
104 
106 inline std::istream& operator >> (std::istream& rIStream,
108 
110 inline std::ostream& operator << (std::ostream& rOStream,
111  const OutputQuadratureDomainProcess& rThis)
112 {
113  rThis.PrintInfo(rOStream);
114  rOStream << std::endl;
115  rThis.PrintData(rOStream);
116 
117  return rOStream;
118 }
120 
121 } // namespace Kratos.
122 
123 #endif // KRATOS_OUTPUT_QUADRATURE_DOMAIN_PROCESS_H_INCLUDED defined
This class aims to manage different model parts across multi-physics simulations.
Definition: model.h:60
Definition: output_quadrature_domain_process.h:36
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: output_quadrature_domain_process.h:85
std::string Info() const override
Turn back information as a string.
Definition: output_quadrature_domain_process.h:73
std::size_t SizeType
Definition: output_quadrature_domain_process.h:45
KRATOS_CLASS_POINTER_DEFINITION(OutputQuadratureDomainProcess)
Pointer definition of OutputQuadratureDomainProcess.
~OutputQuadratureDomainProcess()=default
Destructor.
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: output_quadrature_domain_process.h:79
std::size_t IndexType
Definition: output_quadrature_domain_process.h:44
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
The base class for all processes in Kratos.
Definition: process.h:49
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432