Salome HOME
Copyright update 2021
[modules/smesh.git] / src / Tools / padder / meshjob / idl / MESHJOB.idl
index e37a3678181f2eca226f437f25e281a45069e97b..0cf7cfef4e8dbc30c450c4b145409584da92c2b4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2016  EDF R&D
+// Copyright (C) 2011-2021  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
@@ -33,7 +33,7 @@ module MESHJOB
 {
 
   //
-  // Structure to transmit the parameters requiered for the job to run
+  // Structure to transmit the parameters required for the job to run
   // the executable program on the target resource. See configure
   // service.
   //
@@ -72,6 +72,16 @@ module MESHJOB
   // This defines a set of parameters for the job initialization
   typedef sequence<MESHJOB::MeshJobFile> MeshJobFileList;
 
+  // This defines a single parameter for the job initialization
+  struct MeshJobParameter
+  {
+    string name;
+    string value;
+  };
+  
+  // This defines a set of parameters for the job initialization
+  typedef sequence<MESHJOB::MeshJobParameter> MeshJobParameterList;
+
   // This defines the result data of a job 
   struct MeshJobResults
   {
@@ -97,7 +107,9 @@ module MESHJOB
       raises (SALOME::SALOME_Exception);
 
     /*! Initialize a smesh computation job and return the job identifier */
-    long    initialize(in MESHJOB::MeshJobFileList meshJobFileList, in string configId)
+    long    initialize(in MESHJOB::MeshJobFileList meshJobFileList,
+                       in MESHJOB::MeshJobParameterList MeshJobParameterList,
+                       in string configId)
       raises (SALOME::SALOME_Exception);
 
     /*! Submit the job execution and return true if submission is OK */