return some nonsense for undefined element-type

This commit is contained in:
Joachim Schoeberl 2023-11-17 12:00:48 +01:00
parent 1565e149c0
commit 69025e5ef4

View File

@ -325,7 +325,7 @@ inline short int MeshTopology :: GetNPoints (ELEMENT_TYPE et)
// default: // default:
// cerr << "Ng_ME_GetNVertices, illegal element type " << et << endl; // cerr << "Ng_ME_GetNVertices, illegal element type " << et << endl;
} }
return 0; return -99;
} }
@ -370,7 +370,7 @@ inline short int MeshTopology :: GetNEdges (ELEMENT_TYPE et)
// default: // default:
// cerr << "Ng_ME_GetNEdges, illegal element type " << et << endl; // cerr << "Ng_ME_GetNEdges, illegal element type " << et << endl;
} }
// return 0; return -99;
} }