Skip to content

fix: WaveEquation backward propagation and adjoint test#4051

Open
bd713 wants to merge 2 commits intodevelopfrom
fix/bd713/adjointWave
Open

fix: WaveEquation backward propagation and adjoint test#4051
bd713 wants to merge 2 commits intodevelopfrom
fix/bd713/adjointWave

Conversation

@bd713
Copy link
Copy Markdown
Contributor

@bd713 bd713 commented May 8, 2026

  • fixed backward propagation to correctly mirror the forward indexing (off-by-one in beginIndex and seismoIndex).

  • allowed to pass the adjoint test up to machine single precision (threshold tightened from 9e-3 to 5e-7)

  • reduced test mesh size from 20×25×30 to 7×6×5 elements (source/receiver coordinates adjusted accordingly) to speed up CI. See issue Unit test speed issues #4047

The test now runs in under one second on CI Ubuntu 24.04 - gcc 13:
268/270 Test #268: testWavePropagationAdjoint1 ............................. Passed 0.61 sec

@bd713 bd713 self-assigned this May 8, 2026
@bd713 bd713 requested review from corbett5 and rrsettgast as code owners May 8, 2026 19:08
@bd713 bd713 added the type: bug Something isn't working label May 8, 2026
@bd713 bd713 added the ci: run integrated tests Allows to run the integrated tests in GEOS CI label May 8, 2026
@bd713 bd713 requested review from acitrain and sframba as code owners May 8, 2026 19:08
@bd713 bd713 added ci: run CUDA builds Allows to triggers (costly) CUDA jobs flag: no rebaseline Does not require rebaseline labels May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci: run CUDA builds Allows to triggers (costly) CUDA jobs ci: run integrated tests Allows to run the integrated tests in GEOS CI flag: no rebaseline Does not require rebaseline type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant