aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhawke <hawke@89daf98e-ef62-4674-b946-b8ff9de2216c>2003-07-07 10:54:28 +0000
committerhawke <hawke@89daf98e-ef62-4674-b946-b8ff9de2216c>2003-07-07 10:54:28 +0000
commit84a91684c788cb371d4e33021e4494d25882a148 (patch)
tree9ca0d13e6de19fcd13940637903ecd364b5c8b21
parentd1f859810b745e11cc28551c640e5d7c0ac160e5 (diff)
Change the range of ahf_lmax to match the code (maximum is now 19, not 20). Fixes PR1488.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinder/trunk@339 89daf98e-ef62-4674-b946-b8ff9de2216c
-rw-r--r--doc/documentation.tex12
-rw-r--r--param.ccl2
-rw-r--r--src/AHFinder.F2
3 files changed, 8 insertions, 8 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex
index 2e2bf22..edc3f78 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -40,11 +40,11 @@
%
% Example of including a graphic image:
% \begin{figure}[ht]
-% \begin{center}
-% \includegraphics[width=6cm]{MyArrangement_MyThorn_MyFigure}
-% \end{center}
-% \caption{Illustration of this and that}
-% \label{MyArrangement_MyThorn_MyLabel}
+% \begin{center}
+% \includegraphics[width=6cm]{MyArrangement_MyThorn_MyFigure}
+% \end{center}
+% \caption{Illustration of this and that}
+% \label{MyArrangement_MyThorn_MyLabel}
% \end{figure}
%
% Example of using a label:
@@ -139,7 +139,7 @@ Thorn AHFinder can be used either with a minimization or a flow algorithm.
\begin{itemize}
\item {\tt ahfinder::ahf\_lmax} \\
The maximal number of terms in the expansion in $\theta$. The default
- value is 8. The maximal value is 20.
+ value is 8. The maximal value is 19.
\item {\tt ahfinder::ahf\_phi} (steerable) \\
If axisymmetry is expected the surface does not need to be
expanded in phi. This is the default. To look for non-axisymmetric
diff --git a/param.ccl b/param.ccl
index dd168cf..06ae69d 100644
--- a/param.ccl
+++ b/param.ccl
@@ -80,7 +80,7 @@ BOOLEAN ahf_wander "Allow the center to wander?"
INT ahf_lmax "Maximum number of terms in theta expansion"
{
-0:20 :: "Range from 0 to 20"
+0:19 :: "Range from 0 to 19"
} 8
REAL ahf_xc "x-coordinate of center of expansion" STEERABLE = ALWAYS
diff --git a/src/AHFinder.F b/src/AHFinder.F
index 26bd1d3..d0bb150 100644
--- a/src/AHFinder.F
+++ b/src/AHFinder.F
@@ -211,7 +211,7 @@
write(*,*) 'ahf_lmax must be smaller than 20.'
write(*,*) 'STOPPED IN AHFinder.F'
write(*,*)
- STOP
+ call CCTK_WARN(0,"ahf_lmax must be smaller than 20.")
end if