From c6dd15fe02fdb5736fd20a5a2a108db6916c296f Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 9 Sep 2011 11:18:47 +0000 Subject: [PATCH] vtk types for second order elements --- Geo/MHexahedron.h | 2 +- Geo/MLine.h | 2 +- Geo/MQuadrangle.h | 2 +- Geo/MTetrahedron.h | 2 +- Geo/MTriangle.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Geo/MHexahedron.h b/Geo/MHexahedron.h index 352abb65ab..ba94f9d3f9 100644 --- a/Geo/MHexahedron.h +++ b/Geo/MHexahedron.h @@ -299,7 +299,7 @@ class MHexahedron20 : public MHexahedron { } virtual int getTypeForMSH() const { return MSH_HEX_20; } virtual int getTypeForUNV() const { return 116; } // solid parabolic brick - //virtual int getTypeForVTK() const { return 25; } + virtual int getTypeForVTK() const { return 25; } virtual const char *getStringForBDF() const { return "CHEXA"; } virtual const char *getStringForINP() const { return "C3D20"; } virtual const char *getStringForDIFF() const { return "ElmB20n3D"; } diff --git a/Geo/MLine.h b/Geo/MLine.h index bfbcde1eac..097d059cec 100644 --- a/Geo/MLine.h +++ b/Geo/MLine.h @@ -139,7 +139,7 @@ class MLine3 : public MLine { } virtual int getTypeForMSH() const { return MSH_LIN_3; } virtual int getTypeForUNV() const { return 24; } // parabolic beam - //virtual int getTypeForVTK() const { return 21; } + virtual int getTypeForVTK() const { return 21; } virtual const char *getStringForPOS() const { return "SL2"; } virtual const char *getStringForINP() const { return "C1D3"; } virtual void getNode(int num, double &u, double &v, double &w) diff --git a/Geo/MQuadrangle.h b/Geo/MQuadrangle.h index 11e1bc18dc..d2750ee025 100644 --- a/Geo/MQuadrangle.h +++ b/Geo/MQuadrangle.h @@ -226,7 +226,7 @@ class MQuadrangle8 : public MQuadrangle { } virtual int getTypeForMSH() const { return MSH_QUA_8; } virtual int getTypeForUNV() const { return 95; } // shell parabolic quadrilateral - //virtual int getTypeForVTK() const { return 23; } + virtual int getTypeForVTK() const { return 23; } virtual const char *getStringForBDF() const { return "CQUAD8"; } virtual const char *getStringForDIFF() const { return "ElmB8n2D"; } virtual const char *getStringForINP() const { return "C2D8"; } diff --git a/Geo/MTetrahedron.h b/Geo/MTetrahedron.h index a205f69f57..747349fc52 100644 --- a/Geo/MTetrahedron.h +++ b/Geo/MTetrahedron.h @@ -252,7 +252,7 @@ class MTetrahedron10 : public MTetrahedron { } virtual int getTypeForMSH() const { return MSH_TET_10; } virtual int getTypeForUNV() const { return 118; } // solid parabolic tetrahedron - //virtual int getTypeForVTK() const { return 24; } + virtual int getTypeForVTK() const { return 24; } virtual const char *getStringForPOS() const { return "SS2"; } virtual const char *getStringForBDF() const { return "CTETRA"; } virtual const char *getStringForDIFF() const { return "ElmT10n3D"; } diff --git a/Geo/MTriangle.h b/Geo/MTriangle.h index 6b675fe4ac..ac0c519580 100644 --- a/Geo/MTriangle.h +++ b/Geo/MTriangle.h @@ -215,7 +215,7 @@ class MTriangle6 : public MTriangle { } virtual int getTypeForMSH() const { return MSH_TRI_6; } virtual int getTypeForUNV() const { return 92; } // thin shell parabolic triangle - //virtual int getTypeForVTK() const { return 22; } + virtual int getTypeForVTK() const { return 22; } virtual const char *getStringForPOS() const { return "ST2"; } virtual const char *getStringForBDF() const { return "CTRIA6"; } virtual const char *getStringForDIFF() const { return "ElmT6n2D"; } -- GitLab