Okay, this was more work than I thought, but I have converted DA over to the
new
scheme. I pushed last night, so whoever is on log duty, send me the errors.
Everyone should start using
DACreate()
DASet...()
DASetFromOptions() or DASetType()
I made the dimension part of the type, but this
, 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
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