[ET Trac] #2630: WaveMoL example computes energy from unsynchronized grid variables

Roland Haas trac-noreply at einsteintoolkit.org
Tue Aug 16 18:00:06 CDT 2022


#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](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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20220816/8ffbb384/attachment.html 


More information about the Trac mailing list