mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
fixes in nglib
This commit is contained in:
parent
085cd6c774
commit
38ffe628b1
@ -651,14 +651,17 @@ namespace nglib
|
|||||||
stlgeometry->GetBoundingBox().PMax() + Vec3d(10, 10, 10),
|
stlgeometry->GetBoundingBox().PMax() + Vec3d(10, 10, 10),
|
||||||
0.3);
|
0.3);
|
||||||
|
|
||||||
me -> LoadLocalMeshSize (mp->meshsize_filename);
|
// cout << "meshsize = " << mp->meshsize_filename << endl;
|
||||||
|
if (mp->meshsize_filename)
|
||||||
|
me -> LoadLocalMeshSize (mp->meshsize_filename);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if (mp->meshsize_filename)
|
if (mp->meshsize_filename)
|
||||||
{
|
{
|
||||||
ifstream infile (mp->meshsize_filename);
|
ifstream infile (mp->meshsize_filename);
|
||||||
if (!infile.good()) return NG_FILE_NOT_FOUND;
|
if (!infile.good()) return NG_FILE_NOT_FOUND;
|
||||||
me -> LoadLocalMeshSize (infile);
|
me -> LoadLocalMeshSize (infile);
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
STLMeshing (*stlgeometry, *me);
|
STLMeshing (*stlgeometry, *me);
|
||||||
@ -1056,8 +1059,10 @@ namespace nglib
|
|||||||
mparam.secondorder = second_order;
|
mparam.secondorder = second_order;
|
||||||
mparam.quad = quad_dominated;
|
mparam.quad = quad_dominated;
|
||||||
|
|
||||||
mparam.meshsizefilename = meshsize_filename;
|
if (meshsize_filename)
|
||||||
|
mparam.meshsizefilename = meshsize_filename;
|
||||||
|
else
|
||||||
|
mparam.meshsizefilename = "";
|
||||||
mparam.optsteps2d = optsteps_2d;
|
mparam.optsteps2d = optsteps_2d;
|
||||||
mparam.optsteps3d = optsteps_3d;
|
mparam.optsteps3d = optsteps_3d;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user