This commit is contained in:
Louis Gombert 2024-08-28 12:04:38 +00:00
parent 310f0d5f89
commit 955a1a5422
17 changed files with 79 additions and 86 deletions

View File

@ -133,8 +133,10 @@ FIND_PACKAGE(SalomeSWIG REQUIRED)
FIND_PACKAGE(SalomeOmniORB REQUIRED) FIND_PACKAGE(SalomeOmniORB REQUIRED)
IF(DEFINED EMSCRIPTEN) IF(DEFINED EMSCRIPTEN)
LIST(TRANSFORM OMNIORB_LIBRARIES REPLACE "\.so$" "\.a") LIST(TRANSFORM OMNIORB_LIBRARIES REPLACE "\.so$" "\.a")
ELSE()
FIND_PACKAGE(SalomeOmniORBPy REQUIRED)
ENDIF() ENDIF()
FIND_PACKAGE(SalomeOmniORBPy REQUIRED)
# LibXml2 # LibXml2
FIND_PACKAGE(SalomeLibXml2 REQUIRED) FIND_PACKAGE(SalomeLibXml2 REQUIRED)
# HDF5 # HDF5

View File

@ -155,5 +155,6 @@ SET(SMESH_StdMeshers StdMeshers)
SET(SMESH_StdMeshersEngine StdMeshersEngine) SET(SMESH_StdMeshersEngine StdMeshersEngine)
SET(SMESH_StdMeshersGUI StdMeshersGUI) SET(SMESH_StdMeshersGUI StdMeshersGUI)
SET(SMESH_MeshJobManagerEngine MeshJobManagerEngine) SET(SMESH_MeshJobManagerEngine MeshJobManagerEngine)
SET(SMESH_SPADDERPluginTesterEngine SPADDERPluginTesterEngine)
SET(SMESH_SalomeIDLSMESH SalomeIDLSMESH) SET(SMESH_SalomeIDLSMESH SalomeIDLSMESH)
SET(SMESH_SalomeIDLSPADDER SalomeIDLSPADDER) SET(SMESH_SalomeIDLSPADDER SalomeIDLSPADDER)

View File

@ -92,7 +92,7 @@ SET(SMDS_SOURCES
SMDS_FaceOfNodes.cxx SMDS_FaceOfNodes.cxx
SMDS_FacePosition.cxx SMDS_FacePosition.cxx
SMDS_LinearEdge.cxx SMDS_LinearEdge.cxx
# SMDS_MemoryLimit.cxx SMDS_MemoryLimit.cxx
SMDS_Mesh.cxx SMDS_Mesh.cxx
SMDS_MeshCell.cxx SMDS_MeshCell.cxx
SMDS_MeshElement.cxx SMDS_MeshElement.cxx
@ -121,8 +121,10 @@ ADD_LIBRARY(SMDS ${SMDS_SOURCES})
TARGET_LINK_LIBRARIES(SMDS ${_link_LIBRARIES} ) TARGET_LINK_LIBRARIES(SMDS ${_link_LIBRARIES} )
INSTALL(TARGETS SMDS EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) INSTALL(TARGETS SMDS EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
# ADD_EXECUTABLE(SMDS_MemoryLimit ${SMDS_MemoryLimit_SOURCES}) IF (NOT DEFINED EMSCRIPTEN)
# TARGET_LINK_LIBRARIES(SMDS_MemoryLimit ${_link_LIBRARIES}) ADD_EXECUTABLE(SMDS_MemoryLimit ${SMDS_MemoryLimit_SOURCES})
# INSTALL(TARGETS SMDS_MemoryLimit EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_BINS}) TARGET_LINK_LIBRARIES(SMDS_MemoryLimit ${_link_LIBRARIES})
INSTALL(TARGETS SMDS_MemoryLimit EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_BINS})
ENDIF()
INSTALL(FILES ${SMDS_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) INSTALL(FILES ${SMDS_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})

View File

@ -137,7 +137,6 @@ smIdType SMDS_ElementFactory::GetMaxID()
id = myChunks[i].Get1stID() + index; id = myChunks[i].Get1stID() + index;
break; break;
} }
std::cout << "Max id is " << id << std::endl;
return id; return id;
} }
@ -172,8 +171,6 @@ smIdType SMDS_ElementFactory::GetMinID()
SMDS_MeshElement* SMDS_ElementFactory::NewElement( const smIdType id ) SMDS_MeshElement* SMDS_ElementFactory::NewElement( const smIdType id )
{ {
// std::cout << "New element" << id << std::endl;
smIdType iChunk = ( id - 1 ) / theChunkSize; smIdType iChunk = ( id - 1 ) / theChunkSize;
smIdType index = ( id - 1 ) % theChunkSize; smIdType index = ( id - 1 ) % theChunkSize;
while ((smIdType) myChunks.size() <= iChunk ) while ((smIdType) myChunks.size() <= iChunk )
@ -205,7 +202,6 @@ SMDS_MeshElement* SMDS_ElementFactory::NewElement( const smIdType id )
const SMDS_MeshElement* SMDS_ElementFactory::FindElement( const smIdType id ) const const SMDS_MeshElement* SMDS_ElementFactory::FindElement( const smIdType id ) const
{ {
// std::cout << "Find element, # chunks: " << myChunks.size() << std::endl;
if ( id > 0 ) if ( id > 0 )
{ {
smIdType iChunk = ( id - 1 ) / theChunkSize; smIdType iChunk = ( id - 1 ) / theChunkSize;
@ -494,7 +490,6 @@ void SMDS_NodeFactory::Clear()
void SMDS_NodeFactory::SetNbShapes( size_t nbShapes ) void SMDS_NodeFactory::SetNbShapes( size_t nbShapes )
{ {
std::cout << "Set Nb Shapes node" << nbShapes << std::endl;
clearVector( myShapeDim ); clearVector( myShapeDim );
myShapeDim.resize( nbShapes+1, theDefaultShapeDim ); myShapeDim.resize( nbShapes+1, theDefaultShapeDim );
} }
@ -518,8 +513,6 @@ int SMDS_NodeFactory::GetShapeDim( int shapeID ) const
void SMDS_NodeFactory::SetShapeDim( int shapeID, int dim ) void SMDS_NodeFactory::SetShapeDim( int shapeID, int dim )
{ {
// std::cout << "Set shape dim node" << shapeID << " " << dim << std::endl;
if ( shapeID >= (int)myShapeDim.size() ) if ( shapeID >= (int)myShapeDim.size() )
myShapeDim.resize( shapeID + 10, theDefaultShapeDim ); myShapeDim.resize( shapeID + 10, theDefaultShapeDim );
myShapeDim[ shapeID ] = dim; myShapeDim[ shapeID ] = dim;
@ -696,8 +689,6 @@ int SMDS_ElementChunk::GetShapeID( const SMDS_MeshElement* e ) const
void SMDS_ElementChunk::SetShapeID( const SMDS_MeshElement* e, int shapeID ) const void SMDS_ElementChunk::SetShapeID( const SMDS_MeshElement* e, int shapeID ) const
{ {
// std::cout << "Set shape ID node" << shapeID << std::endl;
//const size_t nbRanges = mySubIDRanges.Size(); //const size_t nbRanges = mySubIDRanges.Size();
SMDS_ElementChunk* me = const_cast<SMDS_ElementChunk*>( this ); SMDS_ElementChunk* me = const_cast<SMDS_ElementChunk*>( this );
@ -803,8 +794,6 @@ SMDS_PositionPtr SMDS_ElementChunk::GetPosition( const SMDS_MeshNode* n ) const
void SMDS_ElementChunk::SetPosition( const SMDS_MeshNode* n, const SMDS_PositionPtr& pos, int shapeID ) void SMDS_ElementChunk::SetPosition( const SMDS_MeshNode* n, const SMDS_PositionPtr& pos, int shapeID )
{ {
// std::cout << "Set node position" << shapeID << std::endl;
int shapeDim = pos ? pos->GetDim() : theDefaultShapeDim; int shapeDim = pos ? pos->GetDim() : theDefaultShapeDim;
if ( shapeID < 1 ) if ( shapeID < 1 )
{ {

View File

@ -25,7 +25,8 @@
// This is not done inside a function of SALOME because allocated memory is not always // This is not done inside a function of SALOME because allocated memory is not always
// returned to the system. (PAL16631) // returned to the system. (PAL16631)
// //
#if !defined WIN32 && !defined __APPLE__ && !defined __EMSCRIPTEN__ #ifndef __EMSCRIPTEN__
#if !defined WIN32 && !defined __APPLE__
#include <sys/sysinfo.h> #include <sys/sysinfo.h>
#endif #endif
@ -34,7 +35,7 @@
int main () int main ()
{ {
// To better understand what is going on here, consult bug [SALOME platform 0019911] // To better understand what is going on here, consult bug [SALOME platform 0019911]
#if !defined WIN32 && !defined __APPLE__ && !defined __EMSCRIPTEN__ #if !defined WIN32 && !defined __APPLE__
struct sysinfo si; struct sysinfo si;
int err = sysinfo( &si ); int err = sysinfo( &si );
if ( err ) if ( err )
@ -66,3 +67,4 @@ int main ()
return -1; return -1;
} }
#endif

View File

@ -2998,9 +2998,7 @@ void SMDS_Mesh::CompactMesh()
{ {
this->myCompactTime = this->myModifTime; this->myCompactTime = this->myModifTime;
std::cout << "Start has holes" << std::endl;
bool idsChange = HasNumerationHoles(); bool idsChange = HasNumerationHoles();
std::cout << "done holes" << std::endl;
if ( idsChange ) if ( idsChange )
{ {
@ -3008,7 +3006,6 @@ void SMDS_Mesh::CompactMesh()
for ( ; holder != myElemHolders.end(); ++holder ) for ( ; holder != myElemHolders.end(); ++holder )
(*holder)->beforeCompacting(); (*holder)->beforeCompacting();
} }
std::cout << "OldCellSize" << std::endl;
smIdType oldCellSize = myCellFactory->GetMaxID(); smIdType oldCellSize = myCellFactory->GetMaxID();
@ -3017,8 +3014,6 @@ void SMDS_Mesh::CompactMesh()
myNodeFactory->Compact( idNodesOldToNew ); myNodeFactory->Compact( idNodesOldToNew );
myCellFactory->Compact( idCellsNewToOld ); myCellFactory->Compact( idCellsNewToOld );
std::cout << "removed holes" << std::endl;
// make VTK IDs correspond to SMDS IDs // make VTK IDs correspond to SMDS IDs
smIdType newNodeSize = myNodeFactory->NbUsedElements(); smIdType newNodeSize = myNodeFactory->NbUsedElements();
smIdType newCellSize = myCellFactory->NbUsedElements(); smIdType newCellSize = myCellFactory->NbUsedElements();
@ -3035,8 +3030,6 @@ void SMDS_Mesh::CompactMesh()
idCellsOldToNew[ idCellsNewToOld[ iNew ]] = iNew; idCellsOldToNew[ idCellsNewToOld[ iNew ]] = iNew;
} }
} }
std::cout << "Restore elements" << std::endl;
std::set< SMDS_ElementHolder* >::iterator holder = myElemHolders.begin(); std::set< SMDS_ElementHolder* >::iterator holder = myElemHolders.begin();
for ( ; holder != myElemHolders.end(); ++holder ) for ( ; holder != myElemHolders.end(); ++holder )
@ -3093,6 +3086,5 @@ bool SMDS_Mesh::HasNumerationHoles()
void SMDS_Mesh::setNbShapes( size_t nbShapes ) void SMDS_Mesh::setNbShapes( size_t nbShapes )
{ {
std::cout << "Set nb shapes to " << nbShapes << std::endl;
myNodeFactory->SetNbShapes( nbShapes ); myNodeFactory->SetNbShapes( nbShapes );
} }

View File

@ -68,11 +68,12 @@ SET(_link_LIBRARIES
MeshDriverMED MeshDriverMED
MeshDriverUNV MeshDriverUNV
MeshDriverGMF MeshDriverGMF
# ${DriverCGNS_LIB}
${MEDCoupling_medloader} ${MEDCoupling_medloader}
# Qt5::Core
) )
IF (NOT DEFINED EMSCRIPTEN)
LIST(_link_LIBRARIES APPEND ${DriverCGNS_LIB} "Qt5::Core")
ENDIF()
# --- headers --- # --- headers ---
# header files / no moc processing # header files / no moc processing

View File

@ -757,14 +757,11 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh,
} }
} }
std::cout << "Start compact" << std::endl;
if ( aCompactMesh ) if ( aCompactMesh )
{ {
aMesh.GetMeshDS()->Modified(); aMesh.GetMeshDS()->Modified();
std::cout << "Done modified compact" << std::endl;
aMesh.GetMeshDS()->CompactMesh(); aMesh.GetMeshDS()->CompactMesh();
} }
std::cout << "Done compact" << std::endl;
return ret; return ret;
} }

View File

@ -643,20 +643,14 @@ SMESH_Mesh::AddHypothesis(const TopoDS_Shape & aSubShape,
anError->clear(); anError->clear();
SMESH_subMesh *subMesh = GetSubMesh(aSubShape); SMESH_subMesh *subMesh = GetSubMesh(aSubShape);
if ( !subMesh || !subMesh->GetId()) { if ( !subMesh || !subMesh->GetId())
// std::cout << "Could not get submesh" << std::endl;
return SMESH_Hypothesis::HYP_BAD_SUBSHAPE; return SMESH_Hypothesis::HYP_BAD_SUBSHAPE;
}
SMESH_Hypothesis *anHyp = GetHypothesis( anHypId ); SMESH_Hypothesis *anHyp = GetHypothesis( anHypId );
if ( !anHyp ) { if ( !anHyp ) {
// std::cout << "Could not get submesh" << std::endl;
throw SALOME_Exception(LOCALIZED("hypothesis does not exist")); throw SALOME_Exception(LOCALIZED("hypothesis does not exist"));
} }
// std::cout << "All ok" << std::endl;
bool isGlobalHyp = IsMainShape( aSubShape ); bool isGlobalHyp = IsMainShape( aSubShape );
// NotConformAllowed can be only global // NotConformAllowed can be only global

View File

@ -52,7 +52,10 @@
#ifndef WIN32 #ifndef WIN32
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
#endif #endif
// #include <boost/thread.hpp>
#ifndef __EMSCRIPTEN__
#include <boost/thread.hpp>
#endif
#ifdef WIN32 #ifdef WIN32
#pragma warning(disable:4251) // Warning DLL Interface ... #pragma warning(disable:4251) // Warning DLL Interface ...
@ -186,6 +189,7 @@ class SMESH_EXPORT SMESH_Mesh
SMESH_Mesh* FindMesh( int meshId ) const; SMESH_Mesh* FindMesh( int meshId ) const;
SMESHDS_Mesh * GetMeshDS() { return _meshDS; } SMESHDS_Mesh * GetMeshDS() { return _meshDS; }
const SMESHDS_Mesh * GetMeshDS() const { return _meshDS; } const SMESHDS_Mesh * GetMeshDS() const { return _meshDS; }
SMESH_Gen *GetGen() { return _gen; } SMESH_Gen *GetGen() { return _gen; }

View File

@ -75,7 +75,7 @@ SET(_link_LIBRARIES
${KERNEL_SalomeKernelHelpers} ${KERNEL_SalomeKernelHelpers}
${KERNEL_SalomeDS} ${KERNEL_SalomeDS}
${KERNEL_SalomeCatalog} ${KERNEL_SalomeCatalog}
# ${PYTHON_LIBRARIES} ${PYTHON_LIBRARIES}
${OpenCASCADE_ApplicationFramework_LIBRARIES} ${OpenCASCADE_ApplicationFramework_LIBRARIES}
${OpenCASCADE_ModelingAlgorithms_LIBRARIES} ${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
${GEOM_GEOMClient} ${GEOM_GEOMClient}
@ -129,7 +129,6 @@ SET(SMESHEngine_SOURCES
SMESH_Gen_i_1.cxx SMESH_Gen_i_1.cxx
SMESH_Gen_No_Session_i.cxx SMESH_Gen_No_Session_i.cxx
SMESH_Gen_Session_i.cxx SMESH_Gen_Session_i.cxx
# SMESH_PythonDump.cxx # Emscripten: duplicate symbol
SMESH_Mesh_i.cxx SMESH_Mesh_i.cxx
SMESH_subMesh_i.cxx SMESH_subMesh_i.cxx
SMESH_MeshEditor_i.cxx SMESH_MeshEditor_i.cxx
@ -151,6 +150,10 @@ SET(SMESHEngine_SOURCES
SMESH_ParallelMesh_i.cxx SMESH_ParallelMesh_i.cxx
) )
IF (NOT DEFINED EMSCRIPTEN)
LIST(SMESHEngine_SOURCES APPEND SMESH_PythonDump.cxx) # Emscripten: duplicate symbol
ENDIF()
# --- rules --- # --- rules ---
ADD_LIBRARY(SMESHEngine ${SMESHEngine_SOURCES}) ADD_LIBRARY(SMESHEngine ${SMESHEngine_SOURCES})

View File

@ -153,9 +153,12 @@
#include <cstdlib> #include <cstdlib>
#include <memory> #include <memory>
// #include <boost/archive/text_oarchive.hpp> #ifndef __EMSCRIPTEN__
// #include <boost/serialization/list.hpp> #include <boost/archive/text_oarchive.hpp>
// #include <boost/serialization/string.hpp> #include <boost/serialization/list.hpp>
#include <boost/serialization/string.hpp>
#endif
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
namespace fs = boost::filesystem; namespace fs = boost::filesystem;
@ -4966,7 +4969,9 @@ SALOMEDS::TMPFile* SMESH_Gen_i::Save( SALOMEDS::SComponent_ptr theComponent,
} }
// convert orderEntryLists to string // convert orderEntryLists to string
std::ostringstream ostream; std::ostringstream ostream;
// boost::archive::text_oarchive( ostream ) << orderEntryLists; #ifndef __EMSCRIPTEN__
boost::archive::text_oarchive( ostream ) << orderEntryLists;
#endif
std::string orderEntryString = ostream.str(); std::string orderEntryString = ostream.str();
// write HDF group // write HDF group
@ -6153,8 +6158,9 @@ bool SMESH_Gen_i::Load( SALOMEDS::SComponent_ptr theComponent,
aDataset->CloseOnDisk(); aDataset->CloseOnDisk();
std::list< std::list< std::string > > orderEntryLists; std::list< std::list< std::string > > orderEntryLists;
// SMESHUtils::BoostTxtArchive( dataString ) >> orderEntryLists; #ifndef __EMSCRIPTEN__
SMESHUtils::BoostTxtArchive( dataString ) >> orderEntryLists;
#endif
TListOfListOfInt anOrderIds; TListOfListOfInt anOrderIds;
for ( const std::list< std::string >& entryList : orderEntryLists ) for ( const std::list< std::string >& entryList : orderEntryLists )
{ {

View File

@ -35,8 +35,8 @@
#include "SALOMEconfig.h" #include "SALOMEconfig.h"
// Have to be included before std headers // Have to be included before std headers
// #include <Python.h> #include <Python.h>
// #include <structmember.h> #include <structmember.h>
#include <vector> #include <vector>
#include <cmath> #include <cmath>
@ -1848,23 +1848,23 @@ CORBA::Long HOMARD_Gen_i::ComputeCAO()
// C. Lancement des projections // C. Lancement des projections
MESSAGE (". Lancement des projections"); MESSAGE (". Lancement des projections");
// assert(Py_IsInitialized()); assert(Py_IsInitialized());
// PyGILState_STATE gstate; PyGILState_STATE gstate;
// gstate = PyGILState_Ensure(); gstate = PyGILState_Ensure();
// PyRun_SimpleString("from FrontTrack import FrontTrack"); PyRun_SimpleString("from FrontTrack import FrontTrack");
// // FrontTrack().track( fic_med_brut, fic_med_new, l_fr, xao_file ) // FrontTrack().track( fic_med_brut, fic_med_new, l_fr, xao_file )
// std::string pyCommand ("FrontTrack().track( \""); std::string pyCommand ("FrontTrack().track( \"");
// pyCommand += theInputMedFile + "\", \"" + theOutputMedFile + "\", ["; pyCommand += theInputMedFile + "\", \"" + theOutputMedFile + "\", [";
// for (int i = 0; i < icpt; i++) { for (int i = 0; i < icpt; i++) {
// if (i > 0) pyCommand += ", "; if (i > 0) pyCommand += ", ";
// pyCommand += "\""; pyCommand += "\"";
// pyCommand += theInputNodeFiles[i]; pyCommand += theInputNodeFiles[i];
// pyCommand += "\""; pyCommand += "\"";
// } }
// pyCommand += "], \"" + theXaoFileName + "\", False )"; pyCommand += "], \"" + theXaoFileName + "\", False )";
// MESSAGE (". Lancement des projections: pyCommand = " << pyCommand); MESSAGE (". Lancement des projections: pyCommand = " << pyCommand);
// PyRun_SimpleString(pyCommand.c_str()); PyRun_SimpleString(pyCommand.c_str());
// PyGILState_Release(gstate); PyGILState_Release(gstate);
// D. Transfert des coordonnées modifiées dans le fichier historique de HOMARD // D. Transfert des coordonnées modifiées dans le fichier historique de HOMARD
// On lance une exécution spéciale de HOMARD en attendant // On lance une exécution spéciale de HOMARD en attendant

View File

@ -34,14 +34,14 @@
#include <SMESH_Mesh.hxx> #include <SMESH_Mesh.hxx>
#include <SMESH_MesherHelper.hxx> #include <SMESH_MesherHelper.hxx>
#include <SMESH_TryCatch.hxx> #include <SMESH_TryCatch.hxx>
// #include <SMESH_BoostTxtArchive.hxx> #include <SMESH_BoostTxtArchive.hxx>
#include <BRep_Tool.hxx> #include <BRep_Tool.hxx>
#include <TopExp_Explorer.hxx> #include <TopExp_Explorer.hxx>
#include <TopTools_MapOfShape.hxx> #include <TopTools_MapOfShape.hxx>
#include <TopoDS.hxx> #include <TopoDS.hxx>
// #include <boost/archive/text_oarchive.hpp> #include <boost/archive/text_oarchive.hpp>
//============================================================================= //=============================================================================
/*! /*!
@ -280,9 +280,10 @@ void StdMeshers_RenumberHelper::DoReplaceNodes()
ostream & StdMeshers_BlockRenumber::SaveTo(ostream & save) ostream & StdMeshers_BlockRenumber::SaveTo(ostream & save)
{ {
// boost::archive::text_oarchive archive( save ); #ifndef __EMSCRIPTEN__
// archive << *this; boost::archive::text_oarchive archive( save );
archive << *this;
#endif
return save; return save;
} }

View File

@ -38,7 +38,7 @@
#include <TopTools_MapOfShape.hxx> #include <TopTools_MapOfShape.hxx>
#include <TopoDS_Vertex.hxx> #include <TopoDS_Vertex.hxx>
// #include <boost/serialization/vector.hpp> #include <boost/serialization/vector.hpp>
#include <map> #include <map>
class SMESH_Mesh; class SMESH_Mesh;
@ -114,7 +114,7 @@ public:
private: private:
// Persistence: define both input and output at once // Persistence: define both input and output at once
// friend class boost::serialization::access; friend class boost::serialization::access;
template<class Archive> void serialize( Archive & ar, const unsigned int /*version*/ ) template<class Archive> void serialize( Archive & ar, const unsigned int /*version*/ )
{ {
ar & _blockCS; ar & _blockCS;

View File

@ -548,7 +548,6 @@ namespace
bool StdMeshers_Hexa_3D::Compute(SMESH_Mesh & aMesh, bool StdMeshers_Hexa_3D::Compute(SMESH_Mesh & aMesh,
const TopoDS_Shape & aShape) const TopoDS_Shape & aShape)
{ {
std::cout << "Start compute Hexa 3D" << std::endl;
// PAL14921. Enable catching std::bad_alloc and Standard_OutOfMemory outside // PAL14921. Enable catching std::bad_alloc and Standard_OutOfMemory outside
//Unexpect aCatch(SalomeException); //Unexpect aCatch(SalomeException);
SMESHDS_Mesh * meshDS = aMesh.GetMeshDS(); SMESHDS_Mesh * meshDS = aMesh.GetMeshDS();

View File

@ -34,7 +34,7 @@ INCLUDE_DIRECTORIES(
${PROJECT_SOURCE_DIR}/src/SMESHDS ${PROJECT_SOURCE_DIR}/src/SMESHDS
${PROJECT_SOURCE_DIR}/src/SMDS ${PROJECT_SOURCE_DIR}/src/SMDS
${PROJECT_SOURCE_DIR}/src/SMESHUtils ${PROJECT_SOURCE_DIR}/src/SMESHUtils
# ${PROJECT_BINARY_DIR}/src/Tools/padder/meshjob/idl ${PROJECT_BINARY_DIR}/src/Tools/padder/meshjob/idl
${PROJECT_BINARY_DIR}/idl ${PROJECT_BINARY_DIR}/idl
) )
@ -83,10 +83,10 @@ SET(MeshJobManagerEngine_SOURCES
MeshJobManager_i.cxx MeshJobManager_i.cxx
) )
# SET(SPADDERPluginTesterEngine_SOURCES SET(SPADDERPluginTesterEngine_SOURCES
# SPADDERPluginTester_i.hxx SPADDERPluginTester_i.hxx
# SPADDERPluginTester_i.cxx SPADDERPluginTester_i.cxx
# ) )
# - swiggy pop # - swiggy pop
if (NOT DEFINED EMSCRIPTEN) if (NOT DEFINED EMSCRIPTEN)
@ -112,13 +112,13 @@ SALOME_INSTALL_SCRIPTS("${_swig_SCRIPTS}" ${SALOME_INSTALL_BINS} EXTRA_DPYS "${
endif() endif()
# --- rules --- # --- rules ---
# ADD_LIBRARY(MeshJobManagerEngine ${MeshJobManagerEngine_SOURCES}) ADD_LIBRARY(MeshJobManagerEngine ${MeshJobManagerEngine_SOURCES})
# TARGET_LINK_LIBRARIES(MeshJobManagerEngine ${MeshJobManagerEngine_LIBRARIES} ) TARGET_LINK_LIBRARIES(MeshJobManagerEngine ${MeshJobManagerEngine_LIBRARIES} )
# INSTALL(TARGETS MeshJobManagerEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) INSTALL(TARGETS MeshJobManagerEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
# ADD_LIBRARY(SPADDERPluginTesterEngine ${SPADDERPluginTesterEngine_SOURCES}) ADD_LIBRARY(SPADDERPluginTesterEngine ${SPADDERPluginTesterEngine_SOURCES})
# TARGET_LINK_LIBRARIES(SPADDERPluginTesterEngine ${SPADDERPluginTesterEngine_LIBRARIES} ) TARGET_LINK_LIBRARIES(SPADDERPluginTesterEngine ${SPADDERPluginTesterEngine_LIBRARIES} )
# INSTALL(TARGETS SPADDERPluginTesterEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) INSTALL(TARGETS SPADDERPluginTesterEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
# INSTALL(FILES ${MeshJobManagerEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) INSTALL(FILES ${MeshJobManagerEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})