ADflow  v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
Functions/Subroutines
haloexchange Module Reference

Functions/Subroutines

subroutine whalo1 (level, start, end, commPressure, commGamma, commViscous)
 
subroutine whalo2 (level, start, end, commPressure, commGamma, commViscous)
 
subroutine orphanaverage (wstart, wend, calcPressure, calcGamma, calcLamVis, calcEddyVis)
 
subroutine setcommpointers (start, end, commPressure, commVarGamma, commLamVis, commEddyVis, level, sps, derivPointers, nVar, varOffset)
 
subroutine whalo1to1 (level, start, end, commPressure, commVarGamma, commLamVis, commEddyVis, commPattern, internal)
 
subroutine correctperiodicvelocity (level, sp, nPeriodic, periodicData)
 
subroutine whalo1to1realgeneric (nVar, level, sps, commPattern, internal)
 
subroutine whalo1to1realgeneric_b (nVar, level, sps, commPattern, internal)
 
subroutine whalo1to1intgeneric (nVar, level, sps, commPattern, internal)
 
subroutine whalo1to1intgeneric_b (nVar, level, sps, commPattern, internal)
 
subroutine whalo1to1_d (level, start, end, commPressure, commVarGamma, commLamVis, commEddyVis, commPattern, internal)
 
subroutine whalo1to1_b (level, start, end, commPressure, commVarGamma, commLamVis, commEddyVis, commPattern, internal)
 
subroutine woverset (level, start, end, commPressure, commVarGamma, commLamVis, commEddyVis, commPattern, internal)
 
subroutine woverset_d (level, start, end, commPressure, commVarGamma, commLamVis, commEddyVis, commPattern, internal)
 
subroutine woverset_b (level, start, end, commPressure, commVarGamma, commLamVis, commEddyVis, commPattern, internal)
 
subroutine woversetgeneric (nVar, level, sps, commPattern, Internal)
 
subroutine woversetgeneric_d (nVar, level, sps, commPattern, Internal)
 
subroutine woversetgeneric_b (nVar, level, sps, commPattern, Internal)
 
subroutine whalo2_b (level, start, end, commPressure, commGamma, commViscous)
 
subroutine whalo2_d (level, start, end, commPressure, commGamma, commViscous)
 
subroutine reshalo1 (level, start, end)
 
subroutine exchangecoor (level)
 
subroutine correctperiodiccoor (level, sp, nPeriodic, periodicData)
 
subroutine exchangecoor_b (level)
 
subroutine exchangecoor_d (level)
 
subroutine flowintegrationzippercomm (isInflow, vars, sps)
 
subroutine flowintegrationzippercomm_d (isInflow, vars, varsd, sps)
 
subroutine flowintegrationzippercomm_b (isInflow, vars, varsd, sps)
 
subroutine wallintegrationzippercomm (vars, sps)
 
subroutine wallintegrationzippercomm_d (vars, varsd, sps)
 
subroutine wallintegrationzippercomm_b (vars, varsd, sps)
 

Function/Subroutine Documentation

◆ correctperiodiccoor()

subroutine haloexchange::correctperiodiccoor ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sp,
integer(kind=inttype), intent(in)  nPeriodic,
type(periodicdatatype), dimension(:), pointer  periodicData 
)

Definition at line 2644 of file haloExchange.F90.

References block::flowdoms.

Referenced by exchangecoor().

Here is the caller graph for this function:

◆ correctperiodicvelocity()

subroutine haloexchange::correctperiodicvelocity ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sp,
integer(kind=inttype), intent(in)  nPeriodic,
type(periodicdatatype), dimension(:), pointer  periodicData 
)

Definition at line 487 of file haloExchange.F90.

References block::flowdoms, constants::ivx, constants::ivy, and constants::ivz.

Referenced by whalo1to1().

Here is the caller graph for this function:

◆ exchangecoor()

subroutine haloexchange::exchangecoor ( integer(kind=inttype), intent(in)  level)

◆ exchangecoor_b()

subroutine haloexchange::exchangecoor_b ( integer(kind=inttype), intent(in)  level)

◆ exchangecoor_d()

subroutine haloexchange::exchangecoor_d ( integer(kind=inttype), intent(in)  level)

◆ flowintegrationzippercomm()

subroutine haloexchange::flowintegrationzippercomm ( logical, intent(in)  isInflow,
real(kind=realtype), dimension(:, :)  vars,
integer(kind=inttype)  sps 
)

◆ flowintegrationzippercomm_b()

subroutine haloexchange::flowintegrationzippercomm_b ( logical, intent(in)  isInflow,
real(kind=realtype), dimension(:, :)  vars,
real(kind=realtype), dimension(:, :)  varsd,
integer(kind=inttype)  sps 
)

◆ flowintegrationzippercomm_d()

subroutine haloexchange::flowintegrationzippercomm_d ( logical, intent(in)  isInflow,
real(kind=realtype), dimension(:, :)  vars,
real(kind=realtype), dimension(:, :)  varsd,
integer(kind=inttype)  sps 
)

◆ orphanaverage()

subroutine haloexchange::orphanaverage ( integer(kind=inttype), intent(in)  wstart,
integer(kind=inttype), intent(in)  wend,
logical, intent(in)  calcPressure,
logical, intent(in)  calcGamma,
logical, intent(in)  calcLamVis,
logical, intent(in)  calcEddyVis 
)

◆ reshalo1()

subroutine haloexchange::reshalo1 ( integer(kind=inttype)  level,
integer(kind=inttype)  start,
integer(kind=inttype)  end 
)

Definition at line 2225 of file haloExchange.F90.

References utils::echk(), and utils::setpointers().

Referenced by writesol().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setcommpointers()

subroutine haloexchange::setcommpointers ( integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  end,
logical, intent(in)  commPressure,
logical, intent(in)  commVarGamma,
logical, intent(in)  commLamVis,
logical, intent(in)  commEddyVis,
integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sps,
logical, intent(in)  derivPointers,
integer(kind=inttype), intent(out)  nVar,
integer(kind=inttype), intent(in)  varOffset 
)

Definition at line 356 of file haloExchange.F90.

References block::flowdoms, block::flowdomsd, and block::ndom.

Referenced by whalo1to1(), whalo1to1_b(), whalo1to1_d(), woverset(), woverset_b(), and woverset_d().

Here is the caller graph for this function:

◆ wallintegrationzippercomm()

subroutine haloexchange::wallintegrationzippercomm ( real(kind=realtype), dimension(:, :)  vars,
integer(kind=inttype)  sps 
)

◆ wallintegrationzippercomm_b()

subroutine haloexchange::wallintegrationzippercomm_b ( real(kind=realtype), dimension(:, :)  vars,
real(kind=realtype), dimension(:, :)  varsd,
integer(kind=inttype)  sps 
)

◆ wallintegrationzippercomm_d()

subroutine haloexchange::wallintegrationzippercomm_d ( real(kind=realtype), dimension(:, :)  vars,
real(kind=realtype), dimension(:, :)  varsd,
integer(kind=inttype)  sps 
)

◆ whalo1()

subroutine haloexchange::whalo1 ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  end,
logical, intent(in)  commPressure,
logical, intent(in)  commGamma,
logical, intent(in)  commViscous 
)

◆ whalo1to1()

subroutine haloexchange::whalo1to1 ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  end,
logical, intent(in)  commPressure,
logical, intent(in)  commVarGamma,
logical, intent(in)  commLamVis,
logical, intent(in)  commEddyVis,
type(commtype), dimension(*), intent(in)  commPattern,
type(internalcommtype), dimension(*), intent(in)  internal 
)

Definition at line 421 of file haloExchange.F90.

References correctperiodicvelocity(), constants::ivx, setcommpointers(), and whalo1to1realgeneric().

Referenced by whalo1(), and whalo2().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ whalo1to1_b()

subroutine haloexchange::whalo1to1_b ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  end,
logical, intent(in)  commPressure,
logical, intent(in)  commVarGamma,
logical, intent(in)  commLamVis,
logical, intent(in)  commEddyVis,
type(commtype), dimension(*), intent(in)  commPattern,
type(internalcommtype), dimension(*), intent(in)  internal 
)

Definition at line 1292 of file haloExchange.F90.

References inputtimespectral::ntimeintervalsspectral, setcommpointers(), and whalo1to1realgeneric_b().

Referenced by whalo2_b().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ whalo1to1_d()

subroutine haloexchange::whalo1to1_d ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  end,
logical, intent(in)  commPressure,
logical, intent(in)  commVarGamma,
logical, intent(in)  commLamVis,
logical, intent(in)  commEddyVis,
type(commtype), dimension(*), intent(in)  commPattern,
type(internalcommtype), dimension(*), intent(in)  internal 
)

Definition at line 1254 of file haloExchange.F90.

References inputtimespectral::ntimeintervalsspectral, setcommpointers(), and whalo1to1realgeneric().

Referenced by whalo2_d().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ whalo1to1intgeneric()

subroutine haloexchange::whalo1to1intgeneric ( integer(kind=inttype)  nVar,
integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sps,
type(commtype), dimension(*), intent(in)  commPattern,
type(internalcommtype), dimension(*), intent(in)  internal 
)

◆ whalo1to1intgeneric_b()

subroutine haloexchange::whalo1to1intgeneric_b ( integer(kind=inttype)  nVar,
integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sps,
type(commtype), dimension(*), intent(in)  commPattern,
type(internalcommtype), dimension(*), intent(in)  internal 
)

Definition at line 1071 of file haloExchange.F90.

References communication::adflow_comm_world, utils::echk(), block::flowdoms, communication::myid, communication::recvrequests, and communication::sendrequests.

Referenced by oversetutilities::flagforcedrecv().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ whalo1to1realgeneric()

subroutine haloexchange::whalo1to1realgeneric ( integer(kind=inttype)  nVar,
integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sps,
type(commtype), dimension(*), intent(in)  commPattern,
type(internalcommtype), dimension(*), intent(in)  internal 
)

◆ whalo1to1realgeneric_b()

subroutine haloexchange::whalo1to1realgeneric_b ( integer(kind=inttype)  nVar,
integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sps,
type(commtype), dimension(*), intent(in)  commPattern,
type(internalcommtype), dimension(*), intent(in)  internal 
)

◆ whalo2()

subroutine haloexchange::whalo2 ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  end,
logical, intent(in)  commPressure,
logical, intent(in)  commGamma,
logical, intent(in)  commViscous 
)

◆ whalo2_b()

subroutine haloexchange::whalo2_b ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  end,
logical, intent(in)  commPressure,
logical, intent(in)  commGamma,
logical, intent(in)  commViscous 
)

◆ whalo2_d()

subroutine haloexchange::whalo2_d ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  end,
logical, intent(in)  commPressure,
logical, intent(in)  commGamma,
logical, intent(in)  commViscous 
)

Definition at line 2140 of file haloExchange.F90.

References flowutils_d::computeetotblock_d(), inputphysics::cpmodel, constants::cptempcurvefits, flowvarrefstate::eddymodel, utils::getcorrectfork(), utils::setpointers_d(), flowvarrefstate::viscous, whalo1to1_d(), and woverset_d().

Referenced by masterroutines::master_d().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ woverset()

subroutine haloexchange::woverset ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  end,
logical, intent(in)  commPressure,
logical, intent(in)  commVarGamma,
logical, intent(in)  commLamVis,
logical, intent(in)  commEddyVis,
type(commtype), dimension(:, :), intent(in)  commPattern,
type(internalcommtype), dimension(:, :), intent(in)  internal 
)

Definition at line 1330 of file haloExchange.F90.

References inputtimespectral::ntimeintervalsspectral, setcommpointers(), and woversetgeneric().

Referenced by whalo1(), and whalo2().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ woverset_b()

subroutine haloexchange::woverset_b ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  end,
logical, intent(in)  commPressure,
logical, intent(in)  commVarGamma,
logical, intent(in)  commLamVis,
logical, intent(in)  commEddyVis,
type(commtype), dimension(:, :), intent(in)  commPattern,
type(internalcommtype), dimension(:, :), intent(in)  internal 
)

Definition at line 1426 of file haloExchange.F90.

References inputtimespectral::ntimeintervalsspectral, setcommpointers(), and woversetgeneric_b().

Referenced by whalo2_b().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ woverset_d()

subroutine haloexchange::woverset_d ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  end,
logical, intent(in)  commPressure,
logical, intent(in)  commVarGamma,
logical, intent(in)  commLamVis,
logical, intent(in)  commEddyVis,
type(commtype), dimension(:, :), intent(in)  commPattern,
type(internalcommtype), dimension(:, :), intent(in)  internal 
)

Definition at line 1376 of file haloExchange.F90.

References inputtimespectral::ntimeintervalsspectral, setcommpointers(), and woversetgeneric_d().

Referenced by whalo2_d().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ woversetgeneric()

subroutine haloexchange::woversetgeneric ( integer(kind=inttype)  nVar,
integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sps,
type(commtype), dimension(:, :), intent(in)  commPattern,
type(internalcommtype), dimension(:, :), intent(in)  Internal 
)

Definition at line 1471 of file haloExchange.F90.

References communication::adflow_comm_world, utils::echk(), block::flowdoms, communication::myid, communication::recvbuffer, communication::recvrequests, communication::sendbuffer, and communication::sendrequests.

Referenced by woverset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ woversetgeneric_b()

subroutine haloexchange::woversetgeneric_b ( integer(kind=inttype)  nVar,
integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sps,
type(commtype), dimension(:, :), intent(in)  commPattern,
type(internalcommtype), dimension(:, :), intent(in)  Internal 
)

Definition at line 1861 of file haloExchange.F90.

References communication::adflow_comm_world, utils::echk(), block::flowdoms, communication::myid, communication::recvbuffer, communication::recvrequests, communication::sendbuffer, communication::sendrequests, and constants::zero.

Referenced by woverset_b().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ woversetgeneric_d()

subroutine haloexchange::woversetgeneric_d ( integer(kind=inttype)  nVar,
integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sps,
type(commtype), dimension(:, :), intent(in)  commPattern,
type(internalcommtype), dimension(:, :), intent(in)  Internal 
)

Definition at line 1656 of file haloExchange.F90.

References communication::adflow_comm_world, utils::echk(), block::flowdoms, communication::myid, communication::recvbuffer, communication::recvrequests, communication::sendbuffer, and communication::sendrequests.

Referenced by woverset_d().

Here is the call graph for this function:
Here is the caller graph for this function: