<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% $Id$
%% This file was automatically generated by Pencil::DocExtractor,
%% so think twice before you modify it.
%%
%% Source files:
%%   boundcond.f90
%%   boundcond_alt.f90

% ---------------------------------------------------------------- %
\begin{longtable}{lp{0.8\textwidth}}
\toprule
  \multicolumn{1}{c}{\emph{Variable}} &amp; {\emph{Meaning}} \\
\midrule
  \multicolumn{2}{c}{Module \file{boundcond.f90}} \\
\midrule
  \var{sds}       &amp; symmetric-derivative-set \\
  \var{0}         &amp; zero value in ghost zones, free value on boundary \\
  \var{p}         &amp; periodic \\
  \var{pp}        &amp; periodic across the pole \\
  \var{yy}        &amp; Yin-Yang grid \\
  \var{ap}        &amp; anti-periodic across the pole \\
  \var{s}         &amp; symmetry symmetry, $f_{N+i}=f_{N-i}$; \\
  \var{sf}        &amp; symmetry with respect to interface \\
  \var{ss}        &amp; symmetry, plus function value given \\
  \var{sds}       &amp; symmetric-derivative-set \\
  \var{cds}       &amp; complex symmetric-derivative-set \\
  \var{s0d}       &amp; symmetry, function value such that df/dy=0 \\
  \var{a}         &amp; antisymmetry \\
  \var{af}        &amp; antisymmetry with respect to interface \\
  \var{a2}        &amp; antisymmetry relative to boundary value \\
  \var{v}         &amp; vanishing third derivative \\
  \var{v3}        &amp; vanishing third derivative \\
  \var{out}       &amp; allow outflow, but no inflow
                    forces ghost cells and boundary to not point inwards \\
  \var{1s}        &amp; onesided \\
  \var{d1s}       &amp; onesided for 1st and 2nd derivative in two first inner points, Dirichlet in boundary point \\
  \var{n1s}       &amp; onesided for 1st and 2nd derivative in two first inner points, Neumann in boundary point \\
  \var{cT}        &amp; constant temp. \\
  \var{sT}        &amp; symmetric temp. \\
  \var{asT}       &amp; select entropy for uniform ghost temperature
                    matching fluctuating boundary value,
                    $T_{N-i}=T_{N}=$;
                    implies $T'(x_N)=T'(x_0)=0$ \\
  \var{f}         &amp; freeze value \\
  \var{s+f}       &amp; freeze value \\
  \var{fg}        &amp; ``freeze'' value, i.e. maintain initial \\
  \var{fBs}       &amp; frozen-in B-field (s) \\
  \var{fB}        &amp; frozen-in B-field (a2) \\
  \var{1}         &amp; f=1 (for debugging) \\
  \var{set}       &amp; set boundary value \\
  \var{sse}       &amp; symmetry, set boundary value \\
  \var{sep}       &amp; set boundary value \\
  \var{e1}        &amp; extrapolation \\
  \var{e2}        &amp; extrapolation \\
  \var{e3}        &amp; extrapolation in log [maintain a power law] \\
  \var{der}       &amp; set derivative on the boundary \\
  \var{cop}       &amp; outflow: copy value of last physical point to
                    all ghost cells \\
  \var{c+k}       &amp; no-inflow: copy value of last physical point
                    to all ghost cells, but suppressing any inflow \\
  \var{sfr}       &amp; stress-free boundary condition for spherical
                    coordinate system. \\
  \var{nfr}       &amp; Normal-field bc for spherical coordinate system.
                    Some people call this the ``(angry) hedgehog bc''. \\
  \var{spt}       &amp; spherical perfect conducting boundary condition
                    along $\theta$ boundary
                    $f''+\cot\theta f'=0$ and $f(x_N)=0$ \\
  \var{pfc}       &amp; perfect conducting boundary condition
                    along $\theta$ boundary \\
  \var{nil','}    &amp; do nothing; assume that everything is set \\
  \var{exp}       &amp; exponentiate y ghost zone of other variable \\
  \var{sep}       &amp; set boundary value \\
  \var{crk}       &amp; no-inflow: copy value of last physical point
                    to all ghost cells, but suppressing any inflow \\
\midrule
  \multicolumn{2}{c}{Module \file{boundcond_alt.f90}} \\
\midrule
  \var{sds}       &amp; symmetric-derivative-set \\
  \var{0}         &amp; zero value in ghost zones, free value on boundary \\
  \var{p}         &amp; periodic \\
  \var{pp}        &amp; periodic across the pole \\
  \var{ap}        &amp; anti-periodic across the pole \\
  \var{s}         &amp; symmetry symmetry, $f_{N+i}=f_{N-i}$; \\
  \var{ss}        &amp; symmetry, plus function value given \\
  \var{sds}       &amp; symmetric-derivative-set \\
  \var{cds}       &amp; complex symmetric-derivative-set \\
  \var{s0d}       &amp; symmetry, function value such that df/dy=0 \\
  \var{a}         &amp; antisymmetry \\
  \var{a2}        &amp; antisymmetry relative to boundary value \\
  \var{v}         &amp; vanishing third derivative \\
  \var{v3}        &amp; vanishing third derivative \\
  \var{out}       &amp; allow outflow, but no inflow
                    forces ghost cells and boundary to not point inwards \\
  \var{1s}        &amp; onesided \\
  \var{cT}        &amp; constant temp. \\
  \var{sT}        &amp; symmetric temp. \\
  \var{asT}       &amp; select entropy for uniform ghost temperature
                    matching fluctuating boundary value,
                    $T_{N-i}=T_{N}=$;
                    implies $T'(x_N)=T'(x_0)=0$ \\
  \var{f}         &amp; freeze value \\
  \var{s+f}       &amp; freeze value \\
  \var{fg}        &amp; ``freeze'' value, i.e. maintain initial \\
  \var{1}         &amp; f=1 (for debugging) \\
  \var{set}       &amp; set boundary value \\
  \var{sse}       &amp; symmetry, set boundary value \\
  \var{sep}       &amp; set boundary value \\
  \var{e1}        &amp; extrapolation \\
  \var{e2}        &amp; extrapolation \\
  \var{e3}        &amp; extrapolation in log [maintain a power law] \\
  \var{der}       &amp; set derivative on the boundary \\
  \var{cop}       &amp; outflow: copy value of last physical point to
                    all ghost cells \\
  \var{c+k}       &amp; no-inflow: copy value of last physical point
                    to all ghost cells, but suppressing any inflow \\
  \var{sfr}       &amp; stress-free boundary condition for spherical
                    coordinate system. \\
  \var{nfr}       &amp; Normal-field bc for spherical coordinate system.
                    Some people call this the ``(angry) hedgehog bc''. \\
  \var{spt}       &amp; spherical perfect conducting boundary condition
                    along $\theta$ boundary
                    $f''+\cot\theta f'=0$ and $f(x_N)=0$ \\
  \var{pfc}       &amp; perfect conducting boundary condition
                    along $\theta$ boundary \\
  \var{nil','}    &amp; do nothing; assume that everything is set \\
  \var{sep}       &amp; set boundary value \\
%
\bottomrule
\end{longtable}

</pre></body></html>