~pefarrell/dolfin-adjoint/orkney

Viewing all changes in revision 52.

  • Committer: Stephan Kramer
  • Date: 2012-05-30 08:50:09 UTC
  • Revision ID: s.kramer@imperial.ac.uk-20120530085009-ulb47takfxs4wy2p
Fix detectors in parallel. 
The various detectors are now probed by the local processes, the result is then synced across the processes and written out by process 0. The syncing is a bit of a hack since it only uses MPI.min()/max() and sum(). Will have to look into how to do proper MPI communication.
Bounding box that determines what detectors are selected is no longer hard-coded.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: