9 #ifndef CGNS_CONVENTIONS_H
10 #define CGNS_CONVENTIONS_H
14 #include "GmshConfig.h"
17 #if defined(HAVE_LIBCGNS)
19 static const std::string::size_type CGNS_MAX_STR_LEN = 33;
22 CGNS_ENUMT(ElementType_t) msh2CgnsEltType(
int mshTag);
25 int cgns2MshEltType(CGNS_ENUMT(ElementType_t));
27 std::vector<int> &cgns2MshNodeIndex(
int mshTag);
32 std::vector<double> &u, std::vector<double> &v,
33 std::vector<double> &w);
39 std::vector<int> &ind);
41 std::string cgnsString(
const std::string &s,
42 std::string::size_type maxLength = CGNS_MAX_STR_LEN - 1);
44 #endif // HAVE_LIBCGNS
46 #endif // CGNS_CONVENTIONS_H