Skip to content

Commit

Permalink
wave_sine.par: Increase ghost and boundary size to 2
Browse files Browse the repository at this point in the history
This is necessary because Kranc checks that you have enough ghost and boundary points for all the finite difference operators you use, and the boundary condition calculation uses PDonesided2nd, which requires a ghost size of 2.  Given how this is used, it almost certainly can be used with a smaller ghost size, but the check in Kranc does not know this.
  • Loading branch information
ianhinder committed Nov 28, 2011
1 parent 2c19a5e commit 0fae31f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Examples/wave_sine.par
Expand Up @@ -6,16 +6,16 @@ ActiveThorns = "IOUtil Carpet CarpetLib CarpetSlab CoordBase CoordBase SymBase C

CoordBase::domainsize = minmax

CoordBase::boundary_size_x_lower = 1
CoordBase::boundary_size_y_lower = 1
CoordBase::boundary_size_z_lower = 1
CoordBase::boundary_size_x_lower = 2
CoordBase::boundary_size_y_lower = 2
CoordBase::boundary_size_z_lower = 2
CoordBase::boundary_shiftout_x_lower = 1
CoordBase::boundary_shiftout_y_lower = 1
CoordBase::boundary_shiftout_z_lower = 1

CoordBase::boundary_size_x_upper = 1
CoordBase::boundary_size_y_upper = 1
CoordBase::boundary_size_z_upper = 1
CoordBase::boundary_size_x_upper = 2
CoordBase::boundary_size_y_upper = 2
CoordBase::boundary_size_z_upper = 2
CoordBase::boundary_shiftout_x_upper = 0
CoordBase::boundary_shiftout_y_upper = 0
CoordBase::boundary_shiftout_z_upper = 0
Expand All @@ -34,7 +34,7 @@ CoordBase::dx = 0.05
CoordBase::dy = 0.05
CoordBase::dz = 0.05

driver::ghost_size = 1
driver::ghost_size = 2
Carpet::domain_from_coordbase = "yes"
Carpet::poison_new_timelevels = "yes"
Carpet::check_for_poison = "no"
Expand Down

0 comments on commit 0fae31f

Please sign in to comment.