On Sun, Sep 1, 2013 at 7:53 PM, Jed Brown <[email protected]> wrote:

> Barry Smith <[email protected]> writes:
>
> > If so then shouldn't DMSetVecType() be the function that determines
> > the type for DM in one fell swoop instead of separate calls to
> > VecSetFromOptions() for each create? Note in theory that
> > DMSetFromOptions() has the option -dm_vec_type allowing runtime
> > selection of all the DM vectors also rather than the separate calls to
> > VecSetFromOptions() for each create?
>
> Yes.
>
> >   Can all these VecSetFromOptions() be removed?
>
> Probably replaced with VecSetType(X,dm->vectype)?
>

Note that this removes the ability to easily monitor these internal vectors.

   Matt

-- 
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

Reply via email to