Struct2D  1.0
Solution of 2-D Euler- and Navier-Stokes Equations on Structured Grids
 All Classes Files Functions Variables
bcondCut.f90 File Reference

Treatment of interior cuts and periodic boundaries. More...

Functions/Subroutines

subroutine bcondcut (lb, lbeg, lend, lbs, lbegs, lends, nvars, var)
 Sets boundary conditions at cuts / periodic boundaries by exchanging the quantity (var) between the dummy and the real cells. It is assumed that both segments (current and source) extend in the same coordinate direction (e.g., i=const). More...
 
subroutine bcondcutsingle (lb, lbeg, lend, lbs, lbegs, lends, var)
 Exchanges single variable at cuts / periodic boundaries between the dummy and the real cells. It is assumed that both segments (current and source) extend in the same coordinate direction (e.g., i=const). This function is utilized for cell volumes and spectral radii. More...
 

Function/Subroutine Documentation

subroutine bcondcut ( integer, intent(in)  lb,
integer, intent(in)  lbeg,
integer, intent(in)  lend,
integer, intent(in)  lbs,
integer, intent(in)  lbegs,
integer, intent(in)  lends,
integer, intent(in)  nvars,
real(rtype), dimension(:,0:,0:)  var 
)
Parameters
lbside of the computational domain (1: j=2, 2: i=i2, 3: j=j2,4: i=2)
lbegstart index of the boundary segment
lendend index of the boundary segment
lbsside of the computational domain (source segment)
lbegsstart index of the source segment
lendsend index of the source segment
nvarsnumber of variables to exchange (1st dimension of var)
varvariables to exchange
subroutine bcondcutsingle ( integer, intent(in)  lb,
integer, intent(in)  lbeg,
integer, intent(in)  lend,
integer, intent(in)  lbs,
integer, intent(in)  lbegs,
integer, intent(in)  lends,
real(rtype), dimension(0:,0:)  var 
)
Parameters
lbside of the computational domain (1: j=2, 2: i=i2, 3: j=j2,4: i=2)
lbegstart index of the boundary segment
lendend index of the boundary segment
lbsside of the computational domain (source segment)
lbegsstart index of the source segment
lendsend index of the source segment
varvariable to exchange