mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Merge branch 'change_startpoint_sphere_meshing' into 'master'
change startpoint for sphere meshing so that it's less likely to hit a See merge request jschoeberl/netgen!100
This commit is contained in:
commit
41b8944532
@ -557,7 +557,8 @@ namespace netgen
|
|||||||
|
|
||||||
Point<3> Sphere :: GetSurfacePoint () const
|
Point<3> Sphere :: GetSurfacePoint () const
|
||||||
{
|
{
|
||||||
return c + Vec<3> (r, 0, 0);
|
// if two spheres touch at exactly that point meshing fails.
|
||||||
|
return c + Vec<3> (0.12345, 0.54321, 0.8304715488203073);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user