aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorallen <allen@4451c3c6-1034-4891-99ea-21147727ccdf>2002-05-31 10:04:56 +0000
committerallen <allen@4451c3c6-1034-4891-99ea-21147727ccdf>2002-05-31 10:04:56 +0000
commit4be592803b4c4941d42fa4ea61bc4b5c7d60e758 (patch)
tree058fee3380880a0bac8d09098d5e265d5742917f /src
parente1d5b02108a3eb785e3dce737f56235fd9e5c168 (diff)
Standardizing all boundary conditions across wavetoy thorns
git-svn-id: http://svn.cactuscode.org/arrangements/CactusWave/WaveToyF77/trunk@86 4451c3c6-1034-4891-99ea-21147727ccdf
Diffstat (limited to 'src')
-rw-r--r--src/WaveToy.F7712
1 files changed, 8 insertions, 4 deletions
diff --git a/src/WaveToy.F77 b/src/WaveToy.F77
index ea38c8f..4b287bc 100644
--- a/src/WaveToy.F77
+++ b/src/WaveToy.F77
@@ -137,13 +137,17 @@ c Apply the outer boundary conditions
c -----------------------------------
if (CCTK_EQUALS(bound,"flat")) then
call BndFlatVN(ierr,cctkGH,sw,"wavetoy::phi")
- else if (CCTK_EQUALS(bound,"zero")) then
- call BndScalarVN(ierr,cctkGH,zero,sw,"wavetoy::phi")
- else if (CCTK_Equals(bound,"radiation").eq.1) then
+ else if (CCTK_EQUALS(bound,"static")) then
+ call BndStaticVN(ierr,cctkGH,sw,"wavetoy::phi")
+ else if (CCTK_EQUALS(bound,"radiation")) then
call BndRadiativeVN(ierr,cctkGH,sw,zero,one,"wavetoy::phi",
& "wavetoy::phi")
- else if (CCTK_Equals(bound,"robin").eq.1) then
+ else if (CCTK_EQUALS(bound,"robin")) then
call BndRobinVN(ierr,cctkGH, sw, finf, npow,"wavetoy::phi")
+ else if (CCTK_EQUALS(bound,"zero")) then
+ call BndScalarVN(ierr,cctkGH,zero,sw,"wavetoy::phi")
+ else if (.NOT. CCTK_EQUALS(bound,"none")) then
+ call CCTK_WARN(0,"Unrecognized boundary condition")
end if
if (ierr < 0) then