[petsc-users] KSP solver and Distributed arrays

Barry Smith bsmith at mcs.anl.gov
Tue Dec 14 08:11:09 CST 2010


    The linear solvers only know about global dimensions and local sizes (they know nothing about local representations) so if the vectors and matrix are compatible the answer is yes.

   Barry

On Dec 13, 2010, at 10:42 PM, Mohamad M. Nasr-Azadani wrote:

> Hi guys, 
> 
> A simple question. 
> Can I solve a linear system [A]{x} = {b} using KSP solvers using Matrix and rhs, solution vectors with different number of ghost nodes (width)? 
> As an example, can it be possible to solve for 
> vector {x} DA, width=3, STAR stencil, 
> [A] DA, width=1, STAR stencil 
> {b} DA, width=1, STAR stencil
> 
> I am suspecting that it is not possible. 
> 
> Thanks, 
> Mohamad
> 



More information about the petsc-users mailing list