Barry Smith <[email protected]> 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.
pgpHohBNL1Hi3.pgp
Description: PGP signature
