From 28270266cad153bc38a6b1bdafe37d52feb75277 Mon Sep 17 00:00:00 2001 From: Philippose Rajan Date: Mon, 9 Mar 2009 22:58:03 +0000 Subject: [PATCH] * Enable use of mesh size file with OpenCascade Geometry --- libsrc/occ/occgenmesh.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/libsrc/occ/occgenmesh.cpp b/libsrc/occ/occgenmesh.cpp index ed63cf8c..365704f8 100644 --- a/libsrc/occ/occgenmesh.cpp +++ b/libsrc/occ/occgenmesh.cpp @@ -1113,6 +1113,19 @@ namespace netgen mesh->SetLocalH (bb.PMin(), bb.PMax(), 0.5); + // Philippose - 09/03/2009 + // Added the capability to load the mesh size from a + // file also for OpenCascade Geometry + // Note: + // ** If the "uselocalh" option is ticked in + // the "mesh options...insider" menu, the mesh + // size will be further modified by the topology + // analysis routines. + // ** To use the mesh size file as the sole source + // for defining the mesh size, uncheck the "uselocalh" + // option. + mesh->LoadLocalMeshSize (mparam.meshsizefilename); + if (mparam.uselocalh) {