[petsc-dev] Remove or deprecate DMDALocalToLocalBegin/End when adding DMLocalToLocalBegin/End

Jed Brown jedbrown at mcs.anl.gov
Thu Jun 13 02:48:00 CDT 2013

Richard Tran Mills <rtm at eecs.utk.edu> writes:

> Hi Folks,
> Another question related to adding DMLocalToLocalBegin()/End(): When I do 
> so, the existing DMDALocalToLocalBegin()/End() become redundant.  Should 
> these DMDA routines be removed, or is there some mechanism in place to 
> mark them as deprecated or similar these days?

You can deprecate gently like this:

PETSC_DEPRECATED("Use DMLocalToLocalBegin()") PETSC_EXTERN PetscErrorCode DMDALocalToLocalBegin(DM,Vec,InsertMode,Vec);

More information about the petsc-dev mailing list