~reducedmodelling/fluidity/ROM_Non-intrusive-ann

« back to all changes in this revision

Viewing changes to femtools/Detector_Move_Lagrangian.F90

  • Committer: Michael Lange
  • Date: 2011-10-12 09:22:53 UTC
  • mto: This revision was merged to the branch mainline in revision 3741.
  • Revision ID: michael.lange@imperial.ac.uk-20111012092253-bla2ig4kiy3yvvds
Making detectors with mesh movement *almost* safe in parallel:
 * Adding test case detectors_mesh_movement_parallel where fixed static detectors go across parallel boundaries
 * Added a second picker_inquire call to search_for_detectors that will search the Halo if necessary
 * Calling distribute_detectors after re-synchronising physical and parametric coordinates so that detectors found in a Halo will be send to the according proc

Note: If the the virtual detector displacement due to the moving mesh is greater than the Halo bad things happen, which will be fixed soon with a broadcast.

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
 
230
230
    ! Make sure all local detectors are owned and distribute the ones that 
231
231
    ! stoppped moving in a halo element
232
 
    call distribute_detectors(state, detector_list)
 
232
    call distribute_detectors(state(1), detector_list)
233
233
 
234
234
    ! This needs to be called after distribute_detectors because the exchange  
235
235
    ! routine serialises det%k and det%update_vector if it finds the RK-GS option