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

Functions/Subroutines

subroutine determinecommpattern (level)
 
subroutine deallocatepointershalolist (entityHalo, nHalo)
 
subroutine determineindirecthalos (nHalo, iihalo, entityHalo, transform, entityIndex, start, nLevel, offset, gridLevel)
 
subroutine determineperiodicdata (entityHalo, nHalo, externalComm, internalComm)
 
subroutine allocmemhalolist (level)
 
subroutine determinefacehalos (level)
 
subroutine haloranges (mm, offset, cellRange, nodeRange, step)
 
subroutine init2ndlevelcellhalos
 
subroutine qsorthalolisttype (arr, nn)
 
subroutine finalcommstructures (entityHalo, nHalo, commPattern, internalComm, nInterp)
 
subroutine closestdirecthalos (entityHalo, entityIndex, start, nLevel, offset, gridLevel)
 
integer(kind=inttype) function getnumberindirecthalos (start, nLevel, offset, gridLevel)
 
subroutine determinenumberofhalos (level)
 
subroutine indirecthalosperlevel (level, iihalo, entityHalo, transform, entityIndex)
 
subroutine fillsendbuf (sendBuf, proc, entityHalo, transform, level, mm)
 
subroutine finddonorsrecvbuffer (recvBuf, nHalos, entityHalo, entityIndex, level, nItemReturn)
 
subroutine storehalosinlist (buffer, bufSize, proc, level, nItemReturn, entityHalo, entityIndex, iihalo)
 
subroutine qsortperiodicsubfaceshalotype (arr, nn)
 
subroutine determineperiodicfaces
 
integer(kind=inttype) function bsearchcgnsperiodictype (key, base)
 
subroutine qsortindhalotype (arr, nn)
 

Function/Subroutine Documentation

◆ allocmemhalolist()

subroutine pointmatchedcommpattern::allocmemhalolist ( integer(kind=inttype), intent(in)  level)

◆ bsearchcgnsperiodictype()

integer(kind=inttype) function pointmatchedcommpattern::bsearchcgnsperiodictype ( type(cgnsperiodictype), intent(in)  key,
type(cgnsperiodictype), dimension(:), intent(in)  base 
)

Definition at line 3500 of file pointMatchedCommPattern.F90.

Referenced by determinefacehalos().

Here is the caller graph for this function:

◆ closestdirecthalos()

subroutine pointmatchedcommpattern::closestdirecthalos ( type(halolisttype), dimension(:), intent(in)  entityHalo,
type(indexlisttype), dimension(:), intent(in)  entityIndex,
integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  nLevel,
integer(kind=inttype), intent(in)  offset,
integer(kind=inttype), intent(in)  gridLevel 
)

Definition at line 2072 of file pointMatchedCommPattern.F90.

References block::flowdoms, getnumberindirecthalos(), indirecthalo::indhalo, block::ndom, indirecthalo::nindhalo, bchalo::sortbchalotype(), and utils::terminate().

Referenced by determineindirecthalos().

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

◆ deallocatepointershalolist()

subroutine pointmatchedcommpattern::deallocatepointershalolist ( type(halolisttype), dimension(*), intent(inout)  entityHalo,
integer(kind=inttype), intent(in)  nHalo 
)

Definition at line 171 of file pointMatchedCommPattern.F90.

References utils::terminate().

Referenced by determinecommpattern().

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

◆ determinecommpattern()

subroutine pointmatchedcommpattern::determinecommpattern ( integer(kind=inttype), intent(in)  level)

◆ determinefacehalos()

subroutine pointmatchedcommpattern::determinefacehalos ( integer(kind=inttype), intent(in)  level)

◆ determineindirecthalos()

subroutine pointmatchedcommpattern::determineindirecthalos ( integer(kind=inttype), intent(in)  nHalo,
integer(kind=inttype), intent(inout)  iihalo,
type(halolisttype), dimension(:), intent(inout)  entityHalo,
integer(kind=inttype), dimension(:, :), intent(in)  transform,
type(indexlisttype), dimension(:), intent(inout)  entityIndex,
integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  nLevel,
integer(kind=inttype), intent(in)  offset,
integer(kind=inttype), intent(in)  gridLevel 
)

◆ determinenumberofhalos()

subroutine pointmatchedcommpattern::determinenumberofhalos ( integer(kind=inttype), intent(in)  level)

◆ determineperiodicdata()

subroutine pointmatchedcommpattern::determineperiodicdata ( type(halolisttype), dimension(:), intent(in)  entityHalo,
integer(kind=inttype), intent(in)  nHalo,
type(commtype), intent(inout)  externalComm,
type(internalcommtype), intent(inout)  internalComm 
)

Definition at line 342 of file pointMatchedCommPattern.F90.

References communication::myid, sorting::qsortintegers(), qsortperiodicsubfaceshalotype(), setperiodicdata(), and utils::terminate().

Referenced by determinecommpattern().

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

◆ determineperiodicfaces()

subroutine pointmatchedcommpattern::determineperiodicfaces

Definition at line 3448 of file pointMatchedCommPattern.F90.

References cgnsgrid::cgnsdoms, cgnsgrid::cgnsndom, periodicinfo::nperiodicglobal, periodicinfo::periodicglobal, and utils::terminate().

Referenced by determinecommpattern().

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

◆ fillsendbuf()

subroutine pointmatchedcommpattern::fillsendbuf ( integer(kind=inttype), dimension(:), intent(out)  sendBuf,
integer(kind=inttype), intent(in)  proc,
type(halolisttype), dimension(:), intent(in)  entityHalo,
integer(kind=inttype), dimension(:, :), intent(in)  transform,
integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(out)  mm 
)

Definition at line 2846 of file pointMatchedCommPattern.F90.

References utils::delta(), indirecthalo::indhalo, indirecthalo::nhaloperlev, and indirecthalo::nhaloperproc.

Referenced by indirecthalosperlevel().

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

◆ finalcommstructures()

subroutine pointmatchedcommpattern::finalcommstructures ( type(halolisttype), dimension(*), intent(in)  entityHalo,
integer(kind=inttype), intent(in)  nHalo,
type(commtype), intent(out)  commPattern,
type(internalcommtype), intent(out)  internalComm,
integer(kind=inttype), intent(in)  nInterp 
)

Definition at line 1654 of file pointMatchedCommPattern.F90.

References communication::adflow_comm_world, communication::myid, communication::nproc, communication::recvrequests, communication::sendrequests, and utils::terminate().

Referenced by determinecommpattern().

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

◆ finddonorsrecvbuffer()

subroutine pointmatchedcommpattern::finddonorsrecvbuffer ( integer(kind=inttype), dimension(:), intent(inout)  recvBuf,
integer(kind=inttype), intent(in)  nHalos,
type(halolisttype), dimension(:), intent(in)  entityHalo,
type(indexlisttype), dimension(:), intent(in)  entityIndex,
integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  nItemReturn 
)

Definition at line 2940 of file pointMatchedCommPattern.F90.

References communication::myid, and utils::terminate().

Referenced by indirecthalosperlevel().

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

◆ getnumberindirecthalos()

integer(kind=inttype) function pointmatchedcommpattern::getnumberindirecthalos ( integer(kind=inttype), intent(in)  start,
integer(kind=inttype), intent(in)  nLevel,
integer(kind=inttype), intent(in)  offset,
integer(kind=inttype), intent(in)  gridLevel 
)

Definition at line 2321 of file pointMatchedCommPattern.F90.

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

Referenced by closestdirecthalos().

Here is the caller graph for this function:

◆ haloranges()

subroutine pointmatchedcommpattern::haloranges ( integer(kind=inttype), intent(in)  mm,
integer(kind=inttype), dimension(3), intent(out)  offset,
integer(kind=inttype), dimension(3, 2), intent(out)  cellRange,
integer(kind=inttype), dimension(3, 2), intent(out)  nodeRange,
integer(kind=inttype), dimension(3), intent(out)  step 
)

◆ indirecthalosperlevel()

subroutine pointmatchedcommpattern::indirecthalosperlevel ( integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(inout)  iihalo,
type(halolisttype), dimension(:), intent(inout)  entityHalo,
integer(kind=inttype), dimension(:, :), intent(in)  transform,
type(indexlisttype), dimension(:), intent(inout)  entityIndex 
)

◆ init2ndlevelcellhalos()

subroutine pointmatchedcommpattern::init2ndlevelcellhalos

Definition at line 1357 of file pointMatchedCommPattern.F90.

References halolist::cellhalo1st, halolist::cellhalo2nd, halolist::iicell2nd, halolist::ncellhalo1st, halolist::ncellhalo2nd, and utils::terminate().

Referenced by determinecommpattern().

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

◆ qsorthalolisttype()

subroutine pointmatchedcommpattern::qsorthalolisttype ( type(halolisttype), dimension(*), intent(inout)  arr,
integer(kind=inttype), intent(in)  nn 
)

Definition at line 1438 of file pointMatchedCommPattern.F90.

References utils::terminate().

Referenced by determinecommpattern().

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

◆ qsortindhalotype()

subroutine pointmatchedcommpattern::qsortindhalotype ( type(indirecthalotype), dimension(*), intent(inout)  arr,
integer(kind=inttype), intent(in)  nn 
)

Definition at line 3575 of file pointMatchedCommPattern.F90.

References utils::terminate().

Referenced by determineindirecthalos().

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

◆ qsortperiodicsubfaceshalotype()

subroutine pointmatchedcommpattern::qsortperiodicsubfaceshalotype ( type(periodicsubfaceshalotype), dimension(*), intent(inout)  arr,
integer(kind=inttype), intent(in)  nn 
)

Definition at line 3232 of file pointMatchedCommPattern.F90.

References utils::terminate().

Referenced by determineperiodicdata().

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

◆ storehalosinlist()

subroutine pointmatchedcommpattern::storehalosinlist ( integer(kind=inttype), dimension(:), intent(in)  buffer,
integer(kind=inttype), intent(in)  bufSize,
integer(kind=inttype), intent(in)  proc,
integer(kind=inttype), intent(in)  level,
integer(kind=inttype), intent(in)  nItemReturn,
type(halolisttype), dimension(:), intent(inout)  entityHalo,
type(indexlisttype), dimension(:), intent(inout)  entityIndex,
integer(kind=inttype), intent(inout)  iihalo 
)

Definition at line 3104 of file pointMatchedCommPattern.F90.

References indirecthalo::indhalo, indirecthalo::nhaloperlev, indirecthalo::nhaloperproc, and utils::terminate().

Referenced by indirecthalosperlevel().

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