change startpoint for sphere meshing so that it's less likely to hit a

touching point
This commit is contained in:
Christopher Lackner 2018-08-31 11:11:12 +02:00
parent 8f16fdb159
commit 1774502954

View File

@ -557,7 +557,8 @@ namespace netgen
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);
}