Re: [petsc-users] Is old ex10.c (separated matrix and rhs) deprecated?

2022-01-10 Thread Barry Smith


  You can put them in different files or in the same file. If you put them in 
the same file you need to know which object comes first the matrix or the 
vector, this tells you if you should call MatLoad first or VecLoad.

  Barry


> On Jan 10, 2022, at 2:33 PM, Danyang Su  wrote:
> 
> Hi All,
> 
> Back to PETSc-3.8 version, the example ex10.c supports reading matrix and 
> vector from separated files. Is this feature deprecated in the new PETSc 
> version? I have some matrix and rhs to test but could not use ex10 example 
> under new PETSc version.
> 
> Thanks,
> 
> Danyang
> 



[petsc-users] Is old ex10.c (separated matrix and rhs) deprecated?

2022-01-10 Thread Danyang Su

Hi All,

Back to PETSc-3.8 version, the example ex10.c supports reading matrix 
and vector from separated files. Is this feature deprecated in the new 
PETSc version? I have some matrix and rhs to test but could not use ex10 
example under new PETSc version.


Thanks,

Danyang