pre-decomposed domains
    Jed Brown 
    jed at 59A2.org
       
    Mon Nov 23 15:25:29 CST 2009
    
    
  
On Mon, 23 Nov 2009 16:12:02 -0500, Craig Tanis <craig-tanis at utc.edu> wrote:
> The big problem seems to be that my domains are not guaranteed to have
> contiguous global node ids.  How can I specify explicitly which
> processor owns which node/vector element (for the purposes of
> ghost-node synchronization)?
PETSc matrices require that each process has contiguous rows, so your
numbering scheme will have to be changed for matrix insertion.  But the
code that handles your physics does not need to be changed, you just
encode the different numbering in a scatter.
Jed
    
    
More information about the petsc-users
mailing list