WaveMoL example computes energy from unsynchronized grid variables
Issue #2630
closed
The WaveMoL example in CactusExamples computes the wave energy as E = phi_t**2 + phi_i*phi_i
over the whole grid. However it does so on MoL_PostStep
and ends up doing so before it applies boundary conditions and SYNC
to the evolved variables (phi
, phi_t
and phi_i
).
Pull request https://bitbucket.org/cactuscode/cactusexamples/pull-requests/3/wavemol-compute-energy-only-after-field-is addresses this.
Comments (5)
-
reporter -
reporter - changed status to open
-
reporter Unless objected I apply this after 2022-09-08
-
reporter Applied as git hash 890b57e "WaveMoL: compute energy only after field is valid everywhere" of cactusexamples
-
reporter - changed status to closed
- Log in to comment
Please review.