From 84a91684c788cb371d4e33021e4494d25882a148 Mon Sep 17 00:00:00 2001 From: hawke Date: Mon, 7 Jul 2003 10:54:28 +0000 Subject: 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 --- doc/documentation.tex | 12 ++++++------ param.ccl | 2 +- src/AHFinder.F | 2 +- 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 -- cgit v1.2.3