~fluidity-core/fluidity/metis_five

Viewing all changes in revision 4027.

  • Committer: Lawrence Mitchell
  • Date: 2012-08-13 12:39:57 UTC
  • Revision ID: lawrence.mitchell@ed.ac.uk-20120813123957-55h63yeo79lz6ht0
Fix DG momentum assembly corner case

Since r3984 we would assemble elements in DG momentum if
element_neighbour_owned returned true.  However, for some corner cases
element_neighbour_owned need not return true if the element is owned
(consider the case of a process with one owned element).  In this
situation we would not correctly assemble all elements.  To fix this,
change the test for element assembly to directly check for element
ownership.

At the same time, update the documentation for element_neighbour_owned
to note this issue.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: