Prefix for DACreate

Matthew Knepley knepley at gmail.com
Sat Feb 21 15:45:33 CST 2009


I will do it, but it will have to wait for weekend after next since I have
to
go the SIAM CS&E.

  Matt

On Sat, Feb 21, 2009 at 2:57 PM, Jed Brown <jed at 59a2.org> wrote:

> We solve equations in a high-aspect ratio domain and have both a 2- and
> 3-dimensional DA which need to be compatible.  Due to the nature of the
> problem, the x-direction of the 3D DA must be local which means that
> options such as -da_processors_x don't work (they mean different things
> for each DA, thus forcing an incompatible state).
>
> It is currently not possible to set an options prefix on a DA because
> the usual PETSc creation pattern isn't used.  A hack that would fix my
> problem is to just add a prefix argument to DACreate, but the more
> elegant solution is a more significant refactoring to DACreate,
> DASetSizes, DASetOptionsPrefix, DASetFromOptions.
>
>
> Jed
>



-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20090221/f04ba9c6/attachment.html>


More information about the petsc-dev mailing list