[petsc-users] Load Vec from 1D HDF5 dataset MATT READ THIS EMAIL!

Jed Brown jed at jedbrown.org
Fri Mar 20 09:29:11 CDT 2015


Håkon Strandenes <haakon at hakostra.net> writes:
> I think this "special treatment" of DMDA Vecs with dof=1 is a consistent 
> behaviour.

Why is it more consistent?  There are many places in the Python standard
libraries where tuples of size 1 are returned for the analogue of dof=1,
instead of implicitly unwrapping that case and leaving it to the caller
to handle each case separately.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150320/7dd42c47/attachment.pgp>


More information about the petsc-users mailing list