From 513fa03519c4d028ab6e37f794d2d34b6c7504af Mon Sep 17 00:00:00 2001 From: rideout Date: Thu, 15 May 2003 09:22:32 +0000 Subject: Setting keyword parameter bound to "none" no longer selects phi for the "None" boundary condition, so that other thorns can select phi for their own favorite boundary condition. Fixes SampleBoundary testsuite. git-svn-id: http://svn.cactuscode.org/arrangements/CactusWave/WaveToyFreeF90/trunk@55 daab82bb-f315-4ad1-b6d0-9353ff8b6e27 --- src/WaveToy.F90 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/WaveToy.F90 b/src/WaveToy.F90 index 4e53edb..ae52391 100644 --- a/src/WaveToy.F90 +++ b/src/WaveToy.F90 @@ -150,8 +150,7 @@ subroutine WaveToyFreeF90_Boundaries(CCTK_ARGUMENTS) ierr = Boundary_SelectVarForBC(cctkGH, CCTK_ALL_FACES, 1, -1, & "wavetoy::phi", "Scalar"); else if (CCTK_EQUALS(bound,"none")) then - ierr = Boundary_SelectVarForBC(cctkGH, CCTK_ALL_FACES, 1, -1, & - "wavetoy::phi", "None"); +! Do nothing else call CCTK_WARN(0,"Unrecognized boundary condition") end if -- cgit v1.2.3