mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
throw exception on 1D mesh bisection
This commit is contained in:
parent
7e3b292bb8
commit
f0eae10a24
@ -1958,6 +1958,8 @@ namespace netgen
|
||||
const NgArray< NgArray<int,PointIndex::BASE>* > & idmaps,
|
||||
const string & refinfofile)
|
||||
{
|
||||
if (mesh.GetDimension() < 2)
|
||||
throw Exception ("Mesh bisection is available in 2D and 3D");
|
||||
// mtets.SetName ("bisection, tets");
|
||||
// mprisms.SetName ("bisection, prisms");
|
||||
// mtris.SetName ("bisection, trigs");
|
||||
|
Loading…
Reference in New Issue
Block a user