X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Ftepal2med%2Fghs3dprl_mesh_wrap.h;h=27f3bf25fed3a197a07400571ad34b1fb0b9067f;hb=76f30beef0b1e6e07718f35f793ae999435de541;hp=8d329e768bb75cbf99d2660ed3da4a5183e6f212;hpb=f55dfa7c8da9477ad784692cee0a82c9bf9901df;p=plugins%2Fghs3dprlplugin.git diff --git a/src/tepal2med/ghs3dprl_mesh_wrap.h b/src/tepal2med/ghs3dprl_mesh_wrap.h index 8d329e7..27f3bf2 100755 --- a/src/tepal2med/ghs3dprl_mesh_wrap.h +++ b/src/tepal2med/ghs3dprl_mesh_wrap.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D +// Copyright (C) 2007-2016 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 @@ -39,10 +39,8 @@ //#undef MED_H //#undef MED_PROTO_H - extern "C" { #include //#include - } class CVWtab //contains size=size of vector and the vector (med_int or med_float) @@ -85,8 +83,17 @@ class familles{ class ghs3dprl_mesh_wrap { public: - QString medname,casename,path,pathini,filemed,format; - 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, @@ -133,7 +140,8 @@ public: //family level bool set_one_more_family(med_int *fami, med_int *more, med_int nb); - med_int create_families(med_idt fid,int sign); + med_int create_families(med_idt fid, int sign); + med_int create_family_zero(med_idt fid, QString nameMesh); void add_family(med_int num,QString newgro); void cout_families_and_groups(); bool idom_nodes(); @@ -149,16 +157,19 @@ public: //hight level long SwapOutOfMemory_key_mesh_wrap(const QRegExp &rxp,long ifgreaterthan=0); 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 ReadFileFACES(const QString FileName); + bool ReadFileMESH(const QString FileName); bool ReadFileNOBOITE(const QString FileName); bool ReadFileNOBOITEB(const QString FileName); 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