WaveMoL example computes energy from unsynchronized grid variables

Create issue
Issue #2630 open
Roland Haas created an issue

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 (3)

  1. Log in to comment