aboutsummaryrefslogtreecommitdiff
path: root/src/DeltaInitial.F90
blob: 97b43b32fce1657e4823d0e835be9133ca19a91e (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
! Check if there are enough grid cells and ghost zones to compute the finite
! differences.
! $Header$

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

subroutine SBP_DeltaInitial(CCTK_ARGUMENTS)

  implicit none

  DECLARE_CCTK_PARAMETERS
  DECLARE_CCTK_ARGUMENTS
  DECLARE_CCTK_FUNCTIONS

!$OMP PARALLEL WORKSHARE
  sbp_dx = CCTK_DELTA_SPACE(1)*h_scaling(1)
  sbp_dy = CCTK_DELTA_SPACE(2)*h_scaling(2)
  sbp_dz = CCTK_DELTA_SPACE(3)*h_scaling(3)
!$OMP END PARALLEL WORKSHARE

end subroutine SBP_DeltaInitial