From 3563d326b9d34017211bdd529a1006d288ed6708 Mon Sep 17 00:00:00 2001 From: gdd Date: Fri, 16 Sep 2011 12:43:10 +0000 Subject: [PATCH] Add missing functions (declared in *_i.hxx) --- idl/HOMARD_Boundary.idl | 6 ++++-- idl/HOMARD_Cas.idl | 6 ++++++ idl/HOMARD_Gen.idl | 42 ++++++++++++++++++++++++++++++++++++++++- idl/HOMARD_Zone.idl | 12 ++++++++++-- 4 files changed, 61 insertions(+), 5 deletions(-) diff --git a/idl/HOMARD_Boundary.idl b/idl/HOMARD_Boundary.idl index 0d69d9d2..a88cb50e 100644 --- a/idl/HOMARD_Boundary.idl +++ b/idl/HOMARD_Boundary.idl @@ -45,11 +45,13 @@ module HOMARD void SetCylinder (in double Xcentre, in double Ycentre, in double Zcentre, in double Xaxe, in double Yaxe, in double Zaxe, in double rayon) raises (SALOME::SALOME_Exception); - HOMARD::double_array GetCylinder() raises (SALOME::SALOME_Exception); +// HOMARD::double_array GetCylinder() raises (SALOME::SALOME_Exception); void SetSphere (in double Xcentre, in double Ycentre, in double Zcentre, in double rayon) raises (SALOME::SALOME_Exception); - HOMARD::double_array GetSphere() raises (SALOME::SALOME_Exception); +// HOMARD::double_array GetSphere() raises (SALOME::SALOME_Exception); + + HOMARD::double_array GetCoords() raises (SALOME::SALOME_Exception); void SetLimit (in double Xincr, in double Yincr, in double Zincr) raises (SALOME::SALOME_Exception); diff --git a/idl/HOMARD_Cas.idl b/idl/HOMARD_Cas.idl index efbaf525..85fc70c9 100644 --- a/idl/HOMARD_Cas.idl +++ b/idl/HOMARD_Cas.idl @@ -41,6 +41,12 @@ module HOMARD void SetConfType(in long ConfType) raises (SALOME::SALOME_Exception); long GetConfType() raises (SALOME::SALOME_Exception); + void SetNivMax(in long NivMax) raises (SALOME::SALOME_Exception); + long GetNivMax() raises (SALOME::SALOME_Exception); + + void SetDiamMin(in double DiamMin) raises (SALOME::SALOME_Exception); + double GetDiamMin() raises (SALOME::SALOME_Exception); + void AddIteration (in string NomIteration) raises (SALOME::SALOME_Exception); string GetIter0Name () raises (SALOME::SALOME_Exception); diff --git a/idl/HOMARD_Gen.idl b/idl/HOMARD_Gen.idl index 2b4a7c59..afc7678a 100644 --- a/idl/HOMARD_Gen.idl +++ b/idl/HOMARD_Gen.idl @@ -48,9 +48,49 @@ module HOMARD raises (SALOME::SALOME_Exception); HOMARD_Zone CreateZone(in string nomZone, in long typeZone) raises (SALOME::SALOME_Exception); + HOMARD_Zone CreateZoneBox (in string nomZone, + in double Xmini, in double Xmaxi, + in double Ymini, in double Ymaxi, + in double Zmini, in double Zmaxi) + raises (SALOME::SALOME_Exception); + HOMARD_Zone CreateZoneSphere (in string nomZone, + in double Xcentre, in double Ycentre, in double Zcentre, + in double Rayon) + raises (SALOME::SALOME_Exception); + HOMARD_Zone CreateZoneCylinder (in string nomZone, + in double Xcentre, in double Ycentre, in double Zcentre, + in double Xaxe, in double Yaxe, in double Zaxe, + in double Rayon, in double Haut) + raises (SALOME::SALOME_Exception); + HOMARD_Zone CreateZonePipe (in string nomZone, + in double Xcentre, in double Ycentre, in double Zcentre, + in double Xaxe, in double Yaxe, in double Zaxe, + in double Rayon, in double Haut, in double Rayonint) + raises (SALOME::SALOME_Exception); + HOMARD_Zone CreateZoneBox2D (in string nomZone, + in double Umini, in double Umaxi, + in double Vmini, in double Vmaxi, + in long Orient) + raises (SALOME::SALOME_Exception); + HOMARD_Zone CreateZoneDisk (in string nomZone, + in double Ucentre, in double Vcentre, + in double Rayon, in long Orient) + raises (SALOME::SALOME_Exception); + HOMARD_Zone CreateZoneDiskWithHole (in string nomZone, + in double Ucentre, in double Vcentre, + in double Rayon, in double Rayonint, + in long Orient) + raises (SALOME::SALOME_Exception); HOMARD_Boundary CreateBoundary(in string nomBoundary, in long typeBoundary) raises (SALOME::SALOME_Exception); - + HOMARD_Boundary CreateBoundaryDi (in string nomBoundary, in string MeshName, in string FileName); + HOMARD_Boundary CreateBoundaryCylinder (in string nomBoundary, + in double Xcentre, in double Ycentre, in double Zcentre, + in double Xaxis, in double Yaxis, in double Zaxis, + in double Rayon); + HOMARD_Boundary CreateBoundarySphere (in string nomBoundary, + in double Xcentre, in double Ycentre, in double Zcentre, + in double Rayon); void AssociateIterIter(in string nomIterParent, in string nomIter) raises (SALOME::SALOME_Exception); void AssociateIterHypo(in string nomIter, in string nomHypothesis) diff --git a/idl/HOMARD_Zone.idl b/idl/HOMARD_Zone.idl index 7e37adfe..21f3966c 100644 --- a/idl/HOMARD_Zone.idl +++ b/idl/HOMARD_Zone.idl @@ -39,10 +39,18 @@ module HOMARD void SetBox (in double Xmini, in double Xmaxi, in double Ymini, in double Ymaxi, in double Zmini, in double Zmaxi) raises (SALOME::SALOME_Exception); - double_array GetBox() raises (SALOME::SALOME_Exception); + double_array GetCoords() raises (SALOME::SALOME_Exception); void SetSphere (in double Xcentre, in double Ycentre, in double Zcentre, in double rayon) raises (SALOME::SALOME_Exception); - double_array GetSphere() raises (SALOME::SALOME_Exception); + void SetCylinder (in double Xcentre, in double Ycentre, in double Zcentre, + in double Xaxis, in double Yaxis, in double Zaxis, + in double Rayon, in double Haut) + raises (SALOME::SALOME_Exception); + void SetPipe( in double Xcentre, in double Ycentre, in double ZCentre, + in double Xaxis, in double Yaxis, in double Zaxis, + in double Rayon, in double Haut, in double Rayonint ) + raises (SALOME::SALOME_Exception); +// double_array GetSphere() raises (SALOME::SALOME_Exception); void SetLimit (in double Xincr, in double Yincr, in double Zincr) raises (SALOME::SALOME_Exception); double_array GetLimit() raises (SALOME::SALOME_Exception); -- 2.39.2