~fluidity-core/fluidity/hybrid-assemble

Viewing all changes in revision 3617.

  • Committer: Lawrence Mitchell
  • Date: 2012-04-17 08:52:34 UTC
  • Revision ID: lawrence.mitchell@ed.ac.uk-20120417085234-kmquf3gu16tsuaav
Correctly set up PETSc matrices allocated from sparsities

When we allocate a PETSc matrix from a Fluidity sparsity, we don't go
through csr2petsc_CreateMPIAIJ (or similar).  So for local assembly to
work we need to set the MAT_IGNORE_OFF_PROC_ENTRIES flag explicitly in
the allocate_petsc_csr_matrix_from_foo routines.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: