next up previous contents
Next: How it works Up: WaveMoL Previous: Abstract   Contents


Purpose

WaveToy is the simple test thorn that comes with Cactus as standard. This is written so that it solves the wave equation

\begin{displaymath}
\partial_t^2 \phi = \partial_{x^i}^2 \phi^i
\end{displaymath} (part541)

directly using the leapfrog scheme. This form of the equations isn't suitable for use with the method of lines.

The purpose of this thorn is to rewrite the equations in first order form

$\displaystyle \partial_t \Phi$ $\textstyle =$ $\displaystyle \partial_{x^i} \Pi^i,$ (part542)
$\displaystyle \partial_t \Pi^j$ $\textstyle =$ $\displaystyle \partial_{x^j} \Phi,$ (part543)
$\displaystyle \partial_t \phi$ $\textstyle =$ $\displaystyle \Phi,$ (part544)
$\displaystyle \partial_{x^j} \phi$ $\textstyle =$ $\displaystyle \Pi^j.$ (part545)

The first three equations (which expand to five separate PDEs) will be evolved. The final equation is used to set the initial data and can be thought of as a constraint.

This will be implemented using simple second order differencing in space. Time evolution is performed by the method of lines thorn MoL.


next up previous contents
Next: How it works Up: WaveMoL Previous: Abstract   Contents