[petsc-dev] Removal of PETSC_VIEWER_NATIVE?

Jed Brown jedbrown at mcs.anl.gov
Fri Aug 9 00:56:38 CDT 2013


Barry Smith <bsmith at mcs.anl.gov> writes:

>    At that time we had started to collect these oddball IO methods:
>
>    loadintovector
> -  PetscErrorCode (*loadintovectornative)(PetscViewer,Vec);
> -  PetscErrorCode (*viewnative)(Vec,PetscViewer);
>
>    and Vec/MatLoad() actually created the object and load into it.  
>
>    I wanted XXXView/XXXLoad() to take an already created XXXX
>    (allowing the user to determine type etc) and get rid of all the
>    oddball methods.  I think the lose of all the native support was
>    accidental, hence Shri put some of it back in. If there is more we
>    should have that is not there then we should add it back in.

We can put back a switch on viewer format.  We should probably have a
switch on format in all viewers and fail if an unknown format is
requested.  As it is, most formats will be silently ignored.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130809/0c621de9/attachment.sig>


More information about the petsc-dev mailing list