diff --git a/Geo/MPyramid.h b/Geo/MPyramid.h index e59ff396e4458d69ba8705ea00aa4c0ab3450b4c..e732321c6932c9914021838c2185f67da792af0e 100644 --- a/Geo/MPyramid.h +++ b/Geo/MPyramid.h @@ -306,6 +306,19 @@ class MPyramidN : public MPyramid { if(_order == 9 && _vs.size() + 5 == 385) return MSH_PYR_385; return 0; } + virtual void revert() + { +/* MVertex *tmp; + tmp = _v[1]; _v[1] = _v[2]; _v[2] = tmp; + std::vector<MVertex*> inv(_vs.size()); + std::vector<int> reverseIndices = _getReverseIndices(_order); + for (unsigned int i = 0; i< _vs.size(); i++) + inv[i] = _vs[reverseIndices[i + 4] - 4]; + _vs = inv;*/ + + Msg::Error("Revert not implemented yet for MPyramidN"); + + } virtual void getEdgeRep(int num, double *x, double *y, double *z, SVector3 *n); virtual int getNumEdgesRep(); virtual void getFaceRep(int num, double *x, double *y, double *z, SVector3 *n);