|
ADflow
v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
|
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) |
| subroutine pointmatchedcommpattern::allocmemhalolist | ( | integer(kind=inttype), intent(in) | level | ) |
Definition at line 684 of file pointMatchedCommPattern.F90.
References halolist::cellhalo1st, halolist::cellindex, block::flowdoms, halolist::ncellhalo1st, block::ndom, halolist::nnodehalo1st, halolist::nodehalo1st, halolist::nodeindex, utils::terminate(), halolist::transformcell, and halolist::transformnode.
Referenced by determinecommpattern().


| 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().

| 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().


| 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().


| subroutine pointmatchedcommpattern::determinecommpattern | ( | integer(kind=inttype), intent(in) | level | ) |
Definition at line 5 of file pointMatchedCommPattern.F90.
References allocmemhalolist(), halolist::cellhalo1st, halolist::cellhalo2nd, halolist::cellindex, communication::commpatterncell_1st, communication::commpatterncell_2nd, communication::commpatternnode_1st, deallocatepointershalolist(), determinefacehalos(), determineindirecthalos(), determinenumberofhalos(), determineperiodicdata(), determineperiodicfaces(), finalcommstructures(), halolist::iicell1st, halolist::iicell2nd, halolist::iinode1st, init2ndlevelcellhalos(), communication::internalcell_1st, communication::internalcell_2nd, communication::internalnode_1st, halolist::ncellhalo1st, halolist::ncellhalo2nd, block::ndom, halolist::nnodehalo1st, halolist::nodehalo1st, halolist::nodeindex, periodicinfo::periodicglobal, qsorthalolisttype(), utils::terminate(), halolist::transformcell, and halolist::transformnode.
Referenced by preprocessingapi::preprocessing().


| subroutine pointmatchedcommpattern::determinefacehalos | ( | integer(kind=inttype), intent(in) | level | ) |
Definition at line 795 of file pointMatchedCommPattern.F90.
References blockpointers::bctype, bsearchcgnsperiodictype(), halolist::cellhalo1st, halolist::cellindex, cgnsgrid::cgnsdoms, blockpointers::cgnssubface, utils::delta(), blockpointers::dinbeg, blockpointers::dinend, blockpointers::djnbeg, blockpointers::djnend, blockpointers::dknbeg, blockpointers::dknend, haloranges(), halolist::iicell1st, halolist::iinode1st, blockpointers::l1, blockpointers::l2, blockpointers::l3, blockpointers::n1to1, blockpointers::nbkglobal, blockpointers::nbocos, blockpointers::neighblock, blockpointers::neighproc, halolist::nodehalo1st, halolist::nodeindex, periodicinfo::periodicglobal, utils::setpointers(), utils::terminate(), halolist::transformcell, and halolist::transformnode.
Referenced by determinecommpattern().


| 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 | ||
| ) |
Definition at line 212 of file pointMatchedCommPattern.F90.
References communication::adflow_comm_world, closestdirecthalos(), indirecthalo::indhalo, indirecthalosperlevel(), indirecthalo::nhaloperlev, indirecthalo::nhaloperproc, indirecthalo::nindhalo, indirecthalo::nlevofind, communication::nproc, qsortindhalotype(), and utils::terminate().
Referenced by determinecommpattern().


| subroutine pointmatchedcommpattern::determinenumberofhalos | ( | integer(kind=inttype), intent(in) | level | ) |
Definition at line 2396 of file pointMatchedCommPattern.F90.
References blockpointers::ib, blockpointers::ie, blockpointers::il, blockpointers::jb, blockpointers::je, blockpointers::jl, blockpointers::kb, blockpointers::ke, blockpointers::kl, halolist::ncellhalo1st, halolist::ncellhalo2nd, halolist::nnodehalo1st, blockpointers::nx, blockpointers::ny, blockpointers::nz, and utils::setpointers().
Referenced by determinecommpattern().


| 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().


| 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().


| 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().


| 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().


| 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().


| 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().

| 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 | ||
| ) |
Definition at line 1257 of file pointMatchedCommPattern.F90.
References blockpointers::bcfaceid, blockpointers::ie, constants::imax, constants::imin, blockpointers::inbeg, blockpointers::inend, blockpointers::je, constants::jmax, constants::jmin, blockpointers::jnbeg, blockpointers::jnend, blockpointers::ke, constants::kmax, constants::kmin, blockpointers::knbeg, and blockpointers::knend.
Referenced by determinefacehalos().

| 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 | ||
| ) |
Definition at line 2451 of file pointMatchedCommPattern.F90.
References communication::adflow_comm_world, fillsendbuf(), finddonorsrecvbuffer(), indirecthalo::indhalo, communication::myid, indirecthalo::nhaloperlev, indirecthalo::nhaloperproc, communication::nproc, communication::recvrequests, communication::sendrequests, storehalosinlist(), and utils::terminate().
Referenced by determineindirecthalos().


| 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().


| 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().


| 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().


| 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().


| 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().

