Prefix for DACreate

Jed Brown jed at 59A2.org
Sat Feb 21 14:57:53 CST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20090221/a899bdaa/attachment.sig>


More information about the petsc-dev mailing list