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.
compute_embedded_lift_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 // Main authors: Marc Nunez
11 //
12 
13 #ifndef KRATOS_COMPUTE_EMBEDDED_LIFT_PROCESS_H
14 #define KRATOS_COMPUTE_EMBEDDED_LIFT_PROCESS_H
15 
16 #include "includes/model_part.h"
17 #include "processes/process.h"
20 
21 namespace Kratos
22 {
23 template<unsigned int Dim, unsigned int NumNodes>
24 class KRATOS_API(COMPRESSIBLE_POTENTIAL_FLOW_APPLICATION) ComputeEmbeddedLiftProcess: public Process
25 {
26 public:
29 
32 
33  typedef Node NodeType;
35 
36  // Constructor for ComputeEmbeddedLiftProcess Process
37  ComputeEmbeddedLiftProcess(ModelPart& rModelPart, Vector& rResultantForce);
38 
41 
44 
47 
49  void operator()()
50  {
51  Execute();
52  }
53 
54  void Execute() override;
55 
57  std::string Info() const override
58  {
59  return "ComputeEmbeddedLiftProcess";
60  }
61 
63  void PrintInfo(std::ostream& rOStream) const override
64  {
65  rOStream << "ComputeEmbeddedLiftProcess";
66  }
67 
69  void PrintData(std::ostream& rOStream) const override
70  {
71  this->PrintInfo(rOStream);
72  }
73 
74 private:
77 
78 
82 
83  ModelPart& mrModelPart;
84  Vector& mrResultantForce;
85 
86  ModifiedShapeFunctions::Pointer pGetModifiedShapeFunctions(const GeomPointerType pGeometry, const Vector& rDistances) const;
87 
88 
89 }; // Class Process
90 } // namespace Kratos
91 
92 
93 #endif // KRATOS_MOVE_MODEL_PART_PROCESS_H
Definition: compute_embedded_lift_process.h:25
Geometry< NodeType >::Pointer GeomPointerType
Definition: compute_embedded_lift_process.h:34
std::string Info() const override
Turn back information as a string.
Definition: compute_embedded_lift_process.h:57
void operator()()
This operator is provided to call the process as a function and simply calls the Execute method.
Definition: compute_embedded_lift_process.h:49
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: compute_embedded_lift_process.h:63
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: compute_embedded_lift_process.h:69
ComputeEmbeddedLiftProcess(ComputeEmbeddedLiftProcess const &rOther)=delete
Copy constructor.
ComputeEmbeddedLiftProcess & operator=(ComputeEmbeddedLiftProcess const &rOther)=delete
Assignment operator.
KRATOS_CLASS_POINTER_DEFINITION(ComputeEmbeddedLiftProcess)
Pointer definition of Process.
~ComputeEmbeddedLiftProcess()=default
Destructor.
Node NodeType
Definition: compute_embedded_lift_process.h:33
Geometry base class.
Definition: geometry.h:71
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class defines the node.
Definition: node.h:65
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