COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Shared.hpp
Go to the documentation of this file.
1 // Copyright (C) 2010-2013 von Karman Institute for Fluid Dynamics, Belgium
2 //
3 // This software is distributed under the terms of the
4 // GNU Lesser General Public License version 3 (LGPLv3).
5 // See doc/lgpl.txt and doc/gpl.txt for the license text.
6 
7 #ifndef cf3_mesh_neu_Shared_hpp
8 #define cf3_mesh_neu_Shared_hpp
9 
11 
12 #include <set>
13 
14 #include "mesh/GeoShape.hpp"
15 
16 #include "mesh/neu/LibNeu.hpp"
17 
19 
20 namespace cf3 {
21 namespace mesh {
22 namespace neu {
23 
25 
29 {
30 public:
31 
33  Shared();
34 
36  static std::string type_name() { return "Shared"; }
37 
38  std::vector<std::string>& get_supported_element_types() { return m_supported_types; }
39 
40 protected:
41 
42  enum neuElement {LINE=1,QUAD=2,TRIAG=3,HEXA=4, PRISM=5, TETRA=6};
43 
44  std::map<GeoShape::Type,Uint> m_CFelement_to_neuElement;
45  std::vector<std::string> m_supported_types;
46  std::vector<std::vector<Uint> > m_faces_cf_to_neu;
47  std::vector<std::vector<Uint> > m_faces_neu_to_cf;
48  std::vector<std::vector<Uint> > m_nodes_cf_to_neu;
49  std::vector<std::vector<Uint> > m_nodes_neu_to_cf;
50 
51  std::set<Uint> m_supported_neu_types;
52 
53 }; // end Shared
54 
55 
57 
58 } // neu
59 } // mesh
60 } // cf3
61 
63 
64 #endif // cf3_mesh_neu_Shared_hpp
std::set< Uint > m_supported_neu_types
Definition: Shared.hpp:51
std::vector< std::vector< Uint > > m_nodes_cf_to_neu
Definition: Shared.hpp:48
std::map< GeoShape::Type, Uint > m_CFelement_to_neuElement
Definition: Shared.hpp:44
std::vector< std::vector< Uint > > m_nodes_neu_to_cf
Definition: Shared.hpp:49
std::vector< std::string > & get_supported_element_types()
Definition: Shared.hpp:38
std::vector< std::vector< Uint > > m_faces_cf_to_neu
Definition: Shared.hpp:46
#define neu_API
Definition: LibNeu.hpp:22
Top-level namespace for coolfluid.
Definition: Action.cpp:18
std::vector< std::vector< Uint > > m_faces_neu_to_cf
Definition: Shared.hpp:47
static std::string type_name()
Gets the Class name.
Definition: Shared.hpp:36
std::vector< std::string > m_supported_types
Definition: Shared.hpp:45
Send comments to:
COOLFluiD Web Admin