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

Attachment: pgp41KHleK5gM.pgp
Description: PGP signature

Reply via email to