diff options
author | lanfer <lanfer@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 2000-07-18 16:56:01 +0000 |
---|---|---|
committer | lanfer <lanfer@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 2000-07-18 16:56:01 +0000 |
commit | 779e0b79c1af4f3a1e1e66164dc3d539fd1869bc (patch) | |
tree | 6c02e97f5918d8cf28440ff4e75092b840c007ea /src/ScalarBoundary.c | |
parent | d992df596dc3b32814edc22c96c51e588911bd2f (diff) |
Boundary routines:
reworked Robin to have conformal calling interfaces
fixed two bugs: the more interresting one: coordinates do not have timelevels.
Replaced most CCTK_WARNS with CCTK_VWarns to be more informative.
gerd
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@115 6a38eb6e-646e-4a02-a296-d141613ad6c4
Diffstat (limited to 'src/ScalarBoundary.c')
-rw-r--r-- | src/ScalarBoundary.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/ScalarBoundary.c b/src/ScalarBoundary.c index b33a0fc..70309b9 100644 --- a/src/ScalarBoundary.c +++ b/src/ScalarBoundary.c @@ -249,6 +249,20 @@ void CCTK_FCALL CCTK_FNAME(BndScalarVN) /******************************************************************** ********************* Local Routines ************************* ********************************************************************/ + /*@@ + @routine ApplyBndScalar + @date Tue Jul 18 18:10:33 2000 + @author Gerd Lanfermann + @desc + Apply scalar boundary routine - internal routine + @enddesc + @calls + @calledby + @history + + @endhistory + +@@*/ static int ApplyBndScalar(cGH *GH, int *stencil, @@ -358,7 +372,9 @@ static int ApplyBndScalar(cGH *GH, break; default : berr = -1; - CCTK_WARN(1, "No BC for dim>3"); + CCTK_VWarn(1,__LINE__,__FILE__,"Boundary", + "No scalar boudnary for dim>3: grid variable '%s'", + CCTK_VarName(vi)); } berr = (berr>-1) ? 0 : -1; } @@ -378,6 +394,7 @@ static int ApplyBndScalar(cGH *GH, @author Gerd Lanfermann @desc Apply the constant boundary condition for 3d variables + -internal routine @enddesc @calls @calledby BndScalarGI, BndScalarVI, BndScalarVN, BndScalarGN, @@ -496,6 +513,7 @@ static int BndApplyScalar3Di(cGH *GH, @author Gerd Lanfermann @desc Apply the constant boundary condition for 2d variables + -internal routine @enddesc @history @@ -575,6 +593,7 @@ static int BndApplyScalar2Di(cGH *GH, @author Gerd Lanfermann @desc Apply the constant boundary condition for 1d variables + -internal routine @enddesc @history |