Salome HOME
CoTech decision: move MEDWrapper from MED to SMESH BR_new_bop4
authoreap <eap@opencascade.com>
Wed, 26 Jun 2013 13:10:04 +0000 (13:10 +0000)
committereap <eap@opencascade.com>
Wed, 26 Jun 2013 13:10:04 +0000 (13:10 +0000)
Makefile.am
README
build_configure
configure.ac
src/Sierpinsky/Makefile.am
src/Sierpinsky/SIERPINSKY_Gen_i.cxx
src/SierpinskyGUI/Makefile.am

index 7184687e621aa1f963c5694eb07db2a1ed3bbeb3..882c207e7eba64c933f2f10f6ab4520903da3c00 100644 (file)
@@ -28,7 +28,7 @@ include $(top_srcdir)/adm_local/unix/make_common_starter.am
 ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
                   -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
                   -I ${GUI_ROOT_DIR}/adm_local/unix/config_files \
-                  -I ${MED_ROOT_DIR}/adm_local/unix/config_files \
+                  -I ${SMESH_ROOT_DIR}/adm_local/unix/config_files \
                   -I ${VISU_ROOT_DIR}/adm_local/unix/config_files \
                   -I ${RANDOMIZER_ROOT_DIR}/adm_local/unix/config_files
 
diff --git a/README b/README
index 64c0a2d33674b11d4dfb8adb139813059ccee72a..e0654a6936ce01e08e6666e9b9826ebd941fe125 100755 (executable)
--- a/README
+++ b/README
@@ -81,7 +81,7 @@ To launch SALOME application the following steps should be performed:
 
 4.4. launch SALOME:
 
-   ${KERNEL_ROOT_DIR}/bin/salome/runSalome --modules=MED,VISU,RANDOMIZER,SIERPINSKY
+   ${KERNEL_ROOT_DIR}/bin/salome/runSalome --modules=SMESH,VISU,RANDOMIZER,SIERPINSKY
    
 =======================================================
 5. Functionality.
index 36c2605143a44048b88fd1d714e53c42ac8cb6a0..897ae6c9d3bc902ec782e42510f9d4b2bd5cdc14 100755 (executable)
@@ -44,10 +44,10 @@ if test ! -d "${GUI_ROOT_DIR}"; then
 fi
 
 ########################################################################
-# Test if the MED_ROOT_DIR is set correctly
+# Test if the SMESH_ROOT_DIR is set correctly
 
-if test ! -d "${MED_ROOT_DIR}"; then
-    echo "failed : MED_ROOT_DIR variable is not correct !"
+if test ! -d "${SMESH_ROOT_DIR}"; then
+    echo "failed : SMESH_ROOT_DIR variable is not correct !"
     exit
 fi
 
@@ -77,7 +77,7 @@ if test -d "${VISU_ROOT_DIR}"; then
     aclocal -I adm_local/unix/config_files \
            -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
            -I ${GUI_ROOT_DIR}/adm_local/unix/config_files \
-           -I ${MED_ROOT_DIR}/adm_local/unix/config_files \
+           -I ${SMESH_ROOT_DIR}/adm_local/unix/config_files \
            -I ${VISU_ROOT_DIR}/adm_local/unix/config_files \
            -I ${RANDOMIZER_ROOT_DIR}/adm_local/unix/config_files || exit 1
 else
@@ -85,7 +85,7 @@ else
     aclocal -I adm_local/unix/config_files \
            -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
            -I ${GUI_ROOT_DIR}/adm_local/unix/config_files \
-           -I ${MED_ROOT_DIR}/adm_local/unix/config_files \
+           -I ${SMESH_ROOT_DIR}/adm_local/unix/config_files \
            -I ${RANDOMIZER_ROOT_DIR}/adm_local/unix/config_files || exit 1
 fi
 
index 88be1a7607a71ac8c6527e7beff6698781c83c12..a76def3d2ed3ddc9c70ca4902787a058c3aaf04f 100644 (file)
@@ -257,14 +257,6 @@ echo
 
 CHECK_BOOST
 
-echo
-echo ---------------------------------------------
-echo testing MED3
-echo ---------------------------------------------
-echo
-
-CHECK_MED3
-
 echo
 echo ---------------------------------------------
 echo Testing OpenCascade
@@ -319,11 +311,11 @@ CHECK_KERNEL
 
 echo
 echo ---------------------------------------------
-echo Testing Med
+echo Testing SMESH
 echo ---------------------------------------------
 echo
 
-CHECK_MED
+CHECK_SMESH
 
 echo
 echo ---------------------------------------------
@@ -351,7 +343,7 @@ echo
 
 echo Configure
 variables="cc_ok boost_ok lex_yacc_ok python_ok swig_ok threads_ok
-OpenGL_ok qt_ok vtk_ok hdf5_ok med3_ok omniORB_ok occ_ok doxygen_ok graphviz_ok gd_ok Kernel_ok Med_ok Visu_ok Randomizer_ok"
+OpenGL_ok qt_ok vtk_ok hdf5_ok omniORB_ok occ_ok doxygen_ok graphviz_ok gd_ok Kernel_ok SMesh_ok Visu_ok Randomizer_ok"
 
 for var in $variables
 do
index dc8aa566aba41896963780e328651ed232cc476c..158cac41db4875ee8617edf9dbbd4ce9cd1ff35e 100644 (file)
@@ -39,7 +39,7 @@ libSIERPINSKYEngine_la_CPPFLAGS = \
        $(CORBA_CXXFLAGS) \
        $(CORBA_INCLUDES) \
        $(KERNEL_CXXFLAGS) \
-       $(MED_CXXFLAGS) \
+       $(SMESH_CXXFLAGS) \
        $(HDF5_INCLUDES) \
        $(BOOST_CPPFLAGS) \
        -I$(top_builddir)/idl \
@@ -57,6 +57,5 @@ libSIERPINSKYEngine_la_LDFLAGS  = \
        -lSALOMELocalTrace \
        -lgd \
        -lSalomeIDLKernel \
-       $(MED_LDFLAGS) \
-       -lSalomeIDLMED \
+       $(SMESH_LDFLAGS) \
        -lMEDWrapper
index 81b0277314b9ca4756f6f7c53dab8bf5fc0acda5..41ea3cd3b26b0ddc66980224b33c0efc1fa369e8 100644 (file)
@@ -37,10 +37,10 @@ using namespace MED;
 extern "C"
 {
   PortableServer::ObjectId * SIERPINSKYEngine_factory( CORBA::ORB_ptr            orb,
-                                                      PortableServer::POA_ptr   poa, 
-                                                      PortableServer::ObjectId* contId,
-                                                      const char*               instanceName,
-                                                      const char*               interfaceName )
+                                                       PortableServer::POA_ptr   poa, 
+                                                       PortableServer::ObjectId* contId,
+                                                       const char*               instanceName,
+                                                       const char*               interfaceName )
 {
   SIERPINSKY_Gen_i* anEngine = new SIERPINSKY_Gen_i( orb, poa, contId, instanceName, interfaceName );
   return anEngine->getId() ;
@@ -58,10 +58,10 @@ SIERPINSKY_Gen_i::SIERPINSKY_Gen_i()
  * Constructor
  */
 SIERPINSKY_Gen_i::SIERPINSKY_Gen_i( CORBA::ORB_ptr            orb,
-                                   PortableServer::POA_ptr   poa,
-                                   PortableServer::ObjectId* contId, 
-                                   const char*               instanceName, 
-                                   const char*               interfaceName ) 
+                                    PortableServer::POA_ptr   poa,
+                                    PortableServer::ObjectId* contId, 
+                                    const char*               instanceName, 
+                                    const char*               interfaceName ) 
 : Engines_Component_i( orb, poa, contId, instanceName, interfaceName ) 
 {
   // activate servant
@@ -83,8 +83,8 @@ SIERPINSKY_Gen_i::~SIERPINSKY_Gen_i()
  * Initializes engine with three reference points
  */
 void SIERPINSKY_Gen_i::Init( CORBA::Double theX1, CORBA::Double theY1, 
-                            CORBA::Double theX2, CORBA::Double theY2, 
-                            CORBA::Double theX3, CORBA::Double theY3 )
+                             CORBA::Double theX2, CORBA::Double theY2, 
+                             CORBA::Double theX3, CORBA::Double theY3 )
 {
   myRefPoints[0] = MyPoint( theX1, theY1 );
   myRefPoints[1] = MyPoint( theX2, theY2 );
@@ -107,8 +107,8 @@ void SIERPINSKY_Gen_i::Reset()
  * Generates next iteration point
  */
 void SIERPINSKY_Gen_i::NextPoint( CORBA::Double  theX,     CORBA::Double  theY, 
-                                 CORBA::Long    theIter, 
-                                 CORBA::Double& theNextX, CORBA::Double& theNextY )
+                                  CORBA::Long    theIter, 
+                                  CORBA::Double& theNextX, CORBA::Double& theNextY )
 {
   double x = theIter < 1 || theIter > 3 ? theX : ( theX + myRefPoints[ theIter-1 ].myX ) / 2;
   double y = theIter < 1 || theIter > 3 ? theY : ( theY + myRefPoints[ theIter-1 ].myY ) / 2;
index ee56ebb637b5f142dbb04d1d7aac769cb39e1e7b..0758b9b220e76773c233d0979c1ea788976d348c 100644 (file)
@@ -55,7 +55,7 @@ libSIERPINSKY_la_CPPFLAGS = \
        $(CAS_CPPFLAGS) \
        $(VTK_INCLUDES) \
        $(KERNEL_CXXFLAGS) \
-       $(MED_CXXFLAGS) \
+       $(SMESH_CXXFLAGS) \
        $(RANDOMIZER_CXXFLAGS) \
        $(GUI_CXXFLAGS) \
        $(BOOST_CPPFLAGS) \