[petsc-dev] Non-namespaced Sieve functions

Jed Brown jed at 59A2.org
Wed Jun 22 04:09:02 CDT 2011


I don't know why these functions exist, but they aren't namespaced and the
man pages are distracting and inconsistent. Also, only one of the
assembleVector() functions below is documented and neither of the update*
are. Matt, could you name these however they are supposed to be so they
aren't scattered around the docs?

extern PetscErrorCode assembleVector(Vec, DM, SectionReal, PetscInt,
PetscScalar [], InsertMode);
extern PetscErrorCode assembleMatrix(Mat, DM, SectionReal, PetscInt,
PetscScalar [], InsertMode);
extern PetscErrorCode restrictVector(Vec, Vec, InsertMode);
extern PetscErrorCode assembleVectorComplete(Vec, Vec, InsertMode);
extern PetscErrorCode assembleVector(Vec, PetscInt, PetscScalar [],
InsertMode);
extern PetscErrorCode updateOperator(Mat, const ALE::Obj<PETSC_MESH_TYPE>&,
const ALE::Obj<PETSC_MESH_TYPE::real_section_type>&, const
ALE::Obj<PETSC_MESH_TYPE::order_type>&, c
onst PETSC_MESH_TYPE::point_type&, PetscScalar [], InsertMode);
extern PetscErrorCode updateOperatorGeneral(Mat, const
ALE::Obj<PETSC_MESH_TYPE>&, const
ALE::Obj<PETSC_MESH_TYPE::real_section_type>&, const
ALE::Obj<PETSC_MESH_TYPE::order_ty
pe>&, const PETSC_MESH_TYPE::point_type&, const ALE::Obj<PETSC_MESH_TYPE>&,
const ALE::Obj<PETSC_MESH_TYPE::real_section_type>&, const
ALE::Obj<PETSC_MESH_TYPE::order_type>&, c
onst PETSC_MESH_TYPE::point_type&, PetscScalar [], InsertMode);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110622/b7e8eefb/attachment.html>


More information about the petsc-dev mailing list