On Mar 7, 2013, at 9:46 PM, Richard Tran Mills <rtm at eecs.utk.edu> wrote:
> Continuing on my quest to be able to wrap all of the unstructured grid > operations in PFLOTRAN inside a DM: Would it be OK to add > DMGlobalToNaturalBegin()/End() and DMNatualToGlobalBegin()/End()? These are > currently DMDA routines, not DM ones. We do something that we call > natural-to-global and global-to-natural operations with our unstructured grid > cases in PFLOTRAN (though I'm not sure if "natural" is quite the thing to > call it... I always think of that in terms of a structured grid layout). I > would like to just call DMGlobalToNaturalBegin()/End(), etc., on our DM, > whether it is a DMDA or a DMShell. > > I had already mentioned that I plan to add DM interface routines for > local-to-local operations. I am thinking that global-to-natural, etc., also > ought to be added, though I'm not sure if the concept of "natural" ordering > necessarily makes sense in some cases. What does natural mean for you on anything but a DA in what you do with pflotran? Once we all understand than we can come up with ideas on how that fits with DM. 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 >
