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.
mapper_flags.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: Philipp Bucher, Jordi Cotela
11 //
12 // See Master-Thesis P.Bucher
13 // "Development and Implementation of a Parallel
14 // Framework for Non-Matching Grid Mapping"
15 
16 #if !defined(KRATOS_MAPPER_FLAGS_H_INCLUDED)
17 #define KRATOS_MAPPER_FLAGS_H_INCLUDED
18 
19 // System includes
20 
21 // External includes
22 
23 // Project includes
24 #include "includes/define.h"
25 #include "containers/flags.h"
26 
27 
28 namespace Kratos
29 {
32 
35 
37 
40 class KRATOS_API(KRATOS_CORE) MapperFlags
41 {
42 public:
45 
48 
51  KRATOS_DEFINE_LOCAL_FLAG( ADD_VALUES );
53  KRATOS_DEFINE_LOCAL_FLAG( USE_TRANSPOSE );
54  KRATOS_DEFINE_LOCAL_FLAG( ORIGIN_ONLY );
55  KRATOS_DEFINE_LOCAL_FLAG( DESTINATION_ONLY );
56  KRATOS_DEFINE_LOCAL_FLAG( TO_NON_HISTORICAL );
57  KRATOS_DEFINE_LOCAL_FLAG( FROM_NON_HISTORICAL );
58  KRATOS_DEFINE_LOCAL_FLAG( INTERNAL_USE_TRANSPOSE );
59 
63 
65  MapperFlags() = delete;
66 
68  virtual ~MapperFlags() = default;
69 
73 
75  virtual std::string Info() const
76  {
77  std::stringstream buffer;
78  buffer << "MapperFlags" ;
79  return buffer.str();
80  }
81 
83  virtual void PrintInfo(std::ostream& rOStream) const
84  {
85  rOStream << "MapperFlags";
86  }
87 
89  virtual void PrintData(std::ostream& rOStream) const {}
90 
92 
93 }; // Class MapperFlags
94 
96 
98 
99 } // namespace Kratos.
100 
101 #endif // KRATOS_MAPPER_FLAGS_H_INCLUDED defined
Flags needed used in the MappingApplication.
Definition: mapper_flags.h:41
KRATOS_DEFINE_LOCAL_FLAG(FROM_NON_HISTORICAL)
KRATOS_DEFINE_LOCAL_FLAG(ORIGIN_ONLY)
KRATOS_DEFINE_LOCAL_FLAG(USE_TRANSPOSE)
virtual ~MapperFlags()=default
Destructor.
KRATOS_DEFINE_LOCAL_FLAG(TO_NON_HISTORICAL)
KRATOS_DEFINE_LOCAL_FLAG(SWAP_SIGN)
Local Flags.
KRATOS_DEFINE_LOCAL_FLAG(INTERNAL_USE_TRANSPOSE)
KRATOS_DEFINE_LOCAL_FLAG(DESTINATION_ONLY)
virtual std::string Info() const
Turn back information as a string.
Definition: mapper_flags.h:75
KRATOS_DEFINE_LOCAL_FLAG(REMESHED)
KRATOS_DEFINE_LOCAL_FLAG(ADD_VALUES)
KRATOS_CLASS_POINTER_DEFINITION(MapperFlags)
Pointer definition of MapperFlags.
MapperFlags()=delete
Default constructor.
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: mapper_flags.h:83
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: mapper_flags.h:89
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21