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_automated_initial_variable_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: Luis Antonio Goncalves Junior
10 // Alejandro Cornejo
11 //
12 
13 #pragma once
14 
15 // System includes
16 
17 // External includes
18 
19 // Project includes
20 #include "processes/process.h"
21 
22 namespace Kratos
23 {
24 
32 class KRATOS_API(STRUCTURAL_MECHANICS_APPLICATION) SetAutomatedInitialVariableProcess
33  : public Process
34 {
35 
36 public:
37 
38  static constexpr double tolerance = 1.0e-6;
39  static constexpr double machine_tolerance = std::numeric_limits<double>::epsilon();
40 
42 
43 
46  ModelPart& rThisModelPart,
47  Parameters ThisParameters = Parameters(R"({})")
48  );
49 
50 
53 
58  void ExecuteInitialize() override;
59 
63  const Parameters GetDefaultParameters() const override;
64 
66  std::string Info() const override
67  {
68  return "SetAutomatedInitialVariableProcess";
69  }
70 
72  void PrintInfo(std::ostream& rOStream) const override
73  {
74  rOStream << "SetAutomatedInitialVariableProcess";
75  }
76 
78  void PrintData(std::ostream& rOStream) const override
79  {
80  }
81 
82 
83 protected:
84 
86 
89 
90 private:
91 
94 
96  //SetAutomatedInitialVariableProcess(SetAutomatedInitialVariableProcess const& rOther);
97 
98 }; // Class SetAutomatedInitialVariableProcess
99 
101 inline std::istream& operator >> (std::istream& rIStream,
103 
105 inline std::ostream& operator << (std::ostream& rOStream,
107 {
108  rThis.PrintInfo(rOStream);
109  rOStream << std::endl;
110  rThis.PrintData(rOStream);
111 
112  return rOStream;
113 }
114 
115 } // namespace Kratos.
116 
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 automotes the creation of the variables INITIAL_STRAIN_VECTOR and INITIAL_STRESS_VECTOR us...
Definition: set_automated_initial_variable_process.h:34
KRATOS_CLASS_POINTER_DEFINITION(SetAutomatedInitialVariableProcess)
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: set_automated_initial_variable_process.h:72
~SetAutomatedInitialVariableProcess() override=default
Destructor.
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: set_automated_initial_variable_process.h:78
ModelPart & mrThisModelPart
Member Variables.
Definition: set_automated_initial_variable_process.h:87
Parameters mThisParameters
Definition: set_automated_initial_variable_process.h:88
std::string Info() const override
Turn back information as a string.
Definition: set_automated_initial_variable_process.h:66
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