]> SALOME platform Git repositories - plugins/ghs3dplugin.git/commitdiff
Salome HOME
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers BR_ViscousLayerAlgo
authoreap <eap@opencascade.com>
Mon, 17 Jan 2011 08:50:09 +0000 (08:50 +0000)
committereap <eap@opencascade.com>
Mon, 17 Jan 2011 08:50:09 +0000 (08:50 +0000)
   Move StdMeshers_ProxyMesh -> SMESH_ProxyMesh

src/GHS3DPlugin_GHS3D.cxx

index c2467d3ddc192367534508caa07bee82f64b8d80..d944e3c65df09c15acc4819731b1916202d2d8d7 100644 (file)
@@ -255,10 +255,10 @@ static char* readMapIntLine(char* ptr, int tab[]) {
 //purpose  : 
 //=======================================================================
 
-static bool writeFaces (ofstream &                  theFile,
-                        const StdMeshers_ProxyMesh& theMesh,
-                        const TopoDS_Shape&         theShape,
-                        const map <int,int> &       theSmdsToGhs3dIdMap)
+static bool writeFaces (ofstream &             theFile,
+                        const SMESH_ProxyMesh& theMesh,
+                        const TopoDS_Shape&    theShape,
+                        const map <int,int> &  theSmdsToGhs3dIdMap)
 {
   // record structure:
   //
@@ -334,7 +334,7 @@ static bool writeFaces (ofstream &                  theFile,
 //=======================================================================
 
 static bool writeFaces (ofstream &                      theFile,
-                        const StdMeshers_ProxyMesh&     theMesh,
+                        const SMESH_ProxyMesh&          theMesh,
                         vector <const SMDS_MeshNode*> & theNodeByGhs3dId)
 {
   // record structure:
@@ -1288,12 +1288,12 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh&         theMesh,
   helper.SetSubShape( theShape );
 
   {
-    StdMeshers_ProxyMesh::Ptr proxyMesh( new StdMeshers_ProxyMesh( theMesh ));
+    SMESH_ProxyMesh::Ptr proxyMesh( new SMESH_ProxyMesh( theMesh ));
 
     // make prisms on quadrangles
     if ( theMesh.NbQuadrangles() > 0 )
     {
-      vector<StdMeshers_ProxyMesh::Ptr> components;
+      vector<SMESH_ProxyMesh::Ptr> components;
       for (expBox.ReInit(); expBox.More(); expBox.Next())
       {
         if ( _viscousLayersHyp )
@@ -1304,9 +1304,9 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh&         theMesh,
         }
         StdMeshers_QuadToTriaAdaptor* q2t = new StdMeshers_QuadToTriaAdaptor;
         q2t->Compute( theMesh, expBox.Current(), proxyMesh.get() );
-        components.push_back( StdMeshers_ProxyMesh::Ptr( q2t ));
+        components.push_back( SMESH_ProxyMesh::Ptr( q2t ));
       }
-      proxyMesh.reset( new StdMeshers_ProxyMesh( components ));
+      proxyMesh.reset( new SMESH_ProxyMesh( components ));
     }
     // build viscous layers
     else if ( _viscousLayersHyp )
@@ -1487,7 +1487,7 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh&         theMesh,
 
   vector <const SMDS_MeshNode*> aNodeByGhs3dId;
 
-  StdMeshers_ProxyMesh::Ptr proxyMesh( new StdMeshers_ProxyMesh( theMesh ));
+  SMESH_ProxyMesh::Ptr proxyMesh( new SMESH_ProxyMesh( theMesh ));
   if ( theMesh.NbQuadrangles() > 0 )
   {
     StdMeshers_QuadToTriaAdaptor* aQuad2Trias = new StdMeshers_QuadToTriaAdaptor;