From 74c6de583e757341a002c908d1e83a8759ca8ace Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 1 Oct 2019 14:45:53 +0300 Subject: [PATCH] #17784 [EDF] MESH-GEMS-2.9.6 Meshers options rename new methods with "SetUse*" to "Set" --- idl/BLSURFPlugin_Algorithm.idl | 8 ++++---- src/BLSURFPlugin/BLSURFPluginBuilder.py | 4 ++-- src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx | 16 ++++++++-------- src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.hxx | 8 ++++---- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/idl/BLSURFPlugin_Algorithm.idl b/idl/BLSURFPlugin_Algorithm.idl index 07af2be..23095c9 100644 --- a/idl/BLSURFPlugin_Algorithm.idl +++ b/idl/BLSURFPlugin_Algorithm.idl @@ -315,8 +315,8 @@ module BLSURFPlugin /*! * Activate/deactivate surface proximity computation */ - void SetUseSurfaceProximity( in boolean toUse ); - boolean GetUseSurfaceProximity(); + void SetSurfaceProximity( in boolean toUse ); + boolean GetSurfaceProximity(); /*! * Set number of surface element layers to be generated due to surface proximity @@ -333,8 +333,8 @@ module BLSURFPlugin /*! * Activate/deactivate volume proximity computation */ - void SetUseVolumeProximity( in boolean toUse ); - boolean GetUseVolumeProximity(); + void SetVolumeProximity( in boolean toUse ); + boolean GetVolumeProximity(); /*! * Set number of surface element layers to be generated due to volume proximity diff --git a/src/BLSURFPlugin/BLSURFPluginBuilder.py b/src/BLSURFPlugin/BLSURFPluginBuilder.py index d934e55..cf65938 100644 --- a/src/BLSURFPlugin/BLSURFPluginBuilder.py +++ b/src/BLSURFPlugin/BLSURFPluginBuilder.py @@ -202,7 +202,7 @@ class BLSURF_Algorithm(Mesh_Algorithm): # @param toUse boolean flag # def SetSurfaceProximity(self, toUse ): - self.Parameters().SetUseSurfaceProximity(toUse) + self.Parameters().SetSurfaceProximity(toUse) return ## Set number of surface element layers to be generated due to surface proximity @@ -223,7 +223,7 @@ class BLSURF_Algorithm(Mesh_Algorithm): # @param toUse boolean flag # def SetVolumeProximity(self, toUse ): - self.Parameters().SetUseVolumeProximity(toUse) + self.Parameters().SetVolumeProximity(toUse) return ## Set number of surface element layers to be generated due to volume proximity diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx index d1b530a..685440d 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx @@ -790,16 +790,16 @@ CORBA::Long BLSURFPlugin_Hypothesis_i::GetTopology() { /*! * Activate/deactivate surface proximity computation */ -void BLSURFPlugin_Hypothesis_i::SetUseSurfaceProximity( CORBA::Boolean toUse ) +void BLSURFPlugin_Hypothesis_i::SetSurfaceProximity( CORBA::Boolean toUse ) { - if ( GetUseSurfaceProximity() != toUse ) + if ( GetSurfaceProximity() != toUse ) { this->GetImpl()->SetUseSurfaceProximity( toUse ); - SMESH::TPythonDump() << _this() << ".SetUseSurfaceProximity( " << toUse << " )"; + SMESH::TPythonDump() << _this() << ".SetSurfaceProximity( " << toUse << " )"; } } -CORBA::Boolean BLSURFPlugin_Hypothesis_i::GetUseSurfaceProximity() +CORBA::Boolean BLSURFPlugin_Hypothesis_i::GetSurfaceProximity() { return this->GetImpl()->GetUseSurfaceProximity(); } @@ -844,16 +844,16 @@ CORBA::Double BLSURFPlugin_Hypothesis_i::GetSurfaceProximityRatio() /*! * Activate/deactivate volume proximity computation */ -void BLSURFPlugin_Hypothesis_i::SetUseVolumeProximity( CORBA::Boolean toUse ) +void BLSURFPlugin_Hypothesis_i::SetVolumeProximity( CORBA::Boolean toUse ) { - if ( GetUseVolumeProximity() != toUse ) + if ( GetVolumeProximity() != toUse ) { this->GetImpl()->SetUseVolumeProximity( toUse ); - SMESH::TPythonDump() << _this() << ".SetUseVolumeProximity( " << toUse << " )"; + SMESH::TPythonDump() << _this() << ".SetVolumeProximity( " << toUse << " )"; } } -CORBA::Boolean BLSURFPlugin_Hypothesis_i::GetUseVolumeProximity() +CORBA::Boolean BLSURFPlugin_Hypothesis_i::GetVolumeProximity() { return this->GetImpl()->GetUseVolumeProximity(); } diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.hxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.hxx index 9d180f4..f5ec502 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.hxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.hxx @@ -134,8 +134,8 @@ public: /*! * Activate/deactivate surface proximity computation */ - void SetUseSurfaceProximity( CORBA::Boolean toUse ); - CORBA::Boolean GetUseSurfaceProximity(); + void SetSurfaceProximity( CORBA::Boolean toUse ); + CORBA::Boolean GetSurfaceProximity(); /*! * Set number of surface element layers to be generated due to surface proximity @@ -152,8 +152,8 @@ public: /*! * Activate/deactivate volume proximity computation */ - void SetUseVolumeProximity( CORBA::Boolean toUse ); - CORBA::Boolean GetUseVolumeProximity(); + void SetVolumeProximity( CORBA::Boolean toUse ); + CORBA::Boolean GetVolumeProximity(); /*! * Set number of surface element layers to be generated due to volume proximity -- 2.39.2