]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Swig problem.
authorgeay <anthony.geay@cea.fr>
Fri, 20 Jun 2014 06:24:02 +0000 (08:24 +0200)
committergeay <anthony.geay@cea.fr>
Fri, 20 Jun 2014 06:24:02 +0000 (08:24 +0200)
src/MEDCoupling_Swig/MEDCouplingCommon.i

index 338505b32fbad0acd45d86b94fcb8963ae10ed8c..bfbf966dbebe43072a7e2fcc993c0a0214af01e8 100644 (file)
@@ -4939,7 +4939,6 @@ namespace ParaMEDMEM
   class MEDCouplingCartesianAMRMeshGen : public RefCountObject, public TimeLabel
   {
   public:
-    virtual MEDCouplingCartesianAMRMeshGen *deepCpy(MEDCouplingCartesianAMRMeshGen *father) const throw(INTERP_KERNEL::Exception);
     int getAbsoluteLevel() const throw(INTERP_KERNEL::Exception);
     int getAbsoluteLevelRelativeTo(const MEDCouplingCartesianAMRMeshGen *ref) const throw(INTERP_KERNEL::Exception);
     std::vector<int> getPositionRelativeTo(const MEDCouplingCartesianAMRMeshGen *ref) const throw(INTERP_KERNEL::Exception);
@@ -4998,6 +4997,12 @@ namespace ParaMEDMEM
         return ret;
       }
 
+      // agy : don't know why typemap fails here ??? let it in the extend section
+      PyObject *deepCpy(MEDCouplingCartesianAMRMeshGen *father) const throw(INTERP_KERNEL::Exception)
+      {
+        return convertCartesianAMRMesh(self->deepCpy(father), SWIG_POINTER_OWN | 0 );
+      }
+
       MEDCouplingCartesianAMRPatch *getPatchAtPosition(const std::vector<int>& pos) const throw(INTERP_KERNEL::Exception)
       {
         const MEDCouplingCartesianAMRPatch *ret(self->getPatchAtPosition(pos));