ExplicitCoincidentDEC.* \
NonCoincidentDEC.* \
CommInterface.* \
+ NormalizedGeometricTypes \
NormalizedUnstructuredMesh.* \
Interpolation2D.* \
Interpolation3D.* \
MEDCouplingExtrudedMesh.* \
MEDCouplingFieldDouble.* \
MEDCouplingField.* \
+ MEDCouplingNatureOfFieldEnum
MEDCouplingNatureOfField.hxx \
MEDCouplingFieldTemplate.* \
MEDCouplingFieldDiscretization.* \
--- /dev/null
+// Copyright (C) 2007-2013 CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+// Author : Anthony Geay (CEA/DEN)
+
+#ifndef __NORMALIZEDGEOMETRICTYPES__
+#define __NORMALIZEDGEOMETRICTYPES__
+
+namespace INTERP_KERNEL
+{
+ typedef enum
+ {
+ NORM_POINT1 = 0,
+ NORM_SEG2 = 1,
+ NORM_SEG3 = 2,
+ NORM_SEG4 = 10,
+ NORM_POLYL = 33,
+ NORM_TRI3 = 3,
+ NORM_QUAD4 = 4,
+ NORM_POLYGON = 5,
+ NORM_TRI6 = 6,
+ NORM_TRI7 = 7,
+ NORM_QUAD8 = 8,
+ NORM_QUAD9 = 9,
+ NORM_QPOLYG = 32,
+ //
+ NORM_TETRA4 = 14,
+ NORM_PYRA5 = 15,
+ NORM_PENTA6 = 16,
+ NORM_HEXA8 = 18,
+ NORM_TETRA10 = 20,
+ NORM_HEXGP12 = 22,
+ NORM_PYRA13 = 23,
+ NORM_PENTA15 = 25,
+ NORM_HEXA20 = 30,
+ NORM_HEXA27 = 27,
+ NORM_POLYHED = 31,
+ NORM_ERROR = 40,
+ NORM_MAXTYPE = 33
+ } NormalizedCellType;
+
+ /// Type describing the different ways in which the hexahedron can be split into tetrahedra.
+ /// The PLANAR_* policies persume that each face is to be considered planar, while the general
+ /// policies make no such hypothesis. The integer at the end gives the number of tetrahedra
+ /// that result from the split.
+ typedef enum { PLANAR_FACE_5 = 5, PLANAR_FACE_6 = 6, GENERAL_24 = 24, GENERAL_48 = 48 } SplittingPolicy;
+}
+
+#endif
#ifndef __NORMALIZEDUNSTRUCTUREDMESH_HXX__
#define __NORMALIZEDUNSTRUCTUREDMESH_HXX__
+#include "NormalizedGeometricTypes"
+
namespace INTERP_KERNEL
{
typedef enum
ALL_C_MODE ,
ALL_FORTRAN_MODE
} NumberingPolicy;
-
-
- typedef enum
- {
- NORM_POINT1 = 0,
- NORM_SEG2 = 1,
- NORM_SEG3 = 2,
- NORM_SEG4 = 10,
- NORM_POLYL = 33,
- NORM_TRI3 = 3,
- NORM_QUAD4 = 4,
- NORM_POLYGON = 5,
- NORM_TRI6 = 6,
- NORM_TRI7 = 7,
- NORM_QUAD8 = 8,
- NORM_QUAD9 = 9,
- NORM_QPOLYG = 32,
- //
- NORM_TETRA4 = 14,
- NORM_PYRA5 = 15,
- NORM_PENTA6 = 16,
- NORM_HEXA8 = 18,
- NORM_TETRA10 = 20,
- NORM_HEXGP12 = 22,
- NORM_PYRA13 = 23,
- NORM_PENTA15 = 25,
- NORM_HEXA20 = 30,
- NORM_HEXA27 = 27,
- NORM_POLYHED = 31,
- NORM_ERROR = 40,
- NORM_MAXTYPE = 33
- } NormalizedCellType;
-
- /// Type describing the different ways in which the hexahedron can be split into tetrahedra.
- /// The PLANAR_* policies persume that each face is to be considered planar, while the general
- /// policies make no such hypothesis. The integer at the end gives the number of tetrahedra
- /// that result from the split.
- typedef enum { PLANAR_FACE_5 = 5, PLANAR_FACE_6 = 6, GENERAL_24 = 24, GENERAL_48 = 48 } SplittingPolicy;
}
#endif
FILE(GLOB_RECURSE interpkernel_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
FILE(GLOB_RECURSE interpkernel_HEADERS_TXX "${CMAKE_CURRENT_SOURCE_DIR}/*.txx")
-INSTALL(FILES ${interpkernel_HEADERS_HXX} ${interpkernel_HEADERS_TXX} DESTINATION ${SALOME_INSTALL_HEADERS})
+INSTALL(FILES ${interpkernel_HEADERS_HXX} ${interpkernel_HEADERS_TXX} Bases/NormalizedGeometricTypes DESTINATION ${SALOME_INSTALL_HEADERS})
# Will be used for SWIG dependencies:
SET (interpkernel_HEADERS_HXX PARENT_SCOPE)
FILE(GLOB medcoupling_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
FILE(GLOB medcoupling_HEADERS_TXX "${CMAKE_CURRENT_SOURCE_DIR}/*.txx")
-INSTALL(FILES ${medcoupling_HEADERS_HXX} ${medcoupling_HEADERS_TXX} DESTINATION ${SALOME_INSTALL_HEADERS})
+INSTALL(FILES ${medcoupling_HEADERS_HXX} ${medcoupling_HEADERS_TXX} MEDCouplingNatureOfFieldEnum DESTINATION ${SALOME_INSTALL_HEADERS})
# To allow usage as SWIG dependencies:
SET(medcoupling_HEADERS_HXX PARENT_SCOPE)
#define __PARAMEDMEM_MEDCOUPLINGNATUREOFFIELD_HXX__
#include "MEDCoupling.hxx"
+#include "MEDCouplingNatureOfFieldEnum"
+
#include "InterpKernelException.hxx"
namespace ParaMEDMEM
{
- typedef enum
- {
- NoNature = 17,
- ConservativeVolumic = 26,
- Integral = 32,
- IntegralGlobConstraint = 35,
- RevIntegral = 37
- } NatureOfField;
-
class MEDCouplingNatureOfField
{
public:
--- /dev/null
+// Copyright (C) 2007-2013 CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+// Author : Anthony Geay (CEA/DEN)
+
+#ifndef __PARAMEDMEM_MEDCOUPLINGNATUREOFFIELDENUM__
+#define __PARAMEDMEM_MEDCOUPLINGNATUREOFFIELDENUM__
+
+namespace ParaMEDMEM
+{
+ typedef enum
+ {
+ NoNature = 17,
+ ConservativeVolumic = 26,
+ Integral = 32,
+ IntegralGlobConstraint = 35,
+ RevIntegral = 37
+ } NatureOfField;
+}
+
+#endif
//== MEDCouplingMesh End
-%include "NormalizedUnstructuredMesh.hxx"
-%include "MEDCouplingNatureOfField.hxx"
+%include "NormalizedGeometricTypes"
+%include "MEDCouplingNatureOfFieldEnum"
+//
+namespace ParaMEDMEM
+{
+ class MEDCouplingNatureOfField
+ {
+ public:
+ static const char *GetRepr(NatureOfField nat) throw(INTERP_KERNEL::Exception);
+ static std::string GetReprNoThrow(NatureOfField nat);
+ static std::string GetAllPossibilitiesStr();
+ };
+}
+//
%include "MEDCouplingTimeDiscretization.hxx"
namespace ParaMEDMEM