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
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
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
CHECK_BOOST
-echo
-echo ---------------------------------------------
-echo testing MED3
-echo ---------------------------------------------
-echo
-
-CHECK_MED3
-
echo
echo ---------------------------------------------
echo Testing OpenCascade
echo
echo ---------------------------------------------
-echo Testing Med
+echo Testing SMESH
echo ---------------------------------------------
echo
-CHECK_MED
+CHECK_SMESH
echo
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
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() ;
* 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
* 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 );
* 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;