next up previous contents
Next: Registering Symmetry Behaviour Up: CartGrid3D Previous: Coordinates   Contents

Symmetries for Grid Functions

If your problem and initial data allow it, CartGrid3D allows you to enforce even or odd parity for any grid function at (across) each coordinate axis. For a function $\phi(x,y,z)$, even parity symmetry on the $x$-axis means

\begin{displaymath}
\phi(-x,y,z) = \phi(x,y,z)
\end{displaymath}

while odd parity symmetry means

\begin{displaymath}
\phi(-x,y,z) = -\phi(x,y,z)
\end{displaymath}

Note that the symmetries will only be enforced if a symmetry domain is chosen (that is, if grid::domain is set to something other than grid::domain = "full".



Subsections