Commits

Lisandro Dalcin committed 01effa6

Add IGAGetOptionsPrefix()

  • Participants
  • Parent commits a1ecdcd

Comments (0)

Files changed (2)

 extern PetscErrorCode IGASetUp(IGA iga);
 extern PetscErrorCode IGAView(IGA iga,PetscViewer viewer);
 
+extern PetscErrorCode IGAGetOptionsPrefix(IGA iga,const char *prefix[]);
 extern PetscErrorCode IGASetOptionsPrefix(IGA iga,const char prefix[]);
 extern PetscErrorCode IGAPrependOptionsPrefix(IGA iga,const char prefix[]);
 extern PetscErrorCode IGAAppendOptionsPrefix(IGA iga,const char prefix[]);
 }
 
 #undef  __FUNCT__
+#define __FUNCT__ "IGAGetOptionsPrefix"
+PetscErrorCode IGAGetOptionsPrefix(IGA iga,const char *prefix[])
+{
+  PetscErrorCode ierr;
+  PetscFunctionBegin;
+  PetscValidHeaderSpecific(iga,IGA_CLASSID,1);
+  ierr = PetscObjectGetOptionsPrefix((PetscObject)iga,prefix);CHKERRQ(ierr);
+  PetscFunctionReturn(0);
+}
+
+#undef  __FUNCT__
 #define __FUNCT__ "IGASetOptionsPrefix"
 PetscErrorCode IGASetOptionsPrefix(IGA iga,const char prefix[])
 {