-# Copyright (C) 2007-2012 CEA/DEN, EDF R&D
+# Copyright (C) 2007-2024 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
self._orb.shutdown(0)
def get1DMesh(self):
+ import SALOME_MED
mesh=self._test.build1DMesh()
- return MEDCouplingUMeshServant._this(mesh)
+ ret=MEDCouplingUMeshServant._this(mesh)
+ assert isinstance(ret,SALOME_MED._objref_MEDCouplingUMeshCorbaInterface)
+ return ret
def get2DMesh(self):
mesh=self._test.build2DMesh()
def getCMesh(self):
mesh=self._test.buildCMesh()
return MEDCouplingCMeshServant._this(mesh)
+
+ def getIMesh(self):
+ mesh=self._test.buildIMesh()
+ return MEDCouplingIMeshServant._this(mesh)
+
+ def getCLMesh(self):
+ mesh=self._test.buildCLMesh()
+ return MEDCouplingCurveLinearMeshServant._this(mesh)
+
+ def get1SGTUMesh(self):
+ mesh=self._test.build1SGTUMesh()
+ return MEDCoupling1SGTUMeshServant._this(mesh)
+
+ def get1DGTUMesh(self):
+ mesh=self._test.build1DGTUMesh()
+ return MEDCoupling1DGTUMeshServant._this(mesh)
def getFieldScalarOn2DNT(self):
field=self._test.buildFieldScalarOn2DNT()