1 // Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 //============================================================================
24 // File : PYCALCULATOR.idl
25 // Author : Vadim SANDLER, OPEN CASCADE S.A.S. (vadim.sandler@opencascade.com)
26 //============================================================================
28 #ifndef PYCALCULATOR_IDL
29 #define PYCALCULATOR_IDL
31 #include "SALOME_Component.idl"
32 #include "MEDCouplingCorbaServant.idl"
36 This package contains the interface for %PYCALCULATOR component
37 as an example in %SALOME application.
40 module PYCALCULATOR_ORB {
43 \brief Interface of the %PYCALCULATOR component
45 interface PYCALCULATOR_Gen : Engines::EngineComponent
50 \return a field which is a copy of \a field
52 SALOME_MED::MEDCouplingFieldDoubleCorbaInterface
53 Clone(in SALOME_MED::MEDCouplingFieldDoubleCorbaInterface field);
56 \brief Add two fields.
57 \param field1 first field
58 \param field2 second field
59 \return a field which is result of addition of \a field1 and \a field2
61 SALOME_MED::MEDCouplingFieldDoubleCorbaInterface
62 Add(in SALOME_MED::MEDCouplingFieldDoubleCorbaInterface field1,
63 in SALOME_MED::MEDCouplingFieldDoubleCorbaInterface field2);
66 \brief Multiply two fields.
67 \param field1 first field
68 \param field2 second field
69 \return a field which is result of multiplication of \a field1 and \a field2
71 SALOME_MED::MEDCouplingFieldDoubleCorbaInterface
72 Mul(in SALOME_MED::MEDCouplingFieldDoubleCorbaInterface field1,
73 in SALOME_MED::MEDCouplingFieldDoubleCorbaInterface field2);
76 \brief Add a constant to a field.
79 \return a field which is result of addition of \a val to \a field
81 SALOME_MED::MEDCouplingFieldDoubleCorbaInterface
82 AddConstant(in SALOME_MED::MEDCouplingFieldDoubleCorbaInterface field,
85 \brief Multiply a field to a constant.
88 \return a field which is result of multiplication of \a field to \a val
90 SALOME_MED::MEDCouplingFieldDoubleCorbaInterface
91 MulConstant(in SALOME_MED::MEDCouplingFieldDoubleCorbaInterface field,