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

Richard Tran Mills rtm at eecs.utk.edu
Wed Mar 27 22:26:16 CDT 2013


Barry,

Yes, you are right.  I had erroneously thought that it was a "user" 
routine with a manual page; I was thrown off by the nice comment at the 
beginning. =)

--Richard

On 3/27/13 11:14 PM, Barry Smith wrote:
> 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
>>


-- 
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