-This is the version 3.2.0a2 of PYCALCULATOR
+This is the version 3.2.0b1 of PYCALCULATOR
Compatible with :
- - KERNEL 3.2.0a2
- - SALOMEGUI 3.2.0a2
+ - KERNEL 3.2.0b1
+ - SALOMEGUI 3.2.0b1
+# Copyright (C) 2005 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/
+#
# -* Makefile *-
#
# Author : Patrick GOLDBRONN (CEA)
SUBDIRS = idl src
RESOURCES_FILES = \
-PYCALCULATORCatalog.xml
+PYCALCULATORCatalog.xml \
+SalomeApp.xml \
+PYCALCULATOR.png
BIN_SCRIPT= \
VERSION
Makefile: $(top_builddir)/config.status $(srcdir)/Makefile.in
cd $(top_builddir) ; ./config.status
-$(top_builddir)/config.status: $(top_srcdir)/configure
+LOCAL_MAKE = make_commence make_omniorb
+
+KERNEL_MAKE = make_module make_conclude depend SALOMEconfig.h F77config.h sstream envScript
+
+$(top_builddir)/config.status: $(top_srcdir)/configure \
+ $(LOCAL_MAKE:%=$(top_srcdir)/adm_local/unix/%.in) \
+ $(KERNEL_MAKE:%=$(KERNEL_ROOT_DIR)/salome_adm/unix/%.in)
cd $(top_builddir) ; ./config.status --recheck
# VPATH contain $(srcdir), so make configure is good in top_srcdir and we must add target configure otherwise :-)
cd $(top_srcdir) && ./build_configure
-ACLOCAL_SRC = \
+ACLOCAL_KERNEL = \
ac_cxx_bool.m4 check_corba.m4 \
ac_cxx_depend_flag.m4 enable_pthreads.m4 \
ac_cxx_mutable.m4 check_mico.m4 \
check_pthreads.m4 ac_cc_warnings.m4 \
python.m4
-$(top_srcdir)/aclocal.m4: $(ACLOCAL_SRC:%=@KERNEL_ROOT_DIR@/salome_adm/unix/config_files/%)
- cd $(top_srcdir) ; aclocal --acdir=adm_local/unix/config_files -I @KERNEL_ROOT_DIR@/salome_adm/unix/config_files
+$(top_srcdir)/aclocal.m4: $(ACLOCAL_KERNEL:%=@KERNEL_ROOT_DIR@/salome_adm/unix/config_files/%)
+ cd $(top_srcdir) ; aclocal -I adm_local/unix/config_files -I @KERNEL_ROOT_DIR@/salome_adm/unix/config_files
-THIS IS SALOME - PYCALCULATOR VERSION: 3.2.0a2
+THIS IS SALOME - PYCALCULATOR VERSION: 3.2.0b1
echo " ./salome_adm/unix/sstream \\" >> configure.in_tmp1
echo " ./salome_adm/unix/depend \\" >> configure.in_tmp1
-echo " ./adm_local/unix/make_omniorb \\" >> configure.in_tmp1
+echo " ./adm_local/unix/make_omniorb:${ABS_CONF_DIR}/adm_local/unix/make_omniorb.in \\" >> configure.in_tmp1
echo " ./salome_adm/unix/envScript \\" >> configure.in_tmp1
echo " ./salome_adm/unix/make_module \\" >> configure.in_tmp1
# salome_adm, par le make_conclude (resp. make_commence) du module,
# c'est à dire le make_conclude (resp. make_commence) du répertoire
# adm_local
-echo " ./adm_local/unix/make_commence \\" >> configure.in_tmp1
+echo " ./adm_local/unix/make_commence:${ABS_CONF_DIR}/adm_local/unix/make_commence.in \\" >> configure.in_tmp1
echo " ./salome_adm/unix/make_conclude \\" >> configure.in_tmp1
\rm -f configure.in_tmp2 configure.in_tmp3
+# Copyright (C) 2005 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/
+#
# -* Makefile *-
#
+# Copyright (C) 2005 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/
+#
# -* Makefile *-
#
#---------------------------------------------------------------------------
# General configuration options
#---------------------------------------------------------------------------
-PROJECT_NAME = "SALOME - PYCALCULATOR - v.3.2.0a2"
+PROJECT_NAME = "SALOME - PYCALCULATOR - v.3.2.0b1"
PROJECT_NUMBER = id#1.0
OUTPUT_DIRECTORY = ../
OUTPUT_LANGUAGE = English
-foldersTree = gFld("<b>SALOME v.3.2.0a2 </b>", "", "")
+foldersTree = gFld("<b>SALOME v.3.2.0b1 </b>", "", "")
insDoc(foldersTree, gLnk("Main Page", "", "main.html"))
aux1 = insFld(foldersTree, gFld("TUI Reference Guide", ""))
+# Copyright (C) 2005 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/
+#
#
# generate dependencies for idl file :
#
+// Copyright (C) 2005 CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/
+//
//=============================================================================
// File : Calculator.idl
// Created : jeu nov 08 12:08:17 CEST 2001
<!-- XML component catalog -->
<begin-catalog>
-
-<!-- Path prefix information -->
-
-<path-prefix-list>
-</path-prefix-list>
-
-<!-- Component list -->
-<component-list>
- <component>
- <!-- Component identification -->
- <component-name>PYCALCULATOR</component-name>
- <component-username>PyCalculator</component-username>
- <component-type>SOLVER</component-type>
- <component-author>LD</component-author>
- <component-version>3.2.0a2</component-version>
- <component-comment>Test component (Arithmetic operations with MED_Field)</component-comment>
- <component-multistudy>0</component-multistudy>
- <constraint>hostname = localhost</constraint>
- <component-impltype>0</component-impltype>
-
- <component-interface-list>
- <component-interface-name>PYCALCULATOR</component-interface-name>
- <component-interface-comment>No comment</component-interface-comment>
-
- <component-service-list>
- <component-service>
- <!-- service-identification -->
- <service-name>Mul</service-name>
- <service-author>LD</service-author>
- <service-version>1.0</service-version>
- <service-comment>Multiplication of 2 fields of double</service-comment>
- <service-by-default>1</service-by-default>
- <!-- service-connexion -->
- <inParameter-list>
- <inParameter>
- <inParameter-type>FIELDDOUBLE</inParameter-type>
- <inParameter-name>field1</inParameter-name>
- <inParameter-comment>initial field of double</inParameter-comment>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- <inParameter-comment>multiplicator</inParameter-comment>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>FIELDDOUBLE</outParameter-type>
- <outParameter-name>field2</outParameter-name>
- <outParameter-comment>result</outParameter-comment>
- </outParameter>
- </outParameter-list>
- </component-service>
- <component-service>
- <!-- service-identification -->
- <service-name>Add</service-name>
- <service-author>LD</service-author>
- <service-version>1.0</service-version>
- <service-comment>Addition of 2 fields of double</service-comment>
- <service-by-default>1</service-by-default>
- <!-- service-connexion -->
- <inParameter-list>
- <inParameter>
- <inParameter-type>FIELDDOUBLE</inParameter-type>
- <inParameter-name>field1</inParameter-name>
- <inParameter-comment>first field of double</inParameter-comment>
- </inParameter>
- <inParameter>
- <inParameter-type>FIELDDOUBLE</inParameter-type>
- <inParameter-name>field2</inParameter-name>
- <inParameter-comment>second field of double</inParameter-comment>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>FIELDDOUBLE</outParameter-type>
- <outParameter-name>field3</outParameter-name>
- <outParameter-comment>result</outParameter-comment>
- </outParameter>
- </outParameter-list>
- </component-service>
- <component-service>
- <!-- service-identification -->
- <service-name>Constant</service-name>
- <service-author>LD</service-author>
- <service-version>1.0</service-version>
- <service-comment>Build a constant field of doubles</service-comment>
- <service-by-default>1</service-by-default>
- <!-- service-connexion -->
- <inParameter-list>
- <inParameter>
- <inParameter-type>FIELDDOUBLE</inParameter-type>
- <inParameter-name>field1</inParameter-name>
- <inParameter-comment>allows to build the support</inParameter-comment>
- </inParameter>
- <inParameter>
- <inParameter-type>double</inParameter-type>
- <inParameter-name>x1</inParameter-name>
- <inParameter-comment>the constant</inParameter-comment>
- </inParameter>
- </inParameter-list>
- <outParameter-list>
- <outParameter>
- <outParameter-type>FIELDDOUBLE</outParameter-type>
- <outParameter-name>field2</outParameter-name>
- <outParameter-comment>result based on first field support</outParameter-comment>
- </outParameter>
- </outParameter-list>
- </component-service>
- <component-service>
- <!-- service-identification -->
- <service-name>writeMEDfile</service-name>
- <service-author>LD</service-author>
- <service-version>1.0</service-version>
- <service-comment>write a field in a Med file</service-comment>
- <service-by-default>1</service-by-default>
- <!-- service-connexion -->
- <inParameter-list>
- <inParameter>
- <inParameter-type>FIELDDOUBLE</inParameter-type>
- <inParameter-name>field1</inParameter-name>
- <inParameter-comment>transient Med field</inParameter-comment>
- </inParameter>
- <inParameter>
- <inParameter-type>string</inParameter-type>
- <inParameter-name>filename</inParameter-name>
- <inParameter-comment>Med filename</inParameter-comment>
- </inParameter>
- </inParameter-list>
- </component-service>
- </component-service-list>
- </component-interface-list>
-
+ <!-- Path prefix information -->
+ <path-prefix-list></path-prefix-list>
+ <!-- Component list -->
+ <component-list>
+ <component>
+ <!-- Component identification -->
+ <component-name>PYCALCULATOR</component-name>
+ <component-username>PyCalculator</component-username>
+ <component-type>OTHER</component-type>
+ <component-author>LD</component-author>
+ <component-version>3.2.0b1</component-version>
+ <component-comment>Test component (Arithmetic operations with MED_Field)</component-comment>
+ <component-multistudy>0</component-multistudy>
+ <component-icone>PYCALCULATOR.png</component-icone>
+ <constraint>hostname = localhost</constraint>
+ <component-impltype>0</component-impltype>
+ <!-- Component interfaces -->
+ <component-interface-list>
+ <component-interface-name>PYCALCULATOR_Gen</component-interface-name>
+ <component-interface-comment>No comment</component-interface-comment>
+ <!-- Service list -->
+ <component-service-list>
+ <component-service>
+ <!-- service-identification -->
+ <service-name>Add</service-name>
+ <service-author>LD</service-author>
+ <service-version>1.0</service-version>
+ <service-comment>Addition of 2 fields of double</service-comment>
+ <service-by-default>1</service-by-default>
+ <!-- service-connexion -->
+ <inParameter-list>
+ <inParameter>
+ <inParameter-name>field1</inParameter-name>
+ <inParameter-type>FIELDDOUBLE</inParameter-type>
+ <inParameter-comment>first field of double</inParameter-comment>
+ </inParameter>
+ <inParameter>
+ <inParameter-name>field2</inParameter-name>
+ <inParameter-type>FIELDDOUBLE</inParameter-type>
+ <inParameter-comment>second field of double</inParameter-comment>
+ </inParameter>
+ </inParameter-list>
+ <outParameter-list>
+ <outParameter>
+ <outParameter-name>result</outParameter-name>
+ <outParameter-type>FIELDDOUBLE</outParameter-type>
+ <outParameter-comment>result</outParameter-comment>
+ </outParameter>
+ </outParameter-list>
+ <DataStream-list></DataStream-list>
+ </component-service>
+ <component-service>
+ <!-- service-identification -->
+ <service-name>Mul</service-name>
+ <service-author>LD</service-author>
+ <service-version>1.0</service-version>
+ <service-comment>Multiplication of 2 fields of double</service-comment>
+ <service-by-default>0</service-by-default>
+ <!-- service-connexion -->
+ <inParameter-list>
+ <inParameter>
+ <inParameter-name>field1</inParameter-name>
+ <inParameter-type>FIELDDOUBLE</inParameter-type>
+ <inParameter-comment>initial field of double</inParameter-comment>
+ </inParameter>
+ <inParameter>
+ <inParameter-name>x1</inParameter-name>
+ <inParameter-type>double</inParameter-type>
+ <inParameter-comment>multiplicator</inParameter-comment>
+ </inParameter>
+ </inParameter-list>
+ <outParameter-list>
+ <outParameter>
+ <outParameter-name>result</outParameter-name>
+ <outParameter-type>FIELDDOUBLE</outParameter-type>
+ <outParameter-comment>result</outParameter-comment>
+ </outParameter>
+ </outParameter-list>
+ <DataStream-list></DataStream-list>
+ </component-service>
+ <component-service>
+ <!-- service-identification -->
+ <service-name>Constant</service-name>
+ <service-author>LD</service-author>
+ <service-version>1.0</service-version>
+ <service-comment>Build a constant field of doubles</service-comment>
+ <service-by-default>0</service-by-default>
+ <!-- service-connexion -->
+ <inParameter-list>
+ <inParameter>
+ <inParameter-name>field1</inParameter-name>
+ <inParameter-type>FIELDDOUBLE</inParameter-type>
+ <inParameter-comment>allows to build the support</inParameter-comment>
+ </inParameter>
+ <inParameter>
+ <inParameter-name>x1</inParameter-name>
+ <inParameter-type>double</inParameter-type>
+ <inParameter-comment>the constant</inParameter-comment>
+ </inParameter>
+ </inParameter-list>
+ <outParameter-list>
+ <outParameter>
+ <outParameter-name>result</outParameter-name>
+ <outParameter-type>FIELDDOUBLE</outParameter-type>
+ <outParameter-comment>result based on first field support</outParameter-comment>
+ </outParameter>
+ </outParameter-list>
+ <DataStream-list></DataStream-list>
+ </component-service>
+ <component-service>
+ <!-- service-identification -->
+ <service-name>writeMEDfile</service-name>
+ <service-author>LD</service-author>
+ <service-version>1.0</service-version>
+ <service-comment>write a field in a Med file</service-comment>
+ <service-by-default>0</service-by-default>
+ <!-- service-connexion -->
+ <inParameter-list>
+ <inParameter>
+ <inParameter-name>field1</inParameter-name>
+ <inParameter-type>FIELDDOUBLE</inParameter-type>
+ <inParameter-comment>transient Med field</inParameter-comment>
+ </inParameter>
+ <inParameter>
+ <inParameter-name>filename</inParameter-name>
+ <inParameter-type>string</inParameter-type>
+ <inParameter-comment>Med filename</inParameter-comment>
+ </inParameter>
+ </inParameter-list>
+ <outParameter-list></outParameter-list>
+ <DataStream-list></DataStream-list>
+ </component-service>
+ </component-service-list>
+ </component-interface-list>
</component>
-</component-list>
+ </component-list>
</begin-catalog>
--- /dev/null
+<document>
+ <section name="PYCALCULATOR">
+ <!-- Major module parameters -->
+ <parameter name="name" value="PyCalculator"/>
+ <parameter name="icon" value="PYCALCULATOR.png"/>
+ </section>
+ <section name="resources">
+ <!-- Module resources -->
+ <parameter name="PYCALCULATOR" value="${PYCALCULATOR_ROOT_DIR}/share/salome/resources"/>
+ </section>
+</document>
+# Copyright (C) 2005 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/
+#
import PYCALCULATOR_ORB__POA
import SALOME_ComponentPy
+# Copyright (C) 2005 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/
+#
import salome
import SALOME
import SALOME_MED