Salome HOME
Merge branch 'V7_dev'
[modules/med.git] / idl / ParaMEDMEMComponent.idl
1 // Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 // File: ParaMEDMEMComponent.idl
21 // Project: SALOME
22
23 /*!
24   This file contains the IDL definitions of the ParaMEDMEM component in %SALOME application.
25 */
26
27 #ifndef _SALOME_PARAMEDMEMCOMPO_IDL_
28 #define _SALOME_PARAMEDMEMCOMPO_IDL_
29
30 #include "SALOME_Component.idl"
31 #include "ParaMEDCouplingCorbaServant.idl"
32
33 module SALOME_MED
34 {
35   interface MPIMEDCouplingFieldDoubleCorbaInterface:ParaMEDCouplingFieldDoubleCorbaInterface
36   {
37     void getDataByMPI(in string coupling) raises (SALOME::SALOME_Exception);
38     string getRef();
39     // only for coupling one component with itself
40     long long getImplementation();
41   };
42
43   interface ParaMEDMEMComponent:Engines::EngineComponent,Engines::MPIObject
44   {
45     void setInterpolationOptions(in string coupling,
46                                  in long print_level,
47                                  in string intersection_type,
48                                  in double precision,
49                                  in double median_plane,
50                                  in boolean do_rotate,
51                                  in double bounding_box_adjustment,
52                                  in double bounding_box_adjustment_abs,
53                                  in double max_distance_for_3Dsurf_intersect,
54                                  in long orientation,
55                                  in boolean measure_abs,
56                                  in string splitting_policy) raises (SALOME::SALOME_Exception);
57     void initializeCoupling(in string coupling, in string ior) raises (SALOME::SALOME_Exception);
58     void terminateCoupling(in string coupling) raises (SALOME::SALOME_Exception);
59   };
60 } ;
61
62 #endif