From 3cd40e1898f5c268a3d2b246c32621c9fcaa44a0 Mon Sep 17 00:00:00 2001 From: Renaud Barate Date: Tue, 31 Aug 2010 13:17:46 +0000 Subject: [PATCH] Changed parameter name entry in detCaseEntry --- idl/DEVIATION_Gen.idl | 4 ++-- resources/GENERICSOLVERCatalog.xml.in | 2 +- src/GENERICSOLVER/DEVIATION.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/idl/DEVIATION_Gen.idl b/idl/DEVIATION_Gen.idl index 78cac6c..bdeaedd 100644 --- a/idl/DEVIATION_Gen.idl +++ b/idl/DEVIATION_Gen.idl @@ -52,9 +52,9 @@ module GENERICSOLVER_ORB * identify them in future calls to Exec. * * @param studyID the identifier of the study containing the deterministic data - * @param entry the identifier of the deterministic case within the study + * @param detCaseEntry the identifier of the deterministic case within the study */ - void Init(in long studyID, in SALOMEDS::ID entry) + void Init(in long studyID, in SALOMEDS::ID detCaseEntry) raises (SALOME::SALOME_Exception); /** diff --git a/resources/GENERICSOLVERCatalog.xml.in b/resources/GENERICSOLVERCatalog.xml.in index d4ef765..27b3f0b 100644 --- a/resources/GENERICSOLVERCatalog.xml.in +++ b/resources/GENERICSOLVERCatalog.xml.in @@ -162,7 +162,7 @@ long - entry + detCaseEntry string diff --git a/src/GENERICSOLVER/DEVIATION.py b/src/GENERICSOLVER/DEVIATION.py index 8d1a37c..1034a24 100644 --- a/src/GENERICSOLVER/DEVIATION.py +++ b/src/GENERICSOLVER/DEVIATION.py @@ -126,7 +126,7 @@ class DEVIATION(GENERICSOLVER_ORB__POA.DEVIATION_Gen, inspect.stack()[1][1], inspect.stack()[1][2]) raise SALOME.SALOME_Exception(exc) - def Init(self, studyId, caseEntry): + def Init(self, studyId, detCaseEntry): """ This method is an example for the initialization of a computation component for use with OpenTURNS in SALOME 5.1.5 and later (for YACS integration) @@ -137,7 +137,7 @@ class DEVIATION(GENERICSOLVER_ORB__POA.DEVIATION_Gen, salome.salome_init() DEVIATION.lock.release() - self.deterministicValues = GetDataFromCase(studyId, caseEntry) + self.deterministicValues = GetDataFromCase(studyId, detCaseEntry) logger.debug("deterministic values: %s" % self.deterministicValues) except: self._raiseSalomeError() -- 2.39.2