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

Functions/Subroutines

subroutine containmentsearch (nCoor, coor, adtID, procID, elementType, elementID, uvw, nInterpol, arrDonor, arrInterpol)
 
subroutine failsafesearch (nCoor, coor, adtID, procID, elementType, elementID, uvw, dist2, nInterpol, arrDonor, arrInterpol)
 
subroutine initsearch (nCoor, coor, dist2, ADT, containmentSearch)
 
subroutine mindistancesearch (nCoor, coor, adtID, procID, elementType, elementID, uvw, dist2, nInterpol, arrDonor, arrInterpol)
 
subroutine search (nCoor, coor, procID, elementType, elementID, uvw, dist2, ADT, containmentSearch, nInterpol, arrDonor, arrInterpol)
 

Function/Subroutine Documentation

◆ containmentsearch()

subroutine adtsearch::containmentsearch ( integer(kind=inttype), intent(in)  nCoor,
real(kind=realtype), dimension(:, :), intent(in)  coor,
character(len=*), intent(in)  adtID,
integer, dimension(:), intent(out)  procID,
integer(kind=adtelementtype), dimension(:), intent(out)  elementType,
integer(kind=inttype), dimension(:), intent(out)  elementID,
real(kind=realtype), dimension(:, :), intent(out)  uvw,
integer(kind=inttype), intent(in)  nInterpol,
real(kind=realtype), dimension(:, :), intent(in)  arrDonor,
real(kind=realtype), dimension(:, :), intent(out)  arrInterpol 
)

Definition at line 17 of file adtSearch.F90.

References adtdata::adts, adtutils::adtterminate(), constants::adtvolumeadt, initsearch(), and search().

Referenced by adtapi::adtcontainmentsearch(), and initsearch().

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

◆ failsafesearch()

subroutine adtsearch::failsafesearch ( integer(kind=inttype), intent(in)  nCoor,
real(kind=realtype), dimension(:, :), intent(in)  coor,
character(len=*), intent(in)  adtID,
integer, dimension(:), intent(out)  procID,
integer(kind=adtelementtype), dimension(:), intent(out)  elementType,
integer(kind=inttype), dimension(:), intent(out)  elementID,
real(kind=realtype), dimension(:, :), intent(out)  uvw,
real(kind=realtype), dimension(:), intent(inout)  dist2,
integer(kind=inttype), intent(in)  nInterpol,
real(kind=realtype), dimension(:, :), intent(in)  arrDonor,
real(kind=realtype), dimension(:, :), intent(out)  arrInterpol 
)

Definition at line 124 of file adtSearch.F90.

References adtdata::adts, adtutils::adtterminate(), constants::adtvolumeadt, initsearch(), search(), and constants::zero.

Referenced by adtapi::adtfailsafesearch().

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

◆ initsearch()

subroutine adtsearch::initsearch ( integer(kind=inttype), intent(in)  nCoor,
real(kind=realtype), dimension(:, :), intent(in)  coor,
real(kind=realtype), dimension(:), intent(inout)  dist2,
type(adttype), intent(inout)  ADT,
logical, intent(in)  containmentSearch 
)

◆ mindistancesearch()

subroutine adtsearch::mindistancesearch ( integer(kind=inttype), intent(in)  nCoor,
real(kind=realtype), dimension(:, :), intent(in)  coor,
character(len=*), intent(in)  adtID,
integer, dimension(:), intent(out)  procID,
integer(kind=adtelementtype), dimension(:), intent(out)  elementType,
integer(kind=inttype), dimension(:), intent(out)  elementID,
real(kind=realtype), dimension(:, :), intent(out)  uvw,
real(kind=realtype), dimension(:), intent(inout)  dist2,
integer(kind=inttype), intent(in)  nInterpol,
real(kind=realtype), dimension(:, :), intent(in)  arrDonor,
real(kind=realtype), dimension(:, :), intent(out)  arrInterpol 
)

Definition at line 731 of file adtSearch.F90.

References adtdata::adts, initsearch(), search(), and constants::zero.

Referenced by adtapi::adtmindistancesearch().

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

◆ search()

subroutine adtsearch::search ( integer(kind=inttype), intent(in)  nCoor,
real(kind=realtype), dimension(:, :), intent(in)  coor,
integer, dimension(:), intent(out)  procID,
integer(kind=adtelementtype), dimension(:), intent(out)  elementType,
integer(kind=inttype), dimension(:), intent(out)  elementID,
real(kind=realtype), dimension(:, :), intent(out)  uvw,
real(kind=realtype), dimension(:), intent(inout)  dist2,
type(adttype), intent(inout)  ADT,
logical, intent(in)  containmentSearch,
integer(kind=inttype), intent(in)  nInterpol,
real(kind=realtype), dimension(:, :), intent(in)  arrDonor,
real(kind=realtype), dimension(:, :), intent(out)  arrInterpol 
)