aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--param.ccl4
-rw-r--r--src/EHFinder_ParamCheck.F9012
2 files changed, 8 insertions, 8 deletions
diff --git a/param.ccl b/param.ccl
index d94b92a..66cc38d 100644
--- a/param.ccl
+++ b/param.ccl
@@ -165,12 +165,12 @@ INT saved_iteration_every "How often was the numerical data saved"
INT ntheta "Number of points in the theta direction when finding points on the surface"
{
-1: :: "Positive and odd please"
+1:*:2 :: "Positive and odd please"
} 51
INT nphi "Number of points in the phi direction when finding points on the surface"
{
-1: :: "Positive and odd please"
+1:*:2 :: "Positive and odd please"
} 51
INT n_array_ghosts "Number of ghost points in the surface grid array"
{
diff --git a/src/EHFinder_ParamCheck.F90 b/src/EHFinder_ParamCheck.F90
index 8e98d67..ae9ec1e 100644
--- a/src/EHFinder_ParamCheck.F90
+++ b/src/EHFinder_ParamCheck.F90
@@ -42,10 +42,10 @@ subroutine EHFinder_ParamCheck(CCTK_ARGUMENTS)
! Check if ntheta and nphi are odd as required for the Simpsons rulei
! integration.
- if ( mod(ntheta,2) .eq. 0 ) then
- call CCTK_PARAMWARN('EHFinder::ntheta has to be an odd number')
- end if
- if ( mod(nphi,2) .eq. 0 ) then
- call CCTK_PARAMWARN('EHFinder::nphi has to be an odd number')
- end if
+! if ( mod(ntheta,2) .eq. 0 ) then
+! call CCTK_PARAMWARN('EHFinder::ntheta has to be an odd number')
+! end if
+! if ( mod(nphi,2) .eq. 0 ) then
+! call CCTK_PARAMWARN('EHFinder::nphi has to be an odd number')
+! end if
end subroutine EHFinder_ParamCheck