#include "SALOME_Exception.idl"
#include "SALOME_Component.idl"
#include "SALOMEDS.idl"
+#include "SALOME_Comm.idl"
module SALOME_MED {
/*!
// mesh interface
// ----------------------
- interface MESH {
+ interface MESH : SALOME::MultiCommClass, SALOME::ServantLifeCycle {
// Index range begins from 1
// General Informations
*/
SALOME_MED::double_array getCoordinates(in medModeSwitch typeSwitch)
raises (SALOME::SALOME_Exception);
-
+
+ /*!
+ Returns an array (Sender) of coordinates stored in any type.\n
+ It could be used in a Client code using the MED Client classes.
+ */
+ SALOME::Sender getSenderForCoordinates(in medModeSwitch typeSwitch)
+ raises (SALOME::SALOME_Exception);
/*!
Returns coordinate n° Number on axis n° Axis
*/
in medGeometryElement geomElement)
raises (SALOME::SALOME_Exception);
+ /*!
+ Idem getConnectivity but return a Sender.\n
+ It could be used in a Client code using the MED Client classes.
+ */
+ SALOME::Sender getSenderForConnectivity(in medModeSwitch typeSwitch,
+ in medConnectivity mode,
+ in medEntityMesh entity,
+ in medGeometryElement geomElement)
+ raises (SALOME::SALOME_Exception);
+
/*!
Give morse index array to use with
getConnectivity(MED_FULL_INTERLACE,mode,entity,MED_ALL_ELEMENTS).
long numberOfNodes;
medGeometryElement_array meshTypes;
SALOME_MED::long_array numberOfElements;
+ long entityDimension;
};
connectivityInfos getConnectGlobal(in medEntityMesh entity)
raises (SALOME::SALOME_Exception);
// Support interface
// ----------------------
- interface SUPPORT {
+ interface SUPPORT : SALOME::MultiCommClass, SALOME::ServantLifeCycle {
/*!
Returns the name of the support.
SALOME_MED::long_array getNumber(in medGeometryElement geomElement)
raises (SALOME::SALOME_Exception);
+ /*!
+ Idem SALOME::Sender getNumber(in medGeometryElement geomElement) but returning Sender.\n
+ It could be used in a Client code using the MED Client classes.
+ */
+
+ SALOME::Sender getSenderForNumber(in medGeometryElement geomElement)
+ raises (SALOME::SALOME_Exception);
+
/*!
If the method %isOnAllElements() returns False, this method returns the index
of element number.
*/
SALOME_MED::long_array getNumberIndex()
raises (SALOME::SALOME_Exception);
+
+ /*!
+ Idem SALOME_MED::long_array getNumberIndex() but return a Sender.\n
+ It could be used in a Client code using the MED Client classes.
+ */
+ SALOME::Sender getSenderForNumberIndex()
+ raises (SALOME::SALOME_Exception);
+
/*!
Returns the number of Gauss points for this %medGeometryElement.
// Field interface
//----------------
- interface FIELD
+ interface FIELD : SALOME::ServantLifeCycle
{
/*!
*/
string getComponentUnit(in long i) raises (SALOME::SALOME_Exception);
+ /*!
+ Returns an array containing components descriptions.
+ */
+ SALOME_MED::string_array getComponentsDescriptions()
+ raises (SALOME::SALOME_Exception);
+
+ /*!
+ Returns the description of i-th component.
+
+ \note
+ - i is bounded by 1 and NumberOfComponents.
+ - Name is mandatory for each field's component.
+ */
+ string getComponentDescription(in long i) raises (SALOME::SALOME_Exception);
+
/*!
Returns the iteration number.
*/
};
- interface FIELDDOUBLE : FIELD {
+ interface FIELDDOUBLE : FIELD , SALOME::MultiCommClass {
/*!
Returns an array of values of the field
*/
SALOME_MED::double_array getValue(in medModeSwitch mode)
raises (SALOME::SALOME_Exception);
+
+ /*!
+ Idem as getValue but it could be used in a Client code using the
+ MED Client classes.
+ */
+ SALOME::Sender getSenderForValue(in medModeSwitch mode)
+ raises (SALOME::SALOME_Exception);
};
- interface FIELDINT : FIELD {
+ interface FIELDINT : FIELD , SALOME::MultiCommClass {
/*!
Returns an array of values of the field
SALOME_MED::long_array getValue(in medModeSwitch mode)
raises (SALOME::SALOME_Exception);
+ /*!
+ Idem as getValue but it could be used in a Client code using the
+ MED Client classes.
+ */
+ SALOME::Sender getSenderForValue(in medModeSwitch mode)
+ raises (SALOME::SALOME_Exception);
};
// MED interface
{
/*!
it returns a Corba pointer %MESH on the mesh stored in the .med file
- <VAR>fileName</VAR> with the name <VAR>meshName</VAR>; and it pushes it
- in the study named <VAR>studyName</VAR>.
+ <VAR>fileName</VAR> with the name <VAR>meshName</VAR>.
*/
SALOME_MED::MESH readMeshInFile(in string fileName, in string studyName,
in string meshName)
/*!
it returns a Corba pointer %FIELD on the field instance with the order
<VAR>ordre</VAR> at the iteration <VAR>iter</VAR>, stored in the .med
- file <VAR>fileName</VAR> with the name <VAR>fieldName</VAR>; and it
- pushes it in the study named <VAR>studyName</VAR>.
+ file <VAR>fileName</VAR> with the name <VAR>fieldName</VAR>.
*/
SALOME_MED::FIELD readFieldInFile(in string fileName, in string studyName,
in string fieldName, in long ordre,
/*!
it returns a Corba pointer on the %MED object regrouping all objects
- (%MESH and %FIELD) stored in the file <VAR>fileName</VAR>; and it pushes
- all those objects in the study named <VAR>studyName</VAR>. All instances
+ (%MESH and %FIELD) stored in the file <VAR>fileName</VAR>. All instances
of the fields are stored without their type.
*/
SALOME_MED::MED readStructFile(in string fileName,