#ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = HEXA_NS::on_debug ();
#else
static int MYDEBUG = 0;
#endif
#define __SMESH_HexaFromSkin_3D_HXX__
#include "SMESH_StdMeshers.hxx"
-#include "SMESH_3D_Algo.hxx"
+#include "SMESH_Algo.hxx"
// from HexaBlocks
#include "hexa_base.hxx"
#include "SMESH_Gen.hxx"
#include "SMESH_Mesh.hxx"
+#include "SMESH_subMesh.hxx"
#include "SMESH_MesherHelper.hxx"
#include "HEXABLOCKPlugin_mesh.hxx"
default: return( Compute3D(theMesh) );
};
}
+ return false;
}
//=============================================================================
#ifndef _HEXABLOCKPlugin_HEXABLOCK_HXX_
#define _HEXABLOCKPlugin_HEXABLOCK_HXX_
-#include "SMESH_3D_Algo.hxx"
+#include "SMESH_Algo.hxx"
#include "SMESH_Mesh.hxx"
class SMESH_Mesh;
#include "HEXABLOCKPlugin_HEXABLOCK.hxx"
#include "utilities.h"
+#include "hexa_base.hxx"
#ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = HEXA_NS::on_debug ();
#else
static int MYDEBUG = 0;
#endif
#include <utilities.h>
#ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = HEXA_NS::on_debug ();
#else
static int MYDEBUG = 0;
#endif
#include "HEXABLOCKPlugin_HEXABLOCK_i.hxx"
#include "HEXABLOCKPlugin_Hypothesis_i.hxx"
+#include "hexa_base.hxx"
#ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = HEXA_NS::on_debug ();
#else
static int MYDEBUG = 0;
#endif
#endif
#ifdef _DEBUG_
-static int MYDEBUG = 1;
+static int MYDEBUG = HEXA_NS::on_debug ();
#else
static int MYDEBUG = 0;
#endif
if(MYDEBUG) MESSAGE("INITIAL QUAD FOUND!" );
for ( int j=0 ; j < 4 ; ++j ){
e = q->getEdge(j);
- if ( (e_0 == e->getVertex(0)) and (e_1 == e->getVertex(1)) or
- (e_0 == e->getVertex(1)) and (e_1 == e->getVertex(0)) ){
+ if ( ((e_0 == e->getVertex(0)) && (e_1 == e->getVertex(1)))
+ || ((e_0 == e->getVertex(1)) && (e_1 == e->getVertex(0))) ){
break;
}
}