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_cartesian_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 #include "processes/process.h"
15 
16 namespace Kratos
17 {
18 
26 class KRATOS_API(STRUCTURAL_MECHANICS_APPLICATION) SetCartesianLocalAxesProcess
27  : public Process
28 {
29 
30 public:
31 
33 
34 
37  ModelPart& rThisModelPart,
38  Parameters ThisParameters = Parameters(R"({})")
39  );
40 
41 
43  ~SetCartesianLocalAxesProcess() override = default;
44 
49  void ExecuteInitialize() override;
50 
54  void ExecuteInitializeSolutionStep() override;
55 
59  const Parameters GetDefaultParameters() const override;
60 
62  std::string Info() const override
63  {
64  return "SetCartesianLocalAxesProcess";
65  }
66 
68  void PrintInfo(std::ostream& rOStream) const override
69  {
70  rOStream << "SetCartesianLocalAxesProcess";
71  }
72 
74  void PrintData(std::ostream& rOStream) const override
75  {
76  }
77 
78 
79 protected:
80 
82 
85 
86 
87 private:
88 
91 
93  //SetCartesianLocalAxesProcess(SetCartesianLocalAxesProcess const& rOther);
94 
95 }; // Class SetCartesianLocalAxesProcess
96 
98 inline std::istream& operator >> (std::istream& rIStream,
100 
102 inline std::ostream& operator << (std::ostream& rOStream,
103  const SetCartesianLocalAxesProcess& rThis)
104 {
105  rThis.PrintInfo(rOStream);
106  rOStream << std::endl;
107  rThis.PrintData(rOStream);
108 
109  return rOStream;
110 }
111 
112 } // 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 given set of cartesian axes.
Definition: set_cartesian_local_axes_process.h:28
~SetCartesianLocalAxesProcess() override=default
Destructor.
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: set_cartesian_local_axes_process.h:68
KRATOS_CLASS_POINTER_DEFINITION(SetCartesianLocalAxesProcess)
ModelPart & mrThisModelPart
Member Variables.
Definition: set_cartesian_local_axes_process.h:83
std::string Info() const override
Turn back information as a string.
Definition: set_cartesian_local_axes_process.h:62
Parameters mThisParameters
Definition: set_cartesian_local_axes_process.h:84
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: set_cartesian_local_axes_process.h:74
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