Salome HOME
Copyright update 2022
[modules/med.git] / idl / MEDCalculator.idl
index 1f522349b05562784f4173f842a26bbf4ccc7c49..0c47622074895e1b74b679b431a21ce65115a80b 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2011-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2011-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // 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.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 #include "SALOME_GenericObj.idl"
 #include "MEDDataManager.idl"
 
-module MEDOP
+module MEDCALC
 {
-  
+
   /*!
    * This constants may be used for the value of an argument of a
    * function of the interface to specify that the function must
    * consider a default value.
    */
-  typedef long medopNumber;
-  const medopNumber NBCOMP_DEFAULT=-1;
+  typedef long medcalcNumber;
+  const medcalcNumber NBCOMP_DEFAULT=-1;
 
   interface MEDCalculator: SALOME::GenericObj
   {
@@ -56,7 +56,7 @@ module MEDOP
     /*! Linear transformation of the field f (factor*f+offset) */
     FieldHandler lin(in FieldHandler f, in double factor, in double offset)
       raises (SALOME::SALOME_Exception);
-    /*! Dublication of the field f */
+    /*! Duplication of the field f */
     FieldHandler dup(in FieldHandler f)
       raises (SALOME::SALOME_Exception);
 
@@ -64,7 +64,7 @@ module MEDOP
     /* FieldHandler ini(in double value) raises (SALOME::SALOME_Exception); */
 
     /*! Transformation of the field f using a custom function */
-    FieldHandler fct(in FieldHandler f, in string function, in medopNumber nbResComponents)
+    FieldHandler fct(in FieldHandler f, in string function, in medcalcNumber nbResComponents)
       raises (SALOME::SALOME_Exception);
 
   };