SPECFEM / specfem2d

SPECFEM2D simulates forward and adjoint seismic wave propagation in two-dimensional acoustic, (an)elastic, poroelastic or coupled acoustic-(an)elastic-poroelastic media, with Convolution PML absorbing conditions.
https://specfem.org
GNU General Public License v3.0
203 stars 147 forks source link

Fixed bugs in noise simulations when using multiple processes #1161

Closed evcano closed 2 years ago

evcano commented 2 years ago

Dear SPECFEM maintainers,

I made the following fixes related to noise simulations using multiple processes:

  1. The noise source array on noise simulation type 1 is now only computed by the process containing the master receiver.
  2. Each process writes/reads the generating wavefield in noise simulations type 2 to an independent file. Before all processes wrote/read the generating wavefield from the same file which resulted in errors.
  3. Same as 2 but for the forward correlation wavefield reconstructed in noise simulations type 3.

Best wishes, Eduardo Valero Cano.

buildbot-princeton commented 2 years ago

The files changed require a buildbot test. Buildbot has started.

buildbot-princeton commented 2 years ago

Your changes passed the buildbot test. See build 790.