14 #include "GmshConfig.h"
17 #if defined(HAVE_LIBCGNS)
25 typedef std::vector<std::vector<int> > ZoneEltNodeTransfo;
26 typedef std::map<std::string, ZoneEltNodeTransfo> Family2EltNodeTransfo;
28 std::size_t nameIndex(
const std::string &name,
29 std::vector<std::string> &allNames);
31 int readScale(
int fileIndex,
int baseIndex,
double &
scale);
33 int readEltNodeTransfo(
int fileIndex,
int baseIndex,
34 Family2EltNodeTransfo &allEltNodeTransfo);
36 int createZones(
int fileIndex,
int baseIndex,
int meshDim,
37 const Family2EltNodeTransfo &allEltNodeTransfo,
38 std::vector<CGNSZone *> &allZones,
39 std::map<std::string, int> &name2Zone,
bool &postpro);
41 void setPeriodicityInEntities(
const std::vector<CGNSZone *> &allZones);
43 int readPhysicals(
int fileIndex,
int baseIndex,
44 std::vector<std::string> &allPhysName,
45 std::multimap<std::string, int> &geomName2Phys);
47 void setGeomAndPhysicalEntities(
GModel *model,
int meshDim,
48 std::vector<std::string> &allGeomName,
49 std::vector<std::string> &allPhysName,
50 std::multimap<std::string, int> &geomName2Phys);
52 #endif // HAVE_LIBCGNS