aboutsummaryrefslogtreecommitdiff
path: root/CarpetExtra/WaveToyExpl/src/intboundaries.F77
blob: e428bc5b5cc1426d37141d88c1ce709a6eaff574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
c     $Header:$

#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Functions.h"
#include "cctk_Parameters.h"

      subroutine WaveToyExpl_IntBoundaries (CCTK_ARGUMENTS)
      implicit none
      DECLARE_CCTK_ARGUMENTS
      DECLARE_CCTK_FUNCTIONS
      DECLARE_CCTK_PARAMETERS
      CCTK_INT bndwidth
      parameter (bndwidth = 1)
      character fbound*100
      CCTK_INT  fboundlen
      integer ierr
      call CCTK_FortranString (fboundlen, bound, fbound)
      if (fboundlen.lt.0) call CCTK_WARN (0, "internal error")
      ierr = Boundary_SelectGroupForBC (cctkGH, CCTK_ALL_FACES, bndwidth, -1,
     $     "WaveToyExpl::scalarevolveint", fbound);
      if (ierr.ne.0) call CCTK_WARN (0, "internal error")
      call CartSymGN (ierr, cctkGH, "WaveToyExpl::scalarevolveint")
      if (ierr.ne.0) call CCTK_WARN (0, "internal error")
      end