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

Functions/Subroutines

subroutine tic (index)
 
subroutine toc (index)
 
subroutine unwindindex (index, il, jl, kl, i, j, k)
 
integer(kind=inttype) function windindex (i, j, k, il, jl, kl)
 
subroutine printoverlapmatrix (overlap)
 
subroutine getcumulativeform (sizeArray, n, cumArray)
 
subroutine transposeoverlap (A, B)
 
subroutine deallocatecsrmatrix (mat1)
 
subroutine computefringeprocarray (fringes, n, fringeProc, cumFringeProc, nFringeProc)
 
subroutine deallocateoblocks (oBlocks, n)
 
subroutine deallocateofringes (oFringes, n)
 
subroutine deallocateosurfs (oSurfs, n)
 
subroutine wallsonblock (wallsPresent)
 
subroutine flagforcedrecv
 
logical function isdonor (i)
 
logical function ishole (i)
 
logical function iscompute (i)
 
logical function isfloodseed (i)
 
logical function isflooded (i)
 
logical function iswalldonor (i)
 
logical function isreceiver (i)
 
subroutine setisdonor (i, flag)
 
subroutine setishole (i, flag)
 
subroutine setiscompute (i, flag)
 
subroutine setisfloodseed (i, flag)
 
subroutine setisflooded (i, flag)
 
subroutine setiswalldonor (i, flag)
 
subroutine setisreceiver (i, flag)
 
subroutine setstatus (i, isDonor, isHole, isCompute, isFloodSeed, isFlooded, isWallDonor, isReceiver)
 
subroutine getstatus (i, isDonor, isHole, isCompute, isFloodSeed, isFlooded, isWallDonor, isReceiver)
 
subroutine binsearchnodes (arr, searchNode, nn, searchInd)
 
subroutine binsearchpocketedgetype (arr, search, nn, searchInd)
 
subroutine qsortedgetype (arr, nn)
 
subroutine qsortfringetype (arr, nn, sortType)
 
subroutine addtofringelist (fringeList, n, fringe)
 
subroutine addtofringebuffer (intBuffer, realBuffer, n, fringe)
 
subroutine qsortpocketedgetype (arr, nn)
 
subroutine checkoverset (level, sps, totalOrphans, lastCall)
 
subroutine computequadraticweights (xSearch, xElem, uvwQuadratic)
 
subroutine matrixinv3by3 (a, ok_flag)
 
subroutine fringereduction (level, sps)
 
subroutine irregularcellcorrection (level, sps)
 
logical function checkoversetpresent ()
 
subroutine setiblankarray (level, sps)
 
subroutine dumpiblank (level, sps)
 
subroutine getworkarray (overlap, work)
 
subroutine writeoversetwall (oWall, fName)
 
subroutine getoversetiblank (blkList, n)
 
subroutine fractoweights (frac, weights)
 
subroutine fractoweights2 (frac, weights)
 
subroutine newtonupdate (xCen, blk, frac0, frac)
 

Function/Subroutine Documentation

◆ addtofringebuffer()

subroutine oversetutilities::addtofringebuffer ( integer(kind=inttype), dimension(:, :), pointer  intBuffer,
real(kind=realtype), dimension(:, :), pointer  realBuffer,
integer(kind=inttype), intent(inout)  n,
type(fringetype fringe 
)

Definition at line 1270 of file oversetUtilities.F90.

Referenced by fringesearch().

Here is the caller graph for this function:

◆ addtofringelist()

subroutine oversetutilities::addtofringelist ( type(fringetype), dimension(:), pointer  fringeList,
integer(kind=inttype), intent(inout)  n,
type(fringetype fringe 
)

Definition at line 1224 of file oversetUtilities.F90.

Referenced by oversetcommutilities::exchangefringes(), fringesearch(), and oversetapi::oversetcomm().

Here is the caller graph for this function:

◆ binsearchnodes()

subroutine oversetutilities::binsearchnodes ( integer(kind=inttype), dimension(nn), intent(in)  arr,
integer(kind=inttype), intent(in)  searchNode,
integer(kind=inttype), intent(in)  nn,
integer(kind=inttype), intent(out)  searchInd 
)

Definition at line 692 of file oversetUtilities.F90.

◆ binsearchpocketedgetype()

subroutine oversetutilities::binsearchpocketedgetype ( type(pocketedge), dimension(*), intent(in)  arr,
type(pocketedge), intent(in)  search,
integer(kind=inttype), intent(in)  nn,
integer(kind=inttype), intent(out)  searchInd 
)

Definition at line 734 of file oversetUtilities.F90.

◆ checkoverset()

subroutine oversetutilities::checkoverset ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sps,
integer(kind=inttype), intent(out)  totalOrphans,
logical, intent(in)  lastCall 
)

◆ checkoversetpresent()

logical function oversetutilities::checkoversetpresent

◆ computefringeprocarray()

subroutine oversetutilities::computefringeprocarray ( type(fringetype), dimension(n), intent(in)  fringes,
integer(kind=inttype), intent(in)  n,
integer(kind=inttype), dimension(nproc), intent(out)  fringeProc,
integer(kind=inttype), dimension(1:nproc + 1), intent(out)  cumFringeProc,
integer(kind=inttype), intent(out)  nFringeProc 
)

Definition at line 197 of file oversetUtilities.F90.

References communication::nproc.

Referenced by determinedonors(), and finaloversetcommstructures().

Here is the caller graph for this function:

◆ computequadraticweights()

subroutine oversetutilities::computequadraticweights ( real(kind=realtype), dimension(3), intent(in)  xSearch,
real(kind=realtype), dimension(3, -1:1, -1:1, -1:1), intent(in)  xElem,
real(kind=realtype), dimension(3), intent(inout)  uvwQuadratic 
)

Definition at line 1718 of file oversetUtilities.F90.

References constants::half, matrixinv3by3(), and constants::one.

Here is the call graph for this function:

◆ deallocatecsrmatrix()

subroutine oversetutilities::deallocatecsrmatrix ( type(csrmatrix), intent(inout)  mat1)

Definition at line 179 of file oversetUtilities.F90.

Referenced by oversetapi::oversetcomm().

Here is the caller graph for this function:

◆ deallocateoblocks()

subroutine oversetutilities::deallocateoblocks ( type(oversetblock), dimension(n), intent(inout)  oBlocks,
integer(kind=inttype)  n 
)

Definition at line 236 of file oversetUtilities.F90.

References adtbuild::destroyserialhex().

Referenced by oversetapi::oversetcomm().

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

◆ deallocateofringes()

subroutine oversetutilities::deallocateofringes ( type(oversetfringe), dimension(n), intent(inout)  oFringes,
integer(kind=inttype)  n 
)

Definition at line 271 of file oversetUtilities.F90.

Referenced by oversetapi::oversetcomm().

Here is the caller graph for this function:

◆ deallocateosurfs()

subroutine oversetutilities::deallocateosurfs ( type(oversetwall), dimension(n), intent(inout)  oSurfs,
integer(kind=inttype)  n 
)

Definition at line 314 of file oversetUtilities.F90.

References adtbuild::destroyserialquad(), and kdtree2_module::kdtree2destroy().

Referenced by zippermesh::createzippermesh(), and oversetapi::oversetcomm().

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

◆ dumpiblank()

subroutine oversetutilities::dumpiblank ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sps 
)

◆ flagforcedrecv()

subroutine oversetutilities::flagforcedrecv

◆ fractoweights()

subroutine oversetutilities::fractoweights ( real(kind=realtype), dimension(3), intent(in)  frac,
real(kind=realtype), dimension(8), intent(out)  weights 
)

◆ fractoweights2()

subroutine oversetutilities::fractoweights2 ( real(kind=realtype), dimension(3), intent(in)  frac,
real(kind=realtype), dimension(8), intent(out)  weights 
)

Definition at line 2521 of file oversetUtilities.F90.

References constants::one.

Referenced by fringesearch(), and usersurfaceintegrations::performinterpolation().

Here is the caller graph for this function:

◆ fringereduction()

subroutine oversetutilities::fringereduction ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sps 
)

◆ getcumulativeform()

subroutine oversetutilities::getcumulativeform ( integer(kind=inttype), dimension(n), intent(in)  sizeArray,
integer(kind=inttype), intent(in)  n,
integer(kind=inttype), dimension(0:n), intent(out)  cumArray 
)

Definition at line 91 of file oversetUtilities.F90.

Referenced by finaloversetcommstructures(), and usersurfaceintegrations::performinterpolation().

Here is the caller graph for this function:

◆ getoversetiblank()

subroutine oversetutilities::getoversetiblank ( integer(kind=inttype), dimension(n), intent(out)  blkList,
integer(kind=inttype), intent(in)  n 
)

◆ getstatus()

subroutine oversetutilities::getstatus ( integer(kind=inttype)  i,
logical  isDonor,
logical  isHole,
logical  isCompute,
logical  isFloodSeed,
logical  isFlooded,
logical  isWallDonor,
logical  isReceiver 
)

◆ getworkarray()

subroutine oversetutilities::getworkarray ( type(csrmatrix), intent(in)  overlap,
integer(kind=inttype), dimension(:, :), allocatable  work 
)

Definition at line 2317 of file oversetUtilities.F90.

References communication::myid, and oversetdata::ndomtotal.

Referenced by zippermesh::createzippermesh(), and oversetapi::oversetcomm().

Here is the caller graph for this function:

◆ irregularcellcorrection()

subroutine oversetutilities::irregularcellcorrection ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sps 
)

◆ iscompute()

logical function oversetutilities::iscompute ( integer(kind=inttype), intent(in)  i)

Definition at line 519 of file oversetUtilities.F90.

References getstatus(), isdonor(), isflooded(), isfloodseed(), ishole(), isreceiver(), and iswalldonor().

Referenced by floodinteriorcells(), fringereduction(), isdonor(), isflooded(), isfloodseed(), ishole(), isreceiver(), iswalldonor(), and oversetapi::oversetcomm().

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

◆ isdonor()

logical function oversetutilities::isdonor ( integer(kind=inttype), intent(in)  i)

Definition at line 503 of file oversetUtilities.F90.

References getstatus(), iscompute(), isflooded(), isfloodseed(), isreceiver(), and iswalldonor().

Referenced by irregularcellcorrection(), iscompute(), isflooded(), isfloodseed(), ishole(), isreceiver(), and iswalldonor().

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

◆ isflooded()

logical function oversetutilities::isflooded ( integer(kind=inttype), intent(in)  i)

Definition at line 535 of file oversetUtilities.F90.

References getstatus(), iscompute(), isdonor(), isfloodseed(), ishole(), isreceiver(), and iswalldonor().

Referenced by flagforcedrecv(), iscompute(), isdonor(), isfloodseed(), ishole(), isreceiver(), iswalldonor(), oversetapi::oversetcomm(), and setiblankarray().

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

◆ isfloodseed()

logical function oversetutilities::isfloodseed ( integer(kind=inttype), intent(in)  i)

Definition at line 527 of file oversetUtilities.F90.

References getstatus(), iscompute(), isdonor(), isflooded(), ishole(), isreceiver(), and iswalldonor().

Referenced by flagforcedrecv(), floodinteriorcells(), iscompute(), isdonor(), isflooded(), ishole(), isreceiver(), iswalldonor(), oversetapi::oversetcomm(), and setiblankarray().

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

◆ ishole()

logical function oversetutilities::ishole ( integer(kind=inttype), intent(in)  i)

Definition at line 511 of file oversetUtilities.F90.

References getstatus(), iscompute(), isdonor(), isflooded(), isfloodseed(), isreceiver(), and iswalldonor().

Referenced by floodinteriorcells(), iscompute(), isflooded(), isfloodseed(), isreceiver(), iswalldonor(), and setiblankarray().

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

◆ isreceiver()

logical function oversetutilities::isreceiver ( integer(kind=inttype), intent(in)  i)

◆ iswalldonor()

logical function oversetutilities::iswalldonor ( integer(kind=inttype), intent(in)  i)

Definition at line 543 of file oversetUtilities.F90.

References getstatus(), iscompute(), isdonor(), isflooded(), isfloodseed(), ishole(), and isreceiver().

Referenced by floodinteriorcells(), iscompute(), isdonor(), isflooded(), isfloodseed(), ishole(), isreceiver(), and oversetinitialization::reinitializestatus().

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

◆ matrixinv3by3()

subroutine oversetutilities::matrixinv3by3 ( real(kind=realtype), dimension(3, 4), intent(inout)  a,
logical, intent(out)  ok_flag 
)

Definition at line 1997 of file oversetUtilities.F90.

Referenced by computequadraticweights().

Here is the caller graph for this function:

◆ newtonupdate()

subroutine oversetutilities::newtonupdate ( real(kind=realtype), dimension(3), intent(in)  xCen,
real(kind=realtype), dimension(3, 3, 3, 3), intent(in)  blk,
real(kind=realtype), dimension(3), intent(in)  frac0,
real(kind=realtype), dimension(3), intent(out)  frac 
)

Definition at line 2539 of file oversetUtilities.F90.

References constants::eighth, and constants::one.

Referenced by oversetcommutilities::updateoversetconnectivity().

Here is the caller graph for this function:

◆ printoverlapmatrix()

subroutine oversetutilities::printoverlapmatrix ( type(csrmatrix), intent(in)  overlap)

Definition at line 55 of file oversetUtilities.F90.

References communication::myid.

Referenced by oversetapi::oversetcomm().

Here is the caller graph for this function:

◆ qsortedgetype()

subroutine oversetutilities::qsortedgetype ( type(oversetedge), dimension(*), intent(inout)  arr,
integer(kind=inttype), intent(in)  nn 
)

Definition at line 780 of file oversetUtilities.F90.

References utils::terminate().

Referenced by stringops::makepocketzip().

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

◆ qsortfringetype()

subroutine oversetutilities::qsortfringetype ( type(fringetype), dimension(*), intent(inout)  arr,
integer(kind=inttype), intent(in)  nn,
integer(kind=inttype), intent(in)  sortType 
)

Definition at line 998 of file oversetUtilities.F90.

References block::fringesorttype, constants::sortbydonor, constants::sortbyreceiver, and utils::terminate().

Referenced by determinedonors(), finaloversetcommstructures(), and oversetapi::oversetcomm().

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

◆ qsortpocketedgetype()

subroutine oversetutilities::qsortpocketedgetype ( type(pocketedge), dimension(*), intent(inout)  arr,
integer(kind=inttype), intent(in)  nn 
)

Definition at line 1326 of file oversetUtilities.F90.

References utils::terminate().

Here is the call graph for this function:

◆ setiblankarray()

subroutine oversetutilities::setiblankarray ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  sps 
)

◆ setiscompute()

subroutine oversetutilities::setiscompute ( integer(kind=inttype), intent(inout)  i,
logical  flag 
)

Definition at line 577 of file oversetUtilities.F90.

References getstatus(), and setstatus().

Referenced by floodinteriorcells(), fringereduction(), oversetinitialization::initializestatus(), irregularcellcorrection(), oversetapi::oversetcomm(), and oversetinitialization::reinitializestatus().

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

◆ setisdonor()

subroutine oversetutilities::setisdonor ( integer(kind=inttype), intent(inout)  i,
logical  flag 
)

Definition at line 559 of file oversetUtilities.F90.

References getstatus(), and setstatus().

Referenced by determinedonors(), oversetcommutilities::exchangestatustranspose(), floodinteriorcells(), oversetinitialization::initializestatus(), and irregularcellcorrection().

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

◆ setisflooded()

subroutine oversetutilities::setisflooded ( integer(kind=inttype), intent(inout)  i,
logical  flag 
)

Definition at line 595 of file oversetUtilities.F90.

References getstatus(), and setstatus().

Referenced by floodinteriorcells().

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

◆ setisfloodseed()

subroutine oversetutilities::setisfloodseed ( integer(kind=inttype), intent(inout)  i,
logical  flag 
)

Definition at line 586 of file oversetUtilities.F90.

References getstatus(), and setstatus().

Referenced by floodinteriorcells().

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

◆ setishole()

subroutine oversetutilities::setishole ( integer(kind=inttype), intent(inout)  i,
logical  flag 
)

Definition at line 568 of file oversetUtilities.F90.

References getstatus(), and setstatus().

Referenced by floodinteriorcells(), and fringereduction().

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

◆ setisreceiver()

subroutine oversetutilities::setisreceiver ( integer(kind=inttype), intent(inout)  i,
logical  flag 
)

Definition at line 613 of file oversetUtilities.F90.

References getstatus(), and setstatus().

Referenced by floodinteriorcells(), fringereduction(), oversetinitialization::initializestatus(), irregularcellcorrection(), and oversetapi::oversetcomm().

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

◆ setiswalldonor()

subroutine oversetutilities::setiswalldonor ( integer(kind=inttype), intent(inout)  i,
logical  flag 
)

Definition at line 604 of file oversetUtilities.F90.

References getstatus(), and setstatus().

Referenced by determinedonors(), oversetcommutilities::exchangestatustranspose(), oversetinitialization::initializestatus(), and oversetinitialization::reinitializestatus().

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

◆ setstatus()

subroutine oversetutilities::setstatus ( integer(kind=inttype), intent(out)  i,
logical  isDonor,
logical  isHole,
logical  isCompute,
logical  isFloodSeed,
logical  isFlooded,
logical  isWallDonor,
logical  isReceiver 
)

Definition at line 622 of file oversetUtilities.F90.

Referenced by setiscompute(), setisdonor(), setisflooded(), setisfloodseed(), setishole(), setisreceiver(), and setiswalldonor().

Here is the caller graph for this function:

◆ tic()

subroutine oversetutilities::tic ( integer(kind=inttype), intent(in)  index)

Definition at line 5 of file oversetUtilities.F90.

References oversetdata::tstart.

Referenced by fringesearch(), and oversetapi::oversetcomm().

Here is the caller graph for this function:

◆ toc()

subroutine oversetutilities::toc ( integer(kind=inttype), intent(in)  index)

Definition at line 14 of file oversetUtilities.F90.

References oversetdata::oversettimes, and oversetdata::tstart.

Referenced by fringesearch(), and oversetapi::oversetcomm().

Here is the caller graph for this function:

◆ transposeoverlap()

subroutine oversetutilities::transposeoverlap ( type(csrmatrix), intent(in)  A,
type(csrmatrix), intent(inout)  B 
)

Definition at line 111 of file oversetUtilities.F90.

Referenced by zippermesh::createzippermesh(), and oversetapi::oversetcomm().

Here is the caller graph for this function:

◆ unwindindex()

subroutine oversetutilities::unwindindex ( integer(kind=inttype), intent(in)  index,
integer(kind=inttype), intent(in)  il,
integer(kind=inttype), intent(in)  jl,
integer(kind=inttype), intent(in)  kl,
integer(kind=inttype), intent(out)  i,
integer(kind=inttype), intent(out)  j,
integer(kind=inttype), intent(out)  k 
)

Definition at line 22 of file oversetUtilities.F90.

Referenced by determinedonors(), finaloversetcommstructures(), oversetinitialization::initializeofringes(), and oversetapi::oversetcomm().

Here is the caller graph for this function:

◆ wallsonblock()

subroutine oversetutilities::wallsonblock ( logical, intent(out)  wallsPresent)

◆ windindex()

integer(kind=inttype) function oversetutilities::windindex ( integer(kind=inttype), intent(in)  i,
integer(kind=inttype), intent(in)  j,
integer(kind=inttype), intent(in)  k,
integer(kind=inttype), intent(in)  il,
integer(kind=inttype), intent(in)  jl,
integer(kind=inttype), intent(in)  kl 
)

Definition at line 40 of file oversetUtilities.F90.

Referenced by oversetcommutilities::exchangefringes(), fringesearch(), oversetinitialization::initializeofringes(), and oversetapi::oversetcomm().

Here is the caller graph for this function:

◆ writeoversetwall()

subroutine oversetutilities::writeoversetwall ( type(oversetwall oWall,
character(len=*), intent(in)  fName 
)

Definition at line 2354 of file oversetUtilities.F90.