#2630: WaveMoL example computes energy from unsynchronized grid variables
| Reporter: | Roland Haas |
| Status: | new |
| Milestone: | |
| Version: | |
| Type: | bug |
| Priority: | major |
| Component: |
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.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2630/wavemol-example-computes-energy-from