-//=======================================================================
-// static bool writeGHS3DPRLFiles (const TCollection_AsciiString & GHS3DPRL_In,
-// SMESHDS_Mesh * theMesh,
-// map <int,int> & theSmdsToGHS3DPRLIdMap,
-// map <int,const SMDS_MeshNode*> & theGHS3DPRLIdToNodeMap)
-// {
-// bool Ok;
-// int ifam=0;
-// TCollection_AsciiString namefile(GHS3DPRL_In);
-// namefile+=".points";
-// removeFile(namefile);
-// ofstream theFile;
-// theFile.open(namefile.ToCString(),ios::out);
-// #ifdef WIN32
-// Ok = theFile.is_open();
-// #else
-// Ok=theFile.rdbuf()->is_open();
-// #endif
-// if (!Ok)
-// {
-// INFOS("Can't write into "<<namefile.ToCString());
-// return false;
-// }
-// cout<<endl<<"writeGHS3DPRLFiles version tetra_hpc v2.1.11 "<<endl;
-// cout<<endl<<"Creating GHS3DPRL processed mesh file : "<<namefile<<endl;
-
-// int nbVertices=theMesh->NbNodes();
-// int nbFaces=theMesh->NbFaces(); //triangles or quadrangles
-// const char* space=" ";
-// //const int dummyint=1; //nrs,nsd,refnum=1 (for wrap)
-
-// // Writing SMESH points into GHS3DPRL File.points
-// theFile<<nbVertices<<endl;
-
-// int aSmdsNodeID=1;
-// const SMDS_MeshNode* node_2;
-// SMDS_NodeIteratorPtr itOnNode=theMesh->nodesIterator();
-// //int ifam=100;//test famille
-// theFile.precision(15); theFile.setf(ios::scientific,ios::floatfield);
-// //cout<<"set precision 15 on float\n";
-// while (itOnNode->more())
-// {
-// node_2 = itOnNode->next();
-// theSmdsToGHS3DPRLIdMap.insert(map <int,int>::value_type(node_2->GetID(),aSmdsNodeID));
-// theGHS3DPRLIdToNodeMap.insert(map <int,const SMDS_MeshNode*>::value_type(aSmdsNodeID,node_2));
-// theFile<<node_2->X()<<space<<node_2->Y()<<space<<node_2->Z()<<space<<ifam<<endl;
-// aSmdsNodeID++;
-// //if (aSmdsNodeID==11) ifam++;
-// }
-// //no specified points;
-// theFile.close();
-
-// namefile=GHS3DPRL_In+".faces";
-// removeFile(namefile);
-// theFile.open(namefile.ToCString(),ios::out);
-// #ifdef WIN32
-// Ok=theFile.is_open();
-// #else
-// Ok=theFile.rdbuf()->is_open();
-// #endif
-// if (!Ok)
-// {
-// INFOS("Can't write into "<<namefile.ToCString());
-// return false;
-// }
-// cout<<endl<<"Creating GHS3DPRL processed mesh file : "<<namefile<<endl;
-
-// // Writing SMESH faces into GHS3DPRL File.faces
-// theFile<<nbFaces<<" 0"<<endl; //NB_ELEMS DUMMY_INT
-// //" 0" is a reserved parameter
-
-// const SMDS_MeshElement* aFace;
-// map<int,int>::const_iterator itOnSmdsNode;
-// SMDS_ElemIteratorPtr itOnFaceNode;
-// SMDS_FaceIteratorPtr itOnSmdsFace = theMesh->facesIterator();
-// long nbNoTriangles=0;
-// int ifaces=0;
-// //ifam=300;
-// while (itOnSmdsFace->more())
-// {
-// aFace=itOnSmdsFace->next();
-// itOnFaceNode=aFace->nodesIterator();
-// const int nbNodes=aFace->NbNodes();
-// if (nbNodes!=3) nbNoTriangles++;
-// ifaces++;
-// theFile<<nbNodes<<space; // NB_NODES
-// while (itOnFaceNode->more())
-// {
-// aSmdsNodeID=itOnFaceNode->next()->GetID();
-// itOnSmdsNode=theSmdsToGHS3DPRLIdMap.find(aSmdsNodeID);
-// ASSERT(itOnSmdsNode!=theSmdsToGHS3DPRLIdMap.end());
-// theFile<<space<<(*itOnSmdsNode).second; //NODE_1 NODE_2 ...
-// }
-// //(NB_NODES+1) times: DUMMY_INT
-// //if (ifaces==11) ifam++;
-// theFile<<space<<ifam;
-// for ( int i=1; i<=nbNodes; i++) theFile<<space<<200+i;
-// theFile<<endl;
-// }
-// theFile.close();
-
-// cout<<"Processed mesh files created, they contains :\n";
-// cout<<" "<<nbVertices<<" vertices\n";
-// if (nbNoTriangles==0)
-// cout<<" "<<nbFaces<<" faces\n\n";
-// else
-// cout<<" "<<nbFaces<<" faces with "<<nbNoTriangles<<"faces no triangles\n\n";
-// return true;
-// }
-
-
-//=======================================================================
-
-#define GHS3DPRLPlugin_BUFLENGTH 256
-#define GHS3DPRLPlugin_ReadLine(aPtr,aBuf,aFile,aLineNb) \
-{ aPtr = fgets( aBuf, GHS3DPRLPlugin_BUFLENGTH - 2, aFile ); aLineNb++; DUMP(endl); }
-
-