Salome HOME
Copyright update 2022
[plugins/ghs3dprlplugin.git] / src / tepal2med / ghs3dprl_mesh_wrap.h
old mode 100755 (executable)
new mode 100644 (file)
index b411f8d..7847c23
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -83,13 +83,22 @@ class familles{
 class ghs3dprl_mesh_wrap
 {
 public:
-   QString medname,casename,path,pathini,filemed,format,format_tetra;
-   bool for_tetrahpc; //to know what files to read: .noboite or .mesh
-   QRegExp deletegroups; //regular expression 
+   QString 
+      medname,
+      casename,
+      path,
+      pathini,
+      filemed,
+      format,
+      format_tetra;
+   bool for_tetrahpc;    //to know what files to read: .noboite or .mesh
+   bool for_multithread; //to know what files to read: one or more
+   QRegExp deletegroups; //regular expression
    long
       nbtetrastotal,
       nofile,nbfiles,nbfilestot,
       nbelem_limit_swap,
+      nbvert, nbedge, nbtria, nbtetr, // for current idom
       verbose;
    med_err err;
    med_idt fid,fidjoint;
@@ -151,6 +160,8 @@ public:
    bool ReadFileMSGnew(const QString FileName);
    bool TestExistingFileMESHnew(const QString FileName);
    bool ReadFileGLO(const QString FileName);
+   bool ReadFileGLOBAL(const QString FileName); //mg-tetra v2.1.11
+   bool ReadFileDefaultGLOBAL(long vert, long edge, long tria, long tetr); //as default when multithread as one output 
    bool ReadFileFACES(const QString FileName);
    bool ReadFileMESH(const QString FileName);
    bool ReadFileNOBOITE(const QString FileName);
@@ -158,9 +169,9 @@ public:
    bool ReadFilePOINTS(const QString FileName);
    bool Find_VerticesDomainToVerticesSkin();
    bool Write_masterxmlMEDfile();
-   bool Write_MEDfiles_v0(bool deletekeys=FALSE); 
-   bool Write_MEDfiles_v1(bool deletekeys=FALSE); 
-   bool Write_MEDfiles_v2(bool deletekeys=FALSE);
+   bool Write_MEDfiles_v0(bool deletekeys=false); 
+   bool Write_MEDfiles_v1(bool deletekeys=false); 
+   bool Write_MEDfiles_v2(bool deletekeys=false);
 };
 
 #endif