Source

PetIGA / src / petigadm.c

Diff from to

File src/petigadm.c

   IGA            iga = DMIGACast(dm)->iga;
   PetscErrorCode ierr;
   PetscFunctionBegin;
-  ierr = IGAGlobalToLocal(iga,g,l,mode);CHKERRQ(ierr);
+  ierr = IGAGlobalToLocalBegin(iga,g,l,mode);CHKERRQ(ierr);
   PetscFunctionReturn(0);
 }
 #undef  __FUNCT__
   IGA            iga = DMIGACast(dm)->iga;
   PetscErrorCode ierr;
   PetscFunctionBegin;
-  if(0){ierr = IGAGlobalToLocal(iga,g,l,mode);CHKERRQ(ierr);}
+  ierr = IGAGlobalToLocalEnd(iga,g,l,mode);CHKERRQ(ierr);
   PetscFunctionReturn(0);
 }
 #undef  __FUNCT__
   IGA            iga = DMIGACast(dm)->iga;
   PetscErrorCode ierr;
   PetscFunctionBegin;
-  ierr = IGALocalToGlobal(iga,l,g,mode);CHKERRQ(ierr);
+  ierr = IGALocalToGlobalBegin(iga,l,g,mode);CHKERRQ(ierr);
   PetscFunctionReturn(0);
 }
 #undef  __FUNCT__
   IGA            iga = DMIGACast(dm)->iga;
   PetscErrorCode ierr;
   PetscFunctionBegin;
-  if(0){ierr = IGALocalToGlobal(iga,l,g,mode);CHKERRQ(ierr);}
+  ierr = IGALocalToGlobalEnd(iga,l,g,mode);CHKERRQ(ierr);
   PetscFunctionReturn(0);
 }