diff options
-rw-r--r-- | src/Boundary.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Boundary.c b/src/Boundary.c index bf84f39..e6a3bb6 100644 --- a/src/Boundary.c +++ b/src/Boundary.c @@ -66,24 +66,24 @@ void WaveToyExtra_Boundary(CCTK_ARGUMENTS) { if (handle == -1) { - handle = Util_TableCreateFromString(custom_options); - if (handle < 0) - { - CCTK_VWarn(0,__LINE__,__FILE__,CCTK_THORNSTRING, - "WaveToyC_Boundaries: Error creating table for " - "boundary condition %s",custom_bound); - } + handle = Util_TableCreateFromString(custom_options); + if (handle < 0) + { + CCTK_VWarn(0,__LINE__,__FILE__,CCTK_THORNSTRING, + "WaveToyC_Boundaries: Error creating table for " + "boundary condition %s",custom_bound); + } } } ierr = Boundary_SelectVarForBC(cctkGH, CCTK_ALL_FACES, 1, handle, - "wavetoy::phi",custom_bound); + "wavetoy::phi",custom_bound); } if (ierr < 0) { CCTK_VWarn(0,__LINE__,__FILE__,CCTK_THORNSTRING, - "WaveToyC_Boundaries: Error selecting boundary " - "condition %s",bound); + "WaveToyC_Boundaries: Error selecting boundary " + "condition %s",bound); } return; |