# additionnal information to compil and link file
libSMDS_la_CPPFLAGS = \
$(KERNEL_CXXFLAGS) \
- $(CAS_CPPFLAGS) \
$(VTK_INCLUDES) \
$(BOOST_CPPFLAGS)
libSMDS_la_LDFLAGS = \
$(VTK_LIBS) \
- $(KERNEL_LDFLAGS) -lSALOMELocalTrace \
- $(CAS_KERNEL)
+ $(KERNEL_LDFLAGS) -lSALOMELocalTrace
# Executables targets
bin_PROGRAMS = SMDS_MemoryLimit
dist_SMDS_MemoryLimit_SOURCES = \
SMDS_MemoryLimit.cxx
-SMDS_MemoryLimit_LDADD = \
- $(KERNEL_LDFLAGS) -lSALOMELocalTrace
-
#libSMDS_la_LDFLAGS += -L/data/eap/S5_MV/INSTALL/SMESH/lib/salome -lPerfmeter
#include "SMDS_UnstructuredGrid.hxx"
#include <vtkCellType.h>
+#include <climits>
+
using namespace std;
//=======================================================================
void SMDS_MeshElementIDFactory::updateMinMax() const
{
- myMin = IntegerLast();
+ myMin = INT_MAX;
myMax = 0;
for (int i = 0; i < myMesh->myCells.size(); i++)
{
myMin = id;
}
}
- if (myMin == IntegerLast())
+ if (myMin == INT_MAX)
myMin = 0;
}
#include "SMDS_MeshElement.hxx"
#include "SMDS_Position.hxx"
#include "ObjectPool.hxx"
-#include <NCollection_List.hxx>
class SMDS_EXPORT SMDS_MeshNode:public SMDS_MeshElement
{