* Bug-fix for mesh size file usage with OpenCascade geometry

This commit is contained in:
Philippose Rajan 2009-03-10 19:56:24 +00:00
parent 28c72a85b2
commit ac8ac8aa14

View File

@ -1113,19 +1113,6 @@ namespace netgen
mesh->SetLocalH (bb.PMin(), bb.PMax(), 0.5); 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) if (mparam.uselocalh)
{ {
@ -1382,6 +1369,19 @@ namespace netgen
multithread.task = savetask; multithread.task = savetask;
} }
// 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 (multithread.terminate || perfstepsend <= MESHCONST_ANALYSE) if (multithread.terminate || perfstepsend <= MESHCONST_ANALYSE)