[petsc-dev] What to do with DMDALocalToLocal routines when adding DMLocalToLocalBegin()/End()?

Barry Smith bsmith at mcs.anl.gov
Wed Mar 27 22:14:38 CDT 2013


On Mar 27, 2013, at 2:23 PM, Richard Tran Mills <rtm at eecs.utk.edu> wrote:

> As mentioned previously, I want to add DMLocalToLocalBegin()/End() interface functions.  This operation is only supported by DMDA right now (see src/dm/impls/da/daltol.c).  It appears that I should convert DMDALocalToLocalBegin()/End() to DMLocalToLocalBegin/End_DA().  I lean towards leaving DMDALocalToLocalCreate() (which is called "lazily" by DMDALocalToLocalBegin()) as-is, however.  Does this sound OK?
> 

  Likely its name should be changed to DMLocalToLocalCreate_DA() so that it is clear that it is a utility routine that is not generally to be called directly by users.

   Barry


> --Richard
> 
> -- 
> Richard Tran Mills, Ph.D.
> Computational Earth Scientist      | Joint Assistant Professor
> Hydrogeochemical Dynamics Team     | EECS and Earth & Planetary Sciences
> Oak Ridge National Laboratory      | University of Tennessee, Knoxville
> E-mail: rmills at ornl.gov  V: 865-241-3198 http://climate.ornl.gov/~rmills
> 




More information about the petsc-dev mailing list