SUN Chun wrote:
> Hi,
> 
> When I MatView or VecView with matlab format, I am automatically
> assigned a variable name like "Mat_0", "Vec_1". Which function can I use
> to change this value?

PetscObjectSetName((PetscObject)yourvec,"Name_of_your_vec");


Jed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091117/da60267b/attachment.pgp>

Reply via email to