Prefix for DACreate

2009-09-11 Thread Matthew Knepley
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

Prefix for DACreate

2009-02-21 Thread Jed Brown
, 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

Prefix for DACreate

2009-02-21 Thread Matthew Knepley
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