[petsc-dev] Naming convection: DMDAGetCoordinateDA()

Dave May dave.mayhem23 at gmail.com
Sun Nov 7 15:10:17 CST 2010


Barry,
  What's the convention for names of getter functions in PETSc?

Just wondering if
  DMDAGetCoordinateDA()
should be changed for consistency to
  DMDAGetCoordinateDM() or DMDAGetCoordinateDMDA()
as it seems most getters have the structure
  PETSCOBJECTGetXXX(),
where XXX reflects the type of object sought.


Cheers,
  Dave



More information about the petsc-dev mailing list