From: eap Date: Mon, 17 Jan 2011 08:50:09 +0000 (+0000) Subject: 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FBR_ViscousLayerAlgo;p=plugins%2Fghs3dplugin.git 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers Move StdMeshers_ProxyMesh -> SMESH_ProxyMesh --- diff --git a/src/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin_GHS3D.cxx index c2467d3..d944e3c 100644 --- a/src/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin_GHS3D.cxx @@ -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 & theSmdsToGhs3dIdMap) +static bool writeFaces (ofstream & theFile, + const SMESH_ProxyMesh& theMesh, + const TopoDS_Shape& theShape, + const map & 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 & 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 components; + vector 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 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;