#define __BARYCENTRIC3DINTERSECTORP1P1_TXX__
#include "Barycentric3DIntersectorP1P1.hxx"
-#include "Intersector3DP1P1.hxx"
+#include "Intersector3DP1P1.txx"
#include "InterpolationUtils.hxx"
#include <vector>
#include <cstddef>
#define __CONVEXINTERSECTOR_TXX__
#include "ConvexIntersector.hxx"
-#include "PlanarIntersector.hxx"
+#include "PlanarIntersector.txx"
+#include "PlanarIntersectorP0P0.txx"
+#include "PlanarIntersectorP0P1.txx"
+#include "PlanarIntersectorP1P0.txx"
+#include "PlanarIntersectorP1P1.txx"
+#include "PlanarIntersectorP1P0Bary.txx"
+#include "PlanarIntersectorP0P1Bary.txx"
-#include "PolygonAlgorithms.hxx"
+#include "PolygonAlgorithms.txx"
#include "InterpolationUtils.hxx"
#include <deque>
#ifndef __CURVEINTERSECTOR_HXX__
#define __CURVEINTERSECTOR_HXX__
-#include "TargetIntersector.hxx"
+#include "TargetIntersector.txx"
#include "NormalizedUnstructuredMesh.hxx"
#include <vector>
public:
static const int SPACEDIM=MyMeshType::MY_SPACEDIM;
static const int MESHDIM=MyMeshType::MY_MESHDIM;
- using ConnType = typename MyMeshType::MyConnType;
+ typedef typename MyMeshType::MyConnType ConnType;
static const NumberingPolicy numPol=MyMeshType::My_numPol;
public:
CurveIntersector(const MyMeshType& meshT, const MyMeshType& meshS,
namespace INTERP_KERNEL
{
- using TypeOfLocInPolygon = enum
+ typedef enum
{
IN_1 = 7,
ON_1 = 8,
ON_TANG_1 = 9,
OUT_1 = 10,
UNKNOWN = 11
- };
+ } TypeOfLocInPolygon;
class Bounds;
#define __GEOMETRIC2DINTERSECTOR_TXX__
#include "Geometric2DIntersector.hxx"
-#include "PlanarIntersector.hxx"
-// #include "PlanarIntersectorP0P0.txx"
-// #include "Planar2D1DIntersectorP0P0.txx"
-// #include "PlanarIntersectorP0P1.txx"
-// #include "PlanarIntersectorP1P0.txx"
-// #include "PlanarIntersectorP1P1.txx"
-// #include "PlanarIntersectorP1P0Bary.txx"
-// #include "PlanarIntersectorP0P1Bary.txx"
+#include "PlanarIntersector.txx"
+#include "PlanarIntersectorP0P0.txx"
+#include "Planar2D1DIntersectorP0P0.txx"
+#include "PlanarIntersectorP0P1.txx"
+#include "PlanarIntersectorP1P0.txx"
+#include "PlanarIntersectorP1P1.txx"
+#include "PlanarIntersectorP1P0Bary.txx"
+#include "PlanarIntersectorP0P1Bary.txx"
#include "InterpolationUtils.hxx"
#include "CellModel.hxx"
#include "NormalizedGeometricTypes"
#define __INTERPOLATION_TXX__
#include "Interpolation.hxx"
-#include "IntegralUniformIntersector.hxx"
+#include "IntegralUniformIntersector.txx"
#include "InterpolationOptions.hxx"
#include "InterpKernelException.hxx"
#include "VectorUtils.hxx"
#define __INTERPOLATION1D_HXX__
#include "InterpolationOptions.hxx"
-#include "InterpolationCurve.hxx"
+#include "InterpolationCurve.txx"
namespace INTERP_KERNEL
{
typename MyMeshType::MyConnType Interpolation1D0D::interpolateMeshes(const MyMeshType& srcMesh, const MyMeshType& targetMesh, MatrixType& result, const std::string& method)
{
constexpr int SPACEDIM=MyMeshType::MY_SPACEDIM;
- using ConnType=typename MyMeshType::MyConnType;
+ typedef typename MyMeshType::MyConnType ConnType;
IKAssert(SPACEDIM==3);
if(InterpolationOptions::getIntersectionType() != PointLocator)
#include "InterpolationOptions.hxx"
#include "PlanarIntersector.hxx"
-#include "InterpolationPlanar.hxx"
+#include "InterpolationPlanar.txx"
#include <vector>
namespace INTERP_KERNEL
#include "Interpolation2D1D.hxx"
#include <string>
#include "NormalizedUnstructuredMesh.hxx"
-#include "PlanarIntersector.hxx"
+#include "PlanarIntersector.txx"
#include "Planar2D1DIntersectorP0P0.hxx"
#include "InterpolationOptions.hxx"
-#include "Geometric2DIntersector.hxx"
+#include "Geometric2DIntersector.txx"
#include "InterpKernelException.hxx"
#include "BBTree.txx"
#include "InterpolationUtils.hxx"
#include "BBTreeStandAlone.txx"
#include "BoundingBox.hxx"
#include "Interpolation2D3D.hxx"
-#include "Intersector3D.hxx"
+// #include "Interpolation.txx"
+#include "Intersector3D.txx"
#include "Log.hxx"
#include "InterpolationOptions.hxx"
-#include "MeshElement.hxx"
+#include "MeshElement.txx"
#include "NormalizedGeometricTypes"
-#include "Polyhedron3D2DIntersectorP0P0.hxx"
+#include "Polyhedron3D2DIntersectorP0P0.txx"
#include "InterpolationHelper.txx"
#include "InterpKernelException.hxx"
// Author : Anthony Geay (CEA/DEN)
#include "Interpolation2DCurve.hxx"
-#include "InterpolationCurve.hxx"
+#include "InterpolationCurve.txx"
#include "InterpolationOptions.hxx"
namespace INTERP_KERNEL
#ifndef __INTERPOLATION3D_TXX__
#define __INTERPOLATION3D_TXX__
-#include "Barycentric3DIntersectorP1P1.hxx"
+#include "Interpolation3D.hxx"
+
#include "BBTreeStandAlone.txx"
#include "BoundingBox.hxx"
-#include "Interpolation3D.hxx"
#include "InterpolationOptions.hxx"
#include "Intersector3D.hxx"
-#include "MappedBarycentric3DIntersectorP1P1.hxx"
-#include "MeshElement.hxx"
-#include "PolyhedronIntersectorP0P0.hxx"
-#include "PointLocator3DIntersectorP0P0.hxx"
-#include "PolyhedronIntersectorP0P1.hxx"
-#include "PointLocator3DIntersectorP0P1.hxx"
-#include "PolyhedronIntersectorP1P0.hxx"
-#include "PointLocator3DIntersectorP1P0.hxx"
-#include "PolyhedronIntersectorP1P0Bary.hxx"
-#include "PolyhedronIntersectorP1P1.hxx"
-#include "PointLocator3DIntersectorP1P1.hxx"
+#include "MeshElement.txx"
+
+#include "PolyhedronIntersectorP0P0.txx"
+#include "PointLocator3DIntersectorP0P0.txx"
+#include "PolyhedronIntersectorP0P1.txx"
+#include "PointLocator3DIntersectorP0P1.txx"
+#include "PolyhedronIntersectorP1P0.txx"
+#include "PolyhedronIntersectorP1P0Bary.txx"
+#include "PointLocator3DIntersectorP1P0.txx"
+#include "PolyhedronIntersectorP1P1.txx"
+#include "PointLocator3DIntersectorP1P1.txx"
+#include "Barycentric3DIntersectorP1P1.txx"
+#include "MappedBarycentric3DIntersectorP1P1.txx"
#include "Log.hxx"
#include "InterpKernelException.hxx"
#include <memory>
#include "Interpolation3DSurf.hxx"
#include "InterpolationOptions.hxx"
-#include "InterpolationPlanar.hxx"
+#include "InterpolationPlanar.txx"
namespace INTERP_KERNEL
{
#include "INTERPKERNELDefines.hxx"
#include "InterpolationOptions.hxx"
#include "PlanarIntersector.hxx"
-#include "InterpolationPlanar.hxx"
+#include "InterpolationPlanar.txx"
#include <vector>
namespace INTERP_KERNEL
#include "InterpolationUtils.hxx"
#include "InterpolationOptions.hxx"
-#include "IntersectorCU.hxx"
-#include "IntersectorCU1D.hxx"
-#include "IntersectorCU2D.hxx"
-#include "IntersectorCU3D.hxx"
+#include "IntersectorCU.txx"
+#include "IntersectorCU1D.txx"
+#include "IntersectorCU2D.txx"
+#include "IntersectorCU3D.txx"
#include "NormalizedGeometricTypes"
#include "TargetIntersector.hxx"
#include <string>
#ifndef __INTERPOLATIONCURVE_TXX__
#define __INTERPOLATIONCURVE_TXX__
-#include "Interpolation.hxx"
+#include "Interpolation.txx"
#include "BBTree.txx"
-#include "CurveIntersector.hxx"
-#include "CurveIntersectorP0P0.hxx"
-#include "CurveIntersectorP0P1.hxx"
-#include "CurveIntersectorP1P0.hxx"
-#include "CurveIntersectorP1P1.hxx"
-#include "CurveIntersectorP1P1PL.hxx"
+#include "CurveIntersector.txx"
+#include "CurveIntersectorP0P0.txx"
+#include "CurveIntersectorP0P1.txx"
+#include "CurveIntersectorP1P0.txx"
+#include "CurveIntersectorP1P1.txx"
+#include "CurveIntersectorP1P1PL.txx"
#include "InterpolationCurve.hxx"
#include "InterpolationOptions.hxx"
#include "NormalizedUnstructuredMesh.hxx"
#pragma once
#include "BBTreeStandAlone.txx"
-#include "MeshElement.hxx"
+#include "MeshElement.txx"
#include "BoundingBox.hxx"
#include "Log.hxx"
#ifndef __INTERPOLATIONPLANAR_TXX__
#define __INTERPOLATIONPLANAR_TXX__
-#include "Interpolation.hxx"
#include "InterpolationPlanar.hxx"
+
+#include "Interpolation.txx"
#include "InterpolationOptions.hxx"
#include "NormalizedUnstructuredMesh.hxx"
#include "InterpolationUtils.hxx"
-#include "PlanarIntersector.hxx"
+
#include "PlanarIntersectorP0P0.hxx"
#include "PlanarIntersectorP1P0.hxx"
#include "PlanarIntersectorP0P1.hxx"
-#include "PlanarIntersectorP0P1PL.hxx"
-#include "PlanarIntersectorP1P0PL.hxx"
#include "PlanarIntersectorP1P1.hxx"
-#include "PlanarIntersectorP1P1PL.hxx"
#include "PlanarIntersectorP0P1Bary.hxx"
#include "PlanarIntersectorP1P0Bary.hxx"
-#include "MappedBarycentric2DIntersectorP1P1.hxx"
-#include "ConvexIntersector.hxx"
-#include "PointLocator2DIntersector.hxx"
-#include "Geometric2DIntersector.hxx"
-#include "TriangulationIntersector.hxx"
+
+#include "PlanarIntersector.txx"
+#include "TriangulationIntersector.txx"
+#include "ConvexIntersector.txx"
+#include "Geometric2DIntersector.txx"
+#include "PointLocator2DIntersector.txx"
+#include "PlanarIntersectorP0P1PL.txx"
+#include "PlanarIntersectorP1P0PL.txx"
+#include "PlanarIntersectorP1P1PL.txx"
+#include "MappedBarycentric2DIntersectorP1P1.txx"
#include "VectorUtils.hxx"
#include "BBTree.txx"
//
#include "INTERPKERNELDefines.hxx"
-#include "InterpKernelDenseMatrix.hxx"
+#include "InterpKernelDenseMatrix.txx"
template class INTERPKERNEL_EXPORT INTERP_KERNEL::DenseMatrixT<double>;
public:
static const int SPACEDIM=MyMeshType::MY_SPACEDIM;
static const int MESHDIM=MyMeshType::MY_MESHDIM;
- using ConnType = typename MyMeshType::MyConnType;
+ typedef typename MyMeshType::MyConnType ConnType;
static const NumberingPolicy numPol=MyMeshType::My_numPol;
public:
MappedBarycentric3DIntersectorP1P1(const MyMeshType& targetMesh, const MyMeshType& srcMesh, double precision);
#ifndef __MAPPEDBARYCENTRIC3DINTERSECTORP1P1_TXX__
#define __MAPPEDBARYCENTRIC3DINTERSECTORP1P1_TXX__
-#include "Intersector3DP1P1.hxx"
+#include "Intersector3DP1P1.txx"
#include "InterpolationUtils.hxx"
#include "InterpKernelUtilities.hxx"
#include "MappedBarycentric3DIntersectorP1P1.hxx"
public:
static const int SPACEDIM=MyMeshType::MY_SPACEDIM;
static const int MESHDIM=MyMeshType::MY_MESHDIM;
- using ConnType = typename MyMeshType::MyConnType;
+ typedef typename MyMeshType::MyConnType ConnType;
static const NumberingPolicy numPol=MyMeshType::My_numPol;
protected:
Planar2D1DIntersectorP0P0(const MyMeshType& meshT, const MyMeshType& meshS,
{
ConnType iS=*iter;
ConnType nbNodesS=PlanarIntersector<MyMeshType,MyMatrix>::_connIndexS[iS+1]-PlanarIntersector<MyMeshType,MyMatrix>::_connIndexS[iS];
- bool const isColinear = false;
+ bool isColinear = false;
double surf=intersectGeometry1D(OTT<ConnType,numPol>::indFC(icellT),OTT<ConnType,numPol>::indFC(iS),
nbNodesT,nbNodesS, isColinear);
surf=PlanarIntersector<MyMeshType,MyMatrix>::getValueRegardingOption(surf);
#ifndef __PLANARINTERSECTOR_HXX__
#define __PLANARINTERSECTOR_HXX__
-#include "TargetIntersector.hxx"
+#include "TargetIntersector.txx"
#include "NormalizedUnstructuredMesh.hxx"
#include <cstddef>
public:
static const int SPACEDIM=MyMeshType::MY_SPACEDIM;
static const int MESHDIM=MyMeshType::MY_MESHDIM;
- using ConnType = typename MyMeshType::MyConnType;
+ typedef typename MyMeshType::MyConnType ConnType;
static const NumberingPolicy numPol=MyMeshType::My_numPol;
- using DuplicateFacesType = typename std::map<ConnType, std::set<ConnType>>;
+ typedef typename std::map<ConnType,std::set<ConnType> > DuplicateFacesType;
public:
PlanarIntersector(const MyMeshType& meshT, const MyMeshType& meshS, double dimCaracteristic, double precision, double md3DSurf, double minDot3DSurf, double medianPlane, bool doRotate, int orientation, int printLevel);
virtual ~PlanarIntersector();
#ifndef __PLANARINTERSECTORP0P1_TXX__
#define __PLANARINTERSECTORP0P1_TXX__
-#include "PlanarIntersector.hxx"
+#include "PlanarIntersector.txx"
#include "InterpKernelUtilities.hxx"
#include "NormalizedGeometricTypes"
#include "PlanarIntersectorP0P1.hxx"
public:
static const int SPACEDIM=MyMeshType::MY_SPACEDIM;
static const int MESHDIM=MyMeshType::MY_MESHDIM;
- using ConnType = typename MyMeshType::MyConnType;
+ typedef typename MyMeshType::MyConnType ConnType;
static const NumberingPolicy numPol=MyMeshType::My_numPol;
protected:
PlanarIntersectorP0P1Bary(const MyMeshType& meshT, const MyMeshType& meshS, double dimCaracteristic, double precision, double md3DSurf, double minDot3DSurf, double medianPlane, bool doRotate, int orientation, int printLevel);
public:
static const int SPACEDIM=MyMeshType::MY_SPACEDIM;
static const int MESHDIM=MyMeshType::MY_MESHDIM;
- using ConnType = typename MyMeshType::MyConnType;
+ typedef typename MyMeshType::MyConnType ConnType;
static const NumberingPolicy numPol=MyMeshType::My_numPol;
protected:
PlanarIntersectorP1P0(const MyMeshType& meshT, const MyMeshType& meshS, double dimCaracteristic, double precision, double md3DSurf, double minDot3DSurf, double medianPlane, bool doRotate, int orientation, int printLevel);
#define __PLANARINTERSECTORP1P0_TXX__
#include "NormalizedGeometricTypes"
-#include "PlanarIntersector.hxx"
+#include "PlanarIntersector.txx"
#include "PlanarIntersectorP1P0.hxx"
#include "InterpolationUtils.hxx"
#include "CellModel.hxx"
#ifndef __PLANARINTERSECTORP1P0PL_TXX__
#define __PLANARINTERSECTORP1P0PL_TXX__
-#include "PlanarIntersector.hxx"
+#include "PlanarIntersector.txx"
#include "InterpolationUtils.hxx"
#include "NormalizedGeometricTypes"
#include "PlanarIntersectorP1P0PL.hxx"
+#include "VolSurfFormulae.hxx"
#include "PointLocatorAlgos.txx"
#include <vector>
public:
static const int SPACEDIM=MyMeshType::MY_SPACEDIM;
static const int MESHDIM=MyMeshType::MY_MESHDIM;
- using ConnType = typename MyMeshType::MyConnType;
+ typedef typename MyMeshType::MyConnType ConnType;
static const NumberingPolicy numPol=MyMeshType::My_numPol;
protected:
PlanarIntersectorP1P1(const MyMeshType& meshT, const MyMeshType& meshS, double dimCaracteristic, double precision, double md3DSurf, double minDot3DSurf, double medianPlane, bool doRotate, int orientation, int printLevel);
#ifndef __PLANARINTERSECTORP1P1_TXX__
#define __PLANARINTERSECTORP1P1_TXX__
-#include "PlanarIntersector.hxx"
+#include "PlanarIntersector.txx"
#include "PlanarIntersectorP1P1.hxx"
#include "InterpolationUtils.hxx"
#include <vector>
public:
static const int SPACEDIM=MyMeshType::MY_SPACEDIM;
static const int MESHDIM=MyMeshType::MY_MESHDIM;
- using ConnType = typename MyMeshType::MyConnType;
+ typedef typename MyMeshType::MyConnType ConnType;
static const NumberingPolicy numPol=MyMeshType::My_numPol;
public:
PlanarIntersectorP1P1PL(const MyMeshType& meshT, const MyMeshType& meshS, double dimCaracteristic, double md3DSurf, double minDot3DSurf, double medianPlane, double precision, int orientation);
#ifndef __PLANARINTERSECTORP1P1PL_TXX__
#define __PLANARINTERSECTORP1P1PL_TXX__
-#include "PlanarIntersector.hxx"
+#include "PlanarIntersector.txx"
#include "InterpolationUtils.hxx"
#include "NormalizedGeometricTypes"
#include "PlanarIntersectorP1P1PL.hxx"
public:
static const int SPACEDIM=MyMeshType::MY_SPACEDIM;
static const int MESHDIM=MyMeshType::MY_MESHDIM;
- using ConnType = typename MyMeshType::MyConnType;
+ typedef typename MyMeshType::MyConnType ConnType;
static const NumberingPolicy numPol=MyMeshType::My_numPol;
public:
PointLocator2DIntersector(const MyMeshType& meshT, const MyMeshType& meshS,
public:
static const int SPACEDIM=MyMeshType::MY_SPACEDIM;
static const int MESHDIM=MyMeshType::MY_MESHDIM;
- using ConnType = typename MyMeshType::MyConnType;
+ typedef typename MyMeshType::MyConnType ConnType;
static const NumberingPolicy numPol=MyMeshType::My_numPol;
public:
PointLocator3DIntersectorP0P0(const MyMeshType& targetMesh, const MyMeshType& srcMesh, double precision);
#ifndef __POINTLOCATOR3DINTERSECTORP0P0_TXX__
#define __POINTLOCATOR3DINTERSECTORP0P0_TXX__
-#include "Intersector3DP0P0.hxx"
+#include "Intersector3DP0P0.txx"
#include "InterpolationUtils.hxx"
#include "InterpKernelUtilities.hxx"
#include "NormalizedGeometricTypes"
#include "CellModel.hxx"
#include "PointLocator3DIntersectorP0P0.hxx"
+#include "VolSurfFormulae.hxx"
#include "PointLocatorAlgos.txx"
#include <vector>
public:
static const int SPACEDIM=MyMeshType::MY_SPACEDIM;
static const int MESHDIM=MyMeshType::MY_MESHDIM;
- using ConnType = typename MyMeshType::MyConnType;
+ typedef typename MyMeshType::MyConnType ConnType;
static const NumberingPolicy numPol=MyMeshType::My_numPol;
public:
PointLocator3DIntersectorP0P1(const MyMeshType& targetMesh, const MyMeshType& srcMesh, double precision);
#ifndef __POINTLOCATOR3DINTERSECTORP0P1_TXX__
#define __POINTLOCATOR3DINTERSECTORP0P1_TXX__
-#include "Intersector3DP0P1.hxx"
+#include "Intersector3DP0P1.txx"
#include "InterpolationUtils.hxx"
#include "InterpKernelUtilities.hxx"
#include "NormalizedGeometricTypes"
#ifndef __POINTLOCATOR3DINTERSECTORP1P0_TXX__
#define __POINTLOCATOR3DINTERSECTORP1P0_TXX__
-#include "Intersector3DP1P0.hxx"
+#include "Intersector3DP1P0.txx"
#include "InterpolationUtils.hxx"
#include "InterpKernelUtilities.hxx"
#include "NormalizedGeometricTypes"
#include "PointLocator3DIntersectorP1P0.hxx"
#include "CellModel.hxx"
#include "PointLocatorAlgos.txx"
+#include "VolSurfFormulae.hxx"
#include <vector>
#include <cmath>
#ifndef __POINTLOCATOR3DINTERSECTORP1P1_TXX__
#define __POINTLOCATOR3DINTERSECTORP1P1_TXX__
-#include "Intersector3DP1P1.hxx"
+#include "Intersector3DP1P1.txx"
#include "InterpolationUtils.hxx"
#include "InterpKernelUtilities.hxx"
#include "NormalizedGeometricTypes"
#define __POLYHEDRON3D2DINTERSECTORP0P0_TXX__
#include "NormalizedGeometricTypes"
-#include "Intersector3DP0P0.hxx"
+#include "Intersector3DP0P0.txx"
#include "Intersector3D.hxx"
#include "InterpolationUtils.hxx"
#include "CellModel.hxx"
#include "Polyhedron3D2DIntersectorP0P0.hxx"
#include "MeshUtils.hxx"
#include <vector>
-#include "SplitterTetra.hxx"
+#include "SplitterTetra.txx"
#include <set>
#ifndef __POLYHEDRONINTERSECTORP0P0_TXX__
#define __POLYHEDRONINTERSECTORP0P0_TXX__
-#include "NormalizedGeometricTypes"
-#include "Intersector3DP0P0.hxx"
-#include "InterpolationUtils.hxx"
#include "PolyhedronIntersectorP0P0.hxx"
+
#include <vector>
-#include "SplitterTetra.hxx"
+#include "NormalizedGeometricTypes"
+#include "Intersector3DP0P0.txx"
+#include "InterpolationUtils.hxx"
+#include "SplitterTetra.txx"
namespace INTERP_KERNEL
{
public:
static const int SPACEDIM=MyMeshType::MY_SPACEDIM;
static const int MESHDIM=MyMeshType::MY_MESHDIM;
- using ConnType = typename MyMeshType::MyConnType;
+ typedef typename MyMeshType::MyConnType ConnType;
static const NumberingPolicy numPol=MyMeshType::My_numPol;
public:
#define __POLYHEDRONINTERSECTORP0P1_TXX__
#include "NormalizedGeometricTypes"
-#include "Intersector3DP0P1.hxx"
+#include "Intersector3DP0P1.txx"
#include "InterpolationUtils.hxx"
#include "PolyhedronIntersectorP0P1.hxx"
#define __POLYHEDRONINTERSECTORP1P0_TXX__
#include "NormalizedGeometricTypes"
-#include "Intersector3DP1P0.hxx"
+#include "Intersector3DP1P0.txx"
#include "InterpKernelException.hxx"
#include "InterpolationUtils.hxx"
-#include "Intersector3D.hxx"
+#include "Intersector3D.txx"
#include "PolyhedronIntersectorP1P0.hxx"
-#include "SplitterTetra.hxx"
+#include "SplitterTetra.txx"
#include <vector>
namespace INTERP_KERNEL
#define __PolyhedronIntersectorP1P0Bary_TXX__
#include "NormalizedGeometricTypes"
-#include "Intersector3DP1P0Bary.hxx"
+#include "Intersector3DP1P0Bary.txx"
#include "InterpolationUtils.hxx"
-#include "Intersector3D.hxx"
+#include "Intersector3D.txx"
#include "PolyhedronIntersectorP1P0Bary.hxx"
-#include "MeshUtils.hxx"
+// #include "MeshUtils.hxx"
-#include "SplitterTetra.hxx"
+#include "SplitterTetra.txx"
#include <vector>
namespace INTERP_KERNEL
#ifndef __PolyhedronIntersectorP1P1_TXX__
#define __PolyhedronIntersectorP1P1_TXX__
+#include "PolyhedronIntersectorP1P1.hxx"
+
#include "NormalizedGeometricTypes"
-#include "Intersector3DP1P1.hxx"
+#include "Intersector3DP1P1.txx"
#include "InterpolationUtils.hxx"
-#include "Intersector3D.hxx"
-#include "PolyhedronIntersectorP1P1.hxx"
-#include "MeshUtils.hxx"
+#include "Intersector3D.txx"
+// #include "MeshUtils.hxx"
-#include "SplitterTetra.hxx"
+#include "SplitterTetra.txx"
#include <vector>
#include <utility>
const CellModel& cellModelCell=CellModel::GetCellModel(normCellType);
ConnType nbOfNodes4Type=cellModelCell.isDynamic() ? _src_mesh.getNumberOfNodesOfElement(OTT<ConnType,numPol>::indFC(element)) : cellModelCell.getNumberOfNodes();
// halfspace filtering
- bool const isOutside[8] = {true, true, true, true, true, true, true, true};
+ bool isOutside[8] = {true, true, true, true, true, true, true, true};
bool isTargetOutside = false;
// calculate the coordinates of the nodes
}
// halfspace filtering
- bool const isOutside[8] = {true, true, true, true, true, true, true, true};
- bool const isStrictlyOutside[8] = {true, true, true, true, true, true, true, true};
+ bool isOutside[8] = {true, true, true, true, true, true, true, true};
+ bool isStrictlyOutside[8] = {true, true, true, true, true, true, true, true};
bool isTargetStrictlyOutside = false;
bool isTargetOutside = false;
#include "MEDCouplingUMesh.hxx"
#include "MEDCouplingRefCountObject.hxx"
#include "MEDCouplingMemArray.hxx"
-#include "MEDCouplingNormalizedUnstructuredMesh.hxx"
+#include "MEDCouplingNormalizedUnstructuredMesh.txx"
#include "Interpolation2D.hxx"
#include "MEDFileMesh.hxx"
#include "MEDCouplingFieldDouble.hxx"
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+#ifndef __MESHTESTTOOLKI_TXX__
+#define __MESHTESTTOOLKI_TXX__
-#ifdef __MESH_TOOLKIT__
-#define __MESH_TOOLKIT__
+#include "MeshTestToolkit.hxx"
#include "MCAuto.hxx"
#include "MCIdType.hxx"
#include "Interpolation2D.hxx"
-#include "MeshTestToolkit.hxx"
-
#include "MEDFileMesh.hxx"
-#include "MEDCouplingNormalizedUnstructuredMesh.hxx"
+#include "MEDCouplingNormalizedUnstructuredMesh.txx"
#include "MEDCouplingFieldDouble.hxx"
#include "Interpolation3DSurf.hxx"
+#include "Interpolation2D.txx"
#include "Interpolation3D.txx"
#include "TestInterpKernelUtils.hxx"
double MeshTestToolkit<SPACEDIM,MESHDIM>::sumRow(const IntersectionMatrix& m, int i) const
{
double vol = 0.0;
- for(IntersectionMatrix::const_iterator iter = m.begin() ; iter != m.end() ; ++iter)
+ for(const auto & iter : m)
{
- if(iter->count(i) != 0.0)
+ if(iter.count(i) != 0.0)
{
- auto iter2 = iter->find(i);
+ auto iter2 = iter.find(i);
vol += fabs(iter2->second);
}
}
double MeshTestToolkit<SPACEDIM,MESHDIM>::sumVolume(const IntersectionMatrix& m) const
{
std::vector<double> volumes;
- for(IntersectionMatrix::const_iterator iter = m.begin() ; iter != m.end() ; ++iter)
+ for(const auto & iter : m)
{
- for(auto iter2 = iter->begin() ; iter2 != iter->end() ; ++iter2)
+ for(const auto & iter2 : iter)
{
- volumes.push_back(fabs(iter2->second));
+ volumes.push_back(fabs(iter2.second));
}
}
#include "Log.hxx"
#include "VectorUtils.hxx"
-#include "MEDCouplingNormalizedUnstructuredMesh.hxx"
+#include "MEDCouplingNormalizedUnstructuredMesh.txx"
#include <cassert>
#include <string>
#include "SingleElementPlanarTests.hxx"
#include "InterpolationUtils.hxx"
-#include "PolygonAlgorithms.hxx"
+#include "PolygonAlgorithms.txx"
#include <cppunit/TestAssert.h>
#include <deque>
#include <vector>
#include "ThreeDSurfProjectionTest.hxx"
#include "NormalizedUnstructuredMesh.hxx"
-#include "PlanarIntersector.hxx"
+#include "PlanarIntersector.txx"
#include "MCIdType.hxx"
#include <algorithm>
#include <cppunit/TestAssert.h>
static const int MY_SPACEDIM=3;
static const int MY_MESHDIM=3;
static const INTERP_KERNEL::NumberingPolicy My_numPol=INTERP_KERNEL::ALL_C_MODE;
- using MyConnType = mcIdType;
+ typedef mcIdType MyConnType;
};
class MyMatrixType
#include "UnitTetra3D2DIntersectionTest.hxx"
-#include "SplitterTetra.hxx"
+#include "SplitterTetra.txx"
#include "NormalizedGeometricTypes"
#include "MCIdType.hxx"
#include "UnitTetraIntersectionBaryTest.hxx"
#include "TransformedTriangle.hxx"
-#include "SplitterTetra.hxx"
+#include "SplitterTetra.txx"
#include "InterpKernelException.hxx"
#include "UnitTetraIntersectionBary.hxx"
#include "TetraAffineTransform.hxx"
#include "CellModel.hxx"
#include "MEDCouplingPointSet.hxx"
-#include "MEDCoupling1GTUMesh.hxx"
+#include "MEDCoupling1GTUMesh.txx"
#include "MCAuto.hxx"
#include "MCIdType.hxx"
#include "MCType.hxx"
#include "MEDCouplingCMesh.hxx"
#include "NormalizedGeometricTypes"
-#include "SplitterTetra.hxx"
+#include "SplitterTetra.txx"
#include "DiameterCalculator.hxx"
#include "OrientationInverter.hxx"
#include "InterpKernelAutoPtr.hxx"
#include "MEDCouplingGaussLocalization.hxx"
#include "MEDCouplingMemArray.hxx"
#include "MCType.hxx"
-#include "MEDCouplingNormalizedUnstructuredMesh.hxx"
+#include "MEDCouplingNormalizedUnstructuredMesh.txx"
#include "BBTreeStandAlone.txx"
#include "InterpKernelException.hxx"
#include "InterpKernelDenseMatrix.hxx"
// Author : Anthony Geay (EDF R&D)
#include "MEDCouplingFieldDouble.hxx"
-#include "MEDCouplingFieldT.hxx"
+#include "MEDCouplingFieldT.txx"
#include "MCAuto.hxx"
#include "MCType.hxx"
#include "MEDCouplingField.hxx"
// Author : Anthony GEAY (EDF R&D)
#include "MEDCouplingFieldFloat.hxx"
-#include "MEDCouplingFieldT.hxx"
+#include "MEDCouplingFieldT.txx"
#include "MEDCouplingFieldDiscretization.hxx"
#include "MCAuto.hxx"
#include "MCType.hxx"
#include "MEDCouplingFieldDiscretization.hxx"
#include "MCAuto.hxx"
#include "MEDCouplingFieldInt64.hxx"
-#include "MEDCouplingFieldT.hxx"
+#include "MEDCouplingFieldT.txx"
#include "MEDCouplingFieldDouble.hxx"
#include "MEDCouplingFieldFloat.hxx"
#include "MEDCouplingFieldTemplate.hxx"
MEDCouplingFieldFloat *MEDCouplingFieldInt32::convertToFloatField() const
{
return ConvertToUField<float>(this);
-}
\ No newline at end of file
+}
// Author : Anthony Geay (EDF R&D)
#include "MEDCouplingFieldInt64.hxx"
-#include "MEDCouplingFieldT.hxx"
+#include "MEDCouplingFieldT.txx"
#include "MCType.hxx"
#include "MEDCouplingFieldDiscretization.hxx"
#include "MCAuto.hxx"
#include "MCAuto.hxx"
#include "MCIdType.hxx"
#include "MEDCouplingCMesh.hxx"
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
#include "MEDCouplingFieldDouble.hxx"
#include "MEDCouplingStructuredMesh.hxx"
#include "MEDCouplingMesh.hxx"
//
// Author : Anthony Geay (EDF R&D)
-#include "MEDCouplingMap.hxx"
+#include "MEDCouplingMap.txx"
#include "MCIdType.hxx"
using namespace MEDCoupling;
//
// Author : Anthony Geay (EDF R&D)
+#include "MEDCouplingMemArray.txx"
#include "BBTree.txx"
#include "BBTreePts.txx"
#include "InterpKernelException.hxx"
#include "InterpKernelExprParser.hxx"
-#include "InterpKernelAutoPtr.hxx"
#include "InterpKernelGeo2DEdgeArcCircle.hxx"
-#include "InterpKernelAutoPtr.hxx"
#include "InterpKernelGeo2DNode.hxx"
#include "InterpKernelGeo2DEdgeLin.hxx"
#include "MEDCoupling.hxx"
-#include "MEDCouplingMemArray.hxx"
#include "MCIdType.hxx"
#include "MCType.hxx"
#include "MEDCouplingRefCountObject.hxx"
#define __PARAMEDMEM_MEDCOUPLINGMEMARRAY_TXX__
#include "MCType.hxx"
-#include "MEDCouplingMap.hxx"
+#include "MEDCouplingMap.txx"
#include "MEDCouplingMemArray.hxx"
#include "MEDCouplingRefCountObject.hxx"
#include "MEDCouplingTraits.hxx"
//
// Author : Anthony Geay (CEA/DEN)
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
#include "MCIdType.hxx"
#include "MCType.hxx"
#include "MCAuto.hxx"
//
// Author : Anthony Geay (EDF R&D)
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
#include "MCType.hxx"
#include <string>
#include <ostream>
#ifndef __MEDCOUPLINGNORMALIZEDUNSTRUCTUREDMESH_TXX__
#define __MEDCOUPLINGNORMALIZEDUNSTRUCTUREDMESH_TXX__
-#include "MCIdType.hxx"
#include "MEDCouplingNormalizedUnstructuredMesh.hxx"
-#include "InterpKernelAssert.hxx"
+#include "MCIdType.hxx"
+#include "InterpKernelAssert.hxx"
#include "MEDCouplingUMesh.hxx"
#include "MEDCoupling1GTUMesh.hxx"
#include "MEDCouplingMemArray.hxx"
#include "MEDCouplingUMesh.hxx"
#include "MEDCouplingMemArray.hxx"
#include "NormalizedUnstructuredMesh.hxx"
-#include "PlanarIntersector.hxx"
+#include "PlanarIntersector.txx"
#include "InterpKernelGeo2DQuadraticPolygon.hxx"
#include "InterpKernelGeo2DNode.hxx"
#include "DirectedBoundingBox.hxx"
// Author : Anthony Geay (CEA/DEN)
#include "MEDCouplingRemapper.hxx"
-#include "Interpolation.hxx"
+#include "Interpolation.txx"
#include "MCAuto.hxx"
#include "InterpolationOptions.hxx"
#include "MCType.hxx"
#include "MEDCouplingMappedExtrudedMesh.hxx"
#include "MEDCouplingCMesh.hxx"
#include "MEDCouplingNatureOfFieldEnum"
-#include "MEDCouplingNormalizedUnstructuredMesh.hxx"
+#include "MEDCouplingNormalizedUnstructuredMesh.txx"
#include "MEDCouplingNormalizedCartesianMesh.hxx"
#include "MEDCouplingNormalizedCartesianMesh.txx"
#include "MEDCouplingFieldDiscretizationOnNodesFE.hxx"
namespace MEDCoupling
{
- using InterpolationMatrixPolicy = enum
+ typedef enum
{
IK_ONLY_PREFERED = 0,
NOT_IK_ONLY_PREFERED = 1,
IK_ONLY_FORCED = 2,
NOT_IK_ONLY_FORCED =3
- };
+ } InterpolationMatrixPolicy;
class MEDCouplingRemapper : public TimeLabel, public INTERP_KERNEL::InterpolationOptions
{
//
// Author : Anthony Geay (CEA/DEN)
+#include "MEDCouplingTimeDiscretization.txx"
+
#include "MCAuto.hxx"
#include "MCIdType.hxx"
#include "MCType.hxx"
#include "MEDCouplingMemArray.hxx"
#include "MEDCouplingMesh.hxx"
-#include "MEDCouplingTimeDiscretization.hxx"
#include "MEDCouplingRefCountObject.hxx"
#include "MEDCouplingTimeLabel.hxx"
#include "MEDCouplingTimeDiscretization.hxx"
#include "MEDCouplingTraits.hxx"
#include "InterpKernelException.hxx"
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
#include <algorithm>
#include <cmath>
#include "MEDCouplingPointSet.hxx"
#include "MEDCouplingRefCountObject.hxx"
#include "MEDCouplingMesh.hxx"
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
#include "MEDCouplingSkyLineArray.hxx"
#include "CellModel.hxx"
-#include "MEDCouplingUMesh.hxx"
+#include "MEDCouplingUMesh.txx"
#include "NormalizedGeometricTypes"
#include "NormalizedUnstructuredMesh.hxx"
#include "VolSurfFormulae.hxx"
#include "VolSurfUser.txx"
#include "InterpolationUtils.hxx"
#include "BBTreeDst.txx"
-#include "SplitterTetra.hxx"
+#include "SplitterTetra.txx"
#include "DirectedBoundingBox.hxx"
#include "InterpKernelMatrixTools.hxx"
#include "InterpKernelMeshQuality.hxx"
#include "CellModel.hxx"
#include "NormalizedGeometricTypes"
#include "VolSurfUser.hxx"
-#include "SplitterTetra.hxx"
+#include "SplitterTetra.txx"
#include "InterpKernelGeo2DEdgeArcCircle.hxx"
#include "InterpKernelAutoPtr.hxx"
#include "InterpKernelGeo2DNode.hxx"
// Author : Anthony Geay (CEA/DEN)
#include "MCType.hxx"
-#include "Interpolation2D1D.hxx"
+#include "Interpolation.txx"
+#include "Interpolation2D1D.txx"
#include "InterpolationOptions.hxx"
#include "Log.hxx"
-#include "Interpolation2D3D.hxx"
+#include "Interpolation2D3D.txx"
#include "MEDCouplingBasicsTest.hxx"
#include "MEDCouplingRefCountObject.hxx"
-#include "MEDCouplingNormalizedUnstructuredMesh.hxx"
+#include "MEDCouplingNormalizedUnstructuredMesh.txx"
#include "MEDCouplingUMesh.hxx"
#include "MEDCouplingMappedExtrudedMesh.hxx"
#include "MEDCouplingFieldDouble.hxx"
// Author : Anthony Geay (CEA/DEN)
#include "MEDCouplingBasicsTest1.hxx"
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
#include "MEDCouplingRefCountObject.hxx"
#include "InterpKernelException.hxx"
#include "MCAuto.hxx"
#include "MEDCouplingCMesh.hxx"
#include "MEDCouplingMappedExtrudedMesh.hxx"
#include "MEDCouplingFieldDouble.hxx"
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
#include "MEDCouplingGaussLocalization.hxx"
#include "NormalizedGeometricTypes"
// Author : Anthony Geay (CEA/DEN)
#include "MEDCouplingBasicsTestInterp.hxx"
-#include "MEDCouplingNormalizedUnstructuredMesh.hxx"
+#include "MEDCouplingNormalizedUnstructuredMesh.txx"
#include "Interpolation2D.hxx"
#include "InterpolationOptions.hxx"
#include "MCType.hxx"
#include "MEDCouplingCMesh.hxx"
#include "MEDCouplingMappedExtrudedMesh.hxx"
#include "MEDCouplingFieldDouble.hxx"
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
#include "MEDCouplingMultiFields.hxx"
#include <vector>
#include <stdio.h>
CPPUNIT_TEST_SUITE_REGISTRATION( MEDCoupling::MEDCouplingBasicsTest5 );
CPPUNIT_TEST_SUITE_REGISTRATION( MEDCoupling::MEDCouplingBasicsTestInterp );
+#include "BasicMainTest.hxx"
CPPUNIT_TEST_SUITE_REGISTRATION( MEDCoupling::MEDCouplingRemapperTest );
+#include "BasicMainTest.hxx"
#include "InterpKernelAutoPtr.hxx"
#include "BoxSplittingOptions.hxx"
+#include "MEDCouplingNatureOfField.hxx"
using namespace MEDCoupling;
using namespace INTERP_KERNEL;
#define __MEDCOUPLINGDATAARRAYTRAITS_HXX__
#include "MCType.hxx"
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
#include <Python.h>
#include "MEDFileMesh.hxx"
#include "MEDFileMeshSupport.hxx"
#include "MEDFileStructureElement.hxx"
-#include "MEDFileUtilities.hxx"
+#include "MEDFileUtilities.txx"
#include "MEDLoaderDefines.hxx"
#include <string>
#include "med.h"
#include "CellModel.hxx"
#include "MCType.hxx"
#include "MEDFileSafeCaller.txx"
-#include "MEDCouplingMemArray.hxx"
#include "MEDLoaderBase.hxx"
#include "MEDFileMesh.hxx"
#include "InterpKernelAutoPtr.hxx"
#include "MEDFileSafeCaller.txx"
#include "MEDFileUtilities.hxx"
#include "MEDLoaderBase.hxx"
+#include "MEDFileField.txx"
#include "MEDCouplingFieldTemplate.hxx"
#include "MEDCouplingFieldDouble.hxx"
#include "MEDCouplingMemArray.hxx"
#include "MCAuto.hxx"
#include "MEDCouplingTraits.hxx"
-#include "MEDFileUtilities.hxx"
+#include "MEDFileUtilities.txx"
#include "MEDLoaderDefines.hxx"
#include "MEDFileFieldGlobs.hxx"
#include "MEDFileFieldInternal.hxx"
// Author : Anthony Geay (EDF R&D)
#include "MEDFileFieldMultiTS.hxx"
+#include "MEDFileField.txx"
#include "MCType.hxx"
#include "MEDFileFieldGlobs.hxx"
#include "MEDFileEntities.hxx"
#include "MEDFileField1TS.hxx"
#include "MEDFileFieldGlobs.hxx"
#include "MEDLoaderTraits.hxx"
-#include "MEDFileUtilities.hxx"
+#include "MEDFileUtilities.txx"
#include <string>
#include "med.h"
#include <vector>
#define __MEDFILEMESH_HXX__
#include "MEDCouplingRefCountObject.hxx"
-#include "MEDFileUtilities.hxx"
+#include "MEDFileUtilities.txx"
#include "MEDCouplingMemArray.hxx"
#include "MCType.hxx"
#include "MEDCouplingMesh.hxx"
#include "MEDFileMeshLL.hxx"
#include "MEDCouplingCurveLinearMesh.hxx"
#include "MEDCouplingMesh.hxx"
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
#include "MEDFileBasis.hxx"
#include "MCType.hxx"
#include "MCAuto.hxx"
-#include "MEDCouplingMap.hxx"
+#include "MEDCouplingMap.txx"
#include "MEDCouplingPartDefinition.hxx"
#include "MEDCouplingRefCountObject.hxx"
#include "MCIdType.hxx"
#define __MEDFILEPARAMETER_HXX__
#include "MEDCouplingRefCountObject.hxx"
-#include "MEDFileUtilities.hxx"
+#include "MEDFileUtilities.txx"
#include "MEDLoaderDefines.hxx"
#include "MEDCouplingMemArray.hxx"
#include "MCAuto.hxx"
/* Structures */
/*----------------------------------------------------------*/
namespace MeshFormat {
-using KwdSct = struct
+typedef struct
{
int typ, SolSiz, NmbWrd, NmbLin, NmbTyp, TypTab[ GmfMaxTyp ];
long pos;
char fmt[ GmfMaxTyp*9 ];
-};
+} KwdSct;
-using GmfMshSct = struct
+typedef struct
{
int dim, ver, mod, typ, cod, pos;
long NexKwdPos, siz;
char FilNam[ GmfStrSiz ];
double DblBuf[1000/8];
unsigned char blk[ BufSiz + 1000 ];
-};
+} GmfMshSct;
{
for (int i=0; i<_topology->nbDomain(); i++)
{
- std::ostringstream const oss;
+ std::ostringstream oss;
oss<<name<<"_"<<i;
if (!isParallelMode() || _domain_selector->isMyDomain(i))
_mesh[i]->setName(oss.str());
#include "MEDCouplingUMesh.hxx"
#include "MEDCouplingMappedExtrudedMesh.hxx"
#include "MEDCouplingFieldDouble.hxx"
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
#include "MEDCouplingMultiFields.hxx"
#include "NormalizedGeometricTypes"
#include "DECOptions.hxx"
#include "MCType.hxx"
-#include "MEDCouplingNormalizedUnstructuredMesh.hxx"
+#include "MEDCouplingNormalizedUnstructuredMesh.txx"
#include "Interpolation2D.hxx"
#include "Interpolation3D.hxx"
#include "Interpolation2D3D.hxx"
#include "DECOptions.hxx"
#include "OverlapElementLocator.hxx"
#include "MCType.hxx"
-#include "MEDCouplingNormalizedUnstructuredMesh.hxx"
+#include "MEDCouplingNormalizedUnstructuredMesh.txx"
#include "Interpolation2D.hxx"
#include "Interpolation3D.hxx"
#include "Interpolation2D3D.hxx"
#include "MEDCouplingTraits.hxx"
#include "MCType.hxx"
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
#include "MCAuto.hxx"
#include "ParaDataArray.hxx"
#include "CommInterface.hxx"
#include "MEDCouplingRefCountObject.hxx"
#include "MPIProcessorGroup.hxx"
#include "CommInterface.hxx"
-#include "MEDCouplingMemArray.hxx"
+#include "MEDCouplingMemArray.txx"
#include "mpi.h"