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.
find_global_nodal_elemental_neighbours_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: Riccardo Rossi
11 //
12 
13 #if !defined(KRATOS_FIND_GLOBAL_NODAL_ELEMENTAL_NEIGHBOURS_PROCESS_H_INCLUDED )
14 #define KRATOS_FIND_GLOBAL_NODAL_ELEMENTAL_NEIGHBOURS_PROCESS_H_INCLUDED
15 
16 
17 // System includes
18 #include <string>
19 #include <iostream>
20 
21 // External includes
22 
23 // Project includes
24 #include "includes/define.h"
25 #include "includes/element.h"
27 
28 namespace Kratos
29 {
30 
33 
35 
38  : public FindGlobalNodalEntityNeighboursProcess<ModelPart::ElementsContainerType>
39 {
40 public:
43 
45 
48 
52 
56  : BaseType(rModelPart, NEIGHBOUR_ELEMENTS)
57  {
58  }
59 
60  KRATOS_DEPRECATED_MESSAGE("Use of DataCommunicator is deprecated. Please use constructor without it.")
62  ModelPart& rModelPart)
64  {
65  }
66 
69 
71 
72 }; // Class FindGlobalNodalElementalNeighboursProcess
73 
75 
78 
80 inline std::istream& operator >> (std::istream& rIStream,
82 
84 inline std::ostream& operator << (std::ostream& rOStream,
86 {
87  rThis.PrintInfo(rOStream);
88  rOStream << std::endl;
89  rThis.PrintData(rOStream);
90 
91  return rOStream;
92 }
94 
95 } // namespace Kratos.
96 
97 #endif // KRATOS_FIND_GLOBAL_NODAL_ELEMENTAL_NEIGHBOURS_PROCESS_H_INCLUDED defined
98 
99 
Serial (do-nothing) version of a wrapper class for MPI communication.
Definition: data_communicator.h:318
Short class definition.
Definition: find_global_nodal_elemental_neighbours_process.h:39
FindGlobalNodalElementalNeighboursProcess(ModelPart &rModelPart)
Definition: find_global_nodal_elemental_neighbours_process.h:55
KRATOS_CLASS_POINTER_DEFINITION(FindGlobalNodalElementalNeighboursProcess)
Pointer definition of FindGlobalNodalElementalNeighboursProcess.
~FindGlobalNodalElementalNeighboursProcess() override=default
Destructor.
Short class definition.
Definition: find_global_nodal_entity_neighbours_process.h:46
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: find_global_nodal_entity_neighbours_process.h:119
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: find_global_nodal_entity_neighbours_process.h:125
KRATOS_DEPRECATED_MESSAGE("This is legacy version (use Clear)") void ClearNeighbours()
Definition: find_global_nodal_entity_neighbours_process.h:102
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
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
tuple const
Definition: ode_solve.py:403