diff options
author | schnetter <schnetter@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2005-11-22 23:10:55 +0000 |
---|---|---|
committer | schnetter <schnetter@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2005-11-22 23:10:55 +0000 |
commit | 80eb9c1a93995961c98189fa4c62fe9558bf8777 (patch) | |
tree | 44942a5f6f75b71add8b51309d0357e4ed1c19c8 | |
parent | 9aa96c6f13ca4c12d18756c0e6863d268f1b774b (diff) |
Correct error in calculating the number of grid points for the Count
variable.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@97 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
-rw-r--r-- | src/StepSize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/StepSize.c b/src/StepSize.c index 61266fc..03d6fb9 100644 --- a/src/StepSize.c +++ b/src/StepSize.c @@ -40,6 +40,8 @@ void MoL_InitAdaptiveError(CCTK_ARGUMENTS); void MoL_FindAdaptiveError(CCTK_ARGUMENTS); void MoL_ReduceAdaptiveError(CCTK_ARGUMENTS); +void MoL_SetEstimatedDt(CCTK_ARGUMENTS); + void MoL_FinishLoop(CCTK_ARGUMENTS); /******************************************************************** @@ -145,8 +147,6 @@ void MoL_FindAdaptiveError(CCTK_ARGUMENTS) int i, j, k; int d; - int ierr; - assert (cctk_dim <= 3); for (d = 0; d < cctk_dim; d++) { @@ -186,7 +186,7 @@ void MoL_FindAdaptiveError(CCTK_ARGUMENTS) *Count += (MoLNumEvolvedVariables - * (imax[0] - imin[0]) * (imax[1] - imin[1]) * (imax[0] - imin[0])); + * (imax[0] - imin[0]) * (imax[1] - imin[1]) * (imax[2] - imin[2])); } /*@@ |