Richard Tran Mills <[email protected]> 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);
