mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
* Bug-fix for mesh size file usage with OpenCascade geometry
This commit is contained in:
parent
28c72a85b2
commit
ac8ac8aa14
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user