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.
set_spherical_local_axes_process.h
Go to the documentation of this file.
1 // KRATOS ___| | | |
2 // \___ \ __| __| | | __| __| | | __| _` | |
3 // | | | | | ( | | | | ( | |
4 // _____/ \__|_| \__,_|\___|\__|\__,_|_| \__,_|_| MECHANICS
5 //
6 // License: BSD License
7 // license: StructuralMechanicsApplication/license.txt
8 //
9 // Main authors: Alejandro Cornejo
10 //
11 
12 #pragma once
13 
14 // System includes
15 
16 // External includes
17 
18 // Project includes
19 #include "processes/process.h"
20 
21 namespace Kratos
22 {
23 
31 class KRATOS_API(STRUCTURAL_MECHANICS_APPLICATION) SetSphericalLocalAxesProcess
32  : public Process
33 {
34 
35 public:
36 
37 
39 
40 
43  ModelPart& rThisModelPart,
44  Parameters ThisParameters = Parameters(R"({})")
45  );
46 
47 
49  ~SetSphericalLocalAxesProcess() override = default;
50 
55  void ExecuteInitialize() override;
56 
60  void ExecuteInitializeSolutionStep() override;
61 
65  const Parameters GetDefaultParameters() const override;
66 
68  std::string Info() const override
69  {
70  return "SetSphericalLocalAxesProcess";
71  }
72 
74  void PrintInfo(std::ostream& rOStream) const override
75  {
76  rOStream << "SetSphericalLocalAxesProcess";
77  }
78 
80  void PrintData(std::ostream& rOStream) const override
81  {
82  }
83 
84 
85 protected:
86 
88 
91 
92 private:
93 
96 
98  //SetSphericalLocalAxesProcess(SetSphericalLocalAxesProcess const& rOther);
99 
100 }; // Class SetSphericalLocalAxesProcess
101 
103 inline std::istream& operator >> (std::istream& rIStream,
105 
107 inline std::ostream& operator << (std::ostream& rOStream,
108  const SetSphericalLocalAxesProcess& rThis)
109 {
110  rThis.PrintInfo(rOStream);
111  rOStream << std::endl;
112  rThis.PrintData(rOStream);
113 
114  return rOStream;
115 }
116 
117 } // namespace Kratos.
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
void ExecuteInitialize() override
Definition: periodic_interface_process.hpp:37
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
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
This class set the local axes of the elements according to a SPHERICAL coordinates.
Definition: set_spherical_local_axes_process.h:33
std::string Info() const override
Turn back information as a string.
Definition: set_spherical_local_axes_process.h:68
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: set_spherical_local_axes_process.h:80
Parameters mThisParameters
Definition: set_spherical_local_axes_process.h:90
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: set_spherical_local_axes_process.h:74
~SetSphericalLocalAxesProcess() override=default
Destructor.
ModelPart & mrThisModelPart
Member Variables.
Definition: set_spherical_local_axes_process.h:89
KRATOS_CLASS_POINTER_DEFINITION(SetSphericalLocalAxesProcess)
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