Salome HOME
projects
/
modules
/
med.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change namespace ParaMEDMEM to MEDCoupling when compiling with MPI.
[modules/med.git]
/
idl
/
MEDDataManager.idl
diff --git
a/idl/MEDDataManager.idl
b/idl/MEDDataManager.idl
index ce12020183c42c7354c25da547ed31a1f8f3381f..c18c0740efc0aaff2faedb5a27fc5e28475568b0 100644
(file)
--- a/
idl/MEDDataManager.idl
+++ b/
idl/MEDDataManager.idl
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-28,7
+28,7
@@
#include "SALOME_GenericObj.idl"
#include "SALOME_Exception.idl"
#include "SALOME_GenericObj.idl"
#include "SALOME_Exception.idl"
-module MED
OP
+module MED
CALC
{
struct DatasourceHandler {
long id;
{
struct DatasourceHandler {
long id;
@@
-50,7
+50,7
@@
module MEDOP
* point that aggregate a list of fields that relie on the same mesh
* with the same type (the fields in a timeseries differ by their
* time step).
* point that aggregate a list of fields that relie on the same mesh
* with the same type (the fields in a timeseries differ by their
* time step).
- *
+ *
* Then you could have a field with no fieldseries associated but
* directly associated to a mesh. That is typically the case of
* fields created by MED operations: if you operate tow fields
* Then you could have a field with no fieldseries associated but
* directly associated to a mesh. That is typically the case of
* fields created by MED operations: if you operate tow fields
@@
-101,18
+101,29
@@
module MEDOP
typedef sequence<FieldHandler> FieldHandlerList;
typedef sequence<long> FieldIdList;
typedef sequence<FieldHandler> FieldHandlerList;
typedef sequence<long> FieldIdList;
+ struct InterpolationParameters {
+ double precision;
+ double defaultValue;
+ boolean reverse;
+ string method;
+ string nature;
+ string intersectionType;
+ };
+
interface MEDDataManager: SALOME::GenericObj
{
interface MEDDataManager: SALOME::GenericObj
{
-
+
//==========================================================
// Datasource management
//==========================================================
//==========================================================
// Datasource management
//==========================================================
- DatasourceHandler addDatasource(in string filepath);
+ DatasourceHandler loadDatasource(in string filepath);
+ DatasourceHandler getDatasourceHandler(in string filepath);
+ DatasourceHandler getDatasourceHandlerFromID(in long sourceid);
//==========================================================
// Mesh data management
//==========================================================
//==========================================================
// Mesh data management
//==========================================================
-
+
MeshHandler getMesh(in long meshId) raises (SALOME::SALOME_Exception);
MeshHandlerList getMeshList(in long datasourceId);
MeshHandler getMesh(in long meshId) raises (SALOME::SALOME_Exception);
MeshHandlerList getMeshList(in long datasourceId);
@@
-136,16
+147,19
@@
module MEDOP
void updateFieldMetadata(in long fieldHandlerId,
void updateFieldMetadata(in long fieldHandlerId,
- in string fieldname,
- in long iteration,
- in long order,
- in string source);
+
in string fieldname,
+
in long iteration,
+
in long order,
+
in string source);
//void saveFields(in FieldHandlerList fieldHandlerList, in string filepath);
void changeUnderlyingMesh(in long fieldHandlerId, in long meshHandlerId)
raises (SALOME::SALOME_Exception);
//void saveFields(in FieldHandlerList fieldHandlerList, in string filepath);
void changeUnderlyingMesh(in long fieldHandlerId, in long meshHandlerId)
raises (SALOME::SALOME_Exception);
-
+
+ FieldHandler interpolateField(in long fieldHandlerId, in long meshHandlerId, in InterpolationParameters params)
+ raises (SALOME::SALOME_Exception);
+
//==========================================================
// General purpose data management
//==========================================================
//==========================================================
// General purpose data management
//==========================================================