COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Static Public Member Functions | Protected Types | Protected Attributes | Static Protected Attributes | List of all members
Shared Class Reference

#include <Shared.hpp>

Public Member Functions

 Shared ()
 constructor More...
 
std::vector< std::string > & get_supported_element_types ()
 

Static Public Member Functions

static std::string type_name ()
 Gets the Class name. More...
 
static std::string tp_name_to_cf_name (const Uint dim, const Uint tp_type)
 

Protected Types

enum  tecplotElement {
  P1LINE =1, P1TRIAG =2, P1QUAD =3, P1TETRA =4,
  P1HEXA =5, P2LINE =8, P2TRIAG =9, P2QUAD =10,
  P2TETRA =11, P2HEXA =12, P1POINT =15, P3TRIAG =21,
  P3LINE =26, P3QUAD = 36
}
 

Protected Attributes

std::map< GeoShape::Type, Uintm_element_cf_to_tp
 
std::vector< std::string > m_supported_types
 
std::vector< std::vector< Uint > > m_nodes_cf_to_tp
 Faces are not defined in tp format. More...
 
std::vector< std::vector< Uint > > m_nodes_tp_to_cf
 

Static Protected Attributes

static const Uint nb_tp_types = 37
 
static const Uint m_nodes_in_tp_elem [nb_tp_types]
 
static const Uint m_tp_elem_dim [nb_tp_types]
 
static const Uint m_tp_elem_order [nb_tp_types]
 
static const std::string tp_elem_geo_name [nb_tp_types]
 
static const std::string dim_name [4] = { "0D", "1D", "2D", "3D" }
 
static const std::string order_name [10] = { "P0", "P1", "P2", "P3", "P4", "P5", "P6", "P7", "P8", "P9" }
 

Detailed Description

This class defines tecplot mesh format common functionality

Author
Willem Deconinck

Definition at line 25 of file Shared.hpp.

Member Enumeration Documentation

enum tecplotElement
protected
Enumerator
P1LINE 
P1TRIAG 
P1QUAD 
P1TETRA 
P1HEXA 
P2LINE 
P2TRIAG 
P2QUAD 
P2TETRA 
P2HEXA 
P1POINT 
P3TRIAG 
P3LINE 
P3QUAD 

Definition at line 51 of file Shared.hpp.

Constructor & Destructor Documentation

Shared ( )

constructor

Definition at line 52 of file Shared.cpp.

Member Function Documentation

std::vector<std::string>& get_supported_element_types ( )
inline

Definition at line 35 of file Shared.hpp.

std::string tp_name_to_cf_name ( const Uint  dim,
const Uint  tp_type 
)
static

Definition at line 378 of file Shared.cpp.

static std::string type_name ( )
inlinestatic

Gets the Class name.

Definition at line 33 of file Shared.hpp.

Member Data Documentation

const std::string dim_name = { "0D", "1D", "2D", "3D" }
staticprotected

Definition at line 48 of file Shared.hpp.

std::map<GeoShape::Type,Uint> m_element_cf_to_tp
protected

Definition at line 55 of file Shared.hpp.

std::vector<std::vector<Uint> > m_nodes_cf_to_tp
protected

Faces are not defined in tp format.

Definition at line 62 of file Shared.hpp.

const Uint m_nodes_in_tp_elem
staticprotected
Initial value:
= { 0, 2, 3, 4, 4, 8, 6, 5, 3, 6, 9,
10, 27, 18, 14, 1, 8, 20, 15, 13, 9,
10, 12, 15, 15, 21, 4, 5, 6, 20, 35,
56, 34, 52, 0, 0, 16 }

Definition at line 44 of file Shared.hpp.

std::vector<std::vector<Uint> > m_nodes_tp_to_cf
protected

Definition at line 63 of file Shared.hpp.

std::vector<std::string> m_supported_types
protected

Definition at line 56 of file Shared.hpp.

const Uint m_tp_elem_dim
staticprotected
const Uint m_tp_elem_order
staticprotected
Initial value:
= { 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2,
2, 2, 2, 2, 1, 2, 2, 2, 2, 3,
3, 4, 4, 5, 5, 3, 4, 5, 3, 4,
5, 4, 5, 0, 0, 3 }

Definition at line 46 of file Shared.hpp.

const Uint nb_tp_types = 37
staticprotected

Definition at line 42 of file Shared.hpp.

const std::string order_name = { "P0", "P1", "P2", "P3", "P4", "P5", "P6", "P7", "P8", "P9" }
staticprotected

Definition at line 49 of file Shared.hpp.

const std::string tp_elem_geo_name
staticprotected
Initial value:
= { "Empty", "Line" , "Triag" , "Quad" , "Tetra" ,
"Hexa" , "Prism", "Pyramid", "Line" , "Triag" ,
"Quad" , "Tetra", "Hexa" , "Prism", "Pyramid",
"Point", "Quad" , "Hexa" , "Prism", "Pyramid",
"Triag", "Triag", "Triag" , "Triag", "Triag" ,
"Triag", "Line" , "Line" , "Line" , "Tetra" ,
"Tetra", "Tetra", "Tetra" , "Tetra", "Polyg" ,
"Polyh", "Quad"
}

Definition at line 47 of file Shared.hpp.


The documentation for this class was generated from the following files:
Send comments to:
COOLFluiD Web Admin