mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
Merge branch 'hmax_old_in2d_files' into 'master'
allow setting of maxh in old in2d files See merge request jschoeberl/netgen!164
This commit is contained in:
commit
a9db1f60c1
@ -138,7 +138,7 @@ namespace netgen
|
|||||||
|
|
||||||
geompoints.Append (GeomPoint<D>(x, hd));
|
geompoints.Append (GeomPoint<D>(x, hd));
|
||||||
geompoints.Last().hpref = flags.GetDefineFlag ("hpref");
|
geompoints.Last().hpref = flags.GetDefineFlag ("hpref");
|
||||||
geompoints.Last().hmax = 1e99;
|
geompoints.Last().hmax = flags.GetNumFlag("hmax", 1e99);
|
||||||
}
|
}
|
||||||
|
|
||||||
PrintMessage (3, nump, " points loaded");
|
PrintMessage (3, nump, " points loaded");
|
||||||
@ -201,7 +201,6 @@ namespace netgen
|
|||||||
infile >> spex->reffak;
|
infile >> spex->reffak;
|
||||||
spex -> leftdom = leftdom;
|
spex -> leftdom = leftdom;
|
||||||
spex -> rightdom = rightdom;
|
spex -> rightdom = rightdom;
|
||||||
spex -> hmax = 1e99;
|
|
||||||
splines.Append (spex);
|
splines.Append (spex);
|
||||||
|
|
||||||
|
|
||||||
@ -233,6 +232,7 @@ namespace netgen
|
|||||||
delete bcnames[mybc];
|
delete bcnames[mybc];
|
||||||
bcnames[mybc] = new string (flags.GetStringFlag("bcname","") );
|
bcnames[mybc] = new string (flags.GetStringFlag("bcname","") );
|
||||||
}
|
}
|
||||||
|
spex -> hmax = flags.GetNumFlag("hmax", 1e99);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user