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_eigen_values_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_EIGEN_VALUES_PROCESS_H_INCLUDED )
12 #define KRATOS_OUTPUT_EIGEN_VALUES_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 OutputEigenValuesProcess
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) OutputEigenValuesProcess
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 ExecuteFinalize() override;
65 
66  const Parameters GetDefaultParameters() const override;
67 
71 
73  std::string Info() const override
74  {
75  return "OutputEigenValuesProcess";
76  }
77 
79  void PrintInfo(std::ostream& rOStream) const override
80  {
81  rOStream << "OutputEigenValuesProcess";
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 OutputEigenValuesProcess
100 
104 
106 inline std::istream& operator >> (std::istream& rIStream,
107  OutputEigenValuesProcess& rThis);
108 
110 inline std::ostream& operator << (std::ostream& rOStream,
111  const OutputEigenValuesProcess& 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_EIGEN_VALUES_PROCESS_H_INCLUDED defined
This class aims to manage different model parts across multi-physics simulations.
Definition: model.h:60
Definition: output_eigen_values_process.h:36
std::string Info() const override
Turn back information as a string.
Definition: output_eigen_values_process.h:73
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: output_eigen_values_process.h:85
std::size_t SizeType
Definition: output_eigen_values_process.h:45
~OutputEigenValuesProcess()=default
Destructor.
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: output_eigen_values_process.h:79
std::size_t IndexType
Definition: output_eigen_values_process.h:44
KRATOS_CLASS_POINTER_DEFINITION(OutputEigenValuesProcess)
Pointer definition of OutputEigenValuesProcess.
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