mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-20 12:57:55 +05:00
Remove dependency of SMDS on CASCADE
This commit is contained in:
parent
9e5c18b4c8
commit
646a140e47
@ -122,21 +122,16 @@ dist_libSMDS_la_SOURCES = \
|
||||
# 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
|
||||
|
@ -38,6 +38,8 @@
|
||||
#include "SMDS_UnstructuredGrid.hxx"
|
||||
#include <vtkCellType.h>
|
||||
|
||||
#include <climits>
|
||||
|
||||
using namespace std;
|
||||
|
||||
//=======================================================================
|
||||
@ -173,7 +175,7 @@ void SMDS_MeshElementIDFactory::ReleaseID(int ID, int vtkId)
|
||||
|
||||
void SMDS_MeshElementIDFactory::updateMinMax() const
|
||||
{
|
||||
myMin = IntegerLast();
|
||||
myMin = INT_MAX;
|
||||
myMax = 0;
|
||||
for (int i = 0; i < myMesh->myCells.size(); i++)
|
||||
{
|
||||
@ -186,7 +188,7 @@ void SMDS_MeshElementIDFactory::updateMinMax() const
|
||||
myMin = id;
|
||||
}
|
||||
}
|
||||
if (myMin == IntegerLast())
|
||||
if (myMin == INT_MAX)
|
||||
myMin = 0;
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include "SMDS_MeshElement.hxx"
|
||||
#include "SMDS_Position.hxx"
|
||||
#include "ObjectPool.hxx"
|
||||
#include <NCollection_List.hxx>
|
||||
|
||||
class SMDS_EXPORT SMDS_MeshNode:public SMDS_MeshElement
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user