ADflow  v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
Modules | Functions/Subroutines
stringOps.F90 File Reference

Go to the source code of this file.

Modules

module  stringops
 

Functions/Subroutines

subroutine stringops::nullifystring (string)
 
subroutine stringops::deallocatestring (string)
 
subroutine stringops::setstringpointers (string)
 
subroutine stringops::createorderedstrings (master, strings, nString)
 
subroutine stringops::performselfzip (master, strings, nStrings, debugZipper)
 
subroutine stringops::reducegapstring (string)
 
recursive subroutine stringops::createnodetoelem (string)
 
subroutine stringops::dochain (master, iStart, iSub)
 
subroutine stringops::createsubstringfromelems (p, s, id)
 
subroutine stringops::combinechainbuffers (s)
 
subroutine stringops::selfzip (s, cutOff, nZipped)
 
subroutine stringops::crosszip (str1, N1, N2, str2, N3, N4, debugZipper, failed)
 
integer(kind=inttype) function nextnode (str, i, pos)
 
real(kind=realtype) function vecangle (vec1, vec2)
 
integer(kind=inttype) function elembetweennodes (str, a, b)
 
real(kind=realtype) function triarea (pt1, pt2, pt3)
 
subroutine stringops::addtri (A, sA, B, sB, C, sC)
 
subroutine stringops::makecrosszip (p, strings, nStrings, debugZipper)
 
integer(kind=inttype) function startnode (s)
 
integer(kind=inttype) function nextnode (s, i)
 
integer(kind=inttype) function simplenextnode (s, i)
 
integer(kind=inttype) function prevnode (s, i)
 
subroutine tracematch (s, iStart, pos, checkID, iEnd, fullLoop)
 
subroutine flagnodesused (s, N1, N2, pos)
 
integer(kind=inttype) function elemsforrange (s, N1, N2, pos)
 
subroutine stringops::makepocketzip (p, strings, nStrings, pocketMaster, debugZipper)
 
subroutine stringops::pocketzip (s)
 
integer(kind=inttype) function nextnode (ii)
 
integer(kind=inttype) function prevnode (ii)
 
subroutine stringops::computetrisurfarea (master, area)
 
logical function stringops::trioverlap (pt1, pt2, pt3, str, i1, i2)
 
subroutine stringops::shortenstring (s, nodeMap)
 
subroutine stringops::addpotentialtriangle (s, im1, ii, ip1, nodeMap, results, added)
 
subroutine stringops::closestsymmetricnode (s1, s2, i, j)
 
subroutine stringops::stringmatch (strings, nStrings, debugZipper)
 
subroutine stringops::writeoversetstring (str, strings, n, fileID)
 
subroutine stringops::writeoversetmaster (str, fileID)
 
subroutine stringops::writeoversettriangles (string, fileName, startTri, endTri)
 
subroutine stringops::writezipperdebug (str)
 
subroutine stringops::loadzipperdebug (fileName, str)
 
subroutine stringops::pointintriangle (x1, x2, x3, pt, inTri)
 
logical function sameside (p1, p2, a, b)
 
logical function stringops::positivetriarea (p1, p2, p3, norm)
 
subroutine stringops::getnodeinfo (str, j, checkLeft, checkRight, concave, xj, xjm1, xjp1, normj)
 
logical function stringops::nodeinfrontofedges (pt, concave, checkLeft, checkRight, xj, xjm1, xjp1, normj)
 
logical function stringops::overlappededges (str, j, pt)
 
logical function stringops::overlappededges2 (str, pt1, norm, pt2)
 

Function/Subroutine Documentation

◆ elembetweennodes()

integer(kind=inttype) function crosszip::elembetweennodes ( type(oversetstring), intent(in)  str,
integer(kind=inttype), intent(in)  a,
integer(kind=inttype), intent(in)  b 
)

Definition at line 1270 of file stringOps.F90.

◆ elemsforrange()

integer(kind=inttype) function makecrosszip::elemsforrange ( type(oversetstring s,
integer(kind=inttype), intent(in)  N1,
integer(kind=inttype), intent(in)  N2,
logical  pos 
)

Definition at line 1799 of file stringOps.F90.

Referenced by stringops::makecrosszip().

Here is the caller graph for this function:

◆ flagnodesused()

subroutine makecrosszip::flagnodesused ( type(oversetstring s,
integer(kind=inttype), intent(in)  N1,
integer(kind=inttype), intent(in)  N2,
logical, intent(in)  pos 
)

Definition at line 1755 of file stringOps.F90.

References nextnode(), and prevnode().

Referenced by stringops::makecrosszip().

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

◆ nextnode() [1/3]

integer(kind=inttype) function pocketzip::nextnode ( integer(kind=inttype)  ii)

Definition at line 2195 of file stringOps.F90.

References nextnode().

Here is the call graph for this function:

◆ nextnode() [2/3]

integer(kind=inttype) function makecrosszip::nextnode ( type(oversetstring), intent(in)  s,
integer(kind=inttype), intent(in)  i 
)

Definition at line 1639 of file stringOps.F90.

References nextnode().

Here is the call graph for this function:

◆ nextnode() [3/3]

integer(kind=inttype) function crosszip::nextnode ( type(oversetstring), intent(in)  str,
integer(kind=inttype), intent(in)  i,
logical, intent(in)  pos 
)

Definition at line 1212 of file stringOps.F90.

Referenced by stringops::crosszip(), flagnodesused(), stringops::makecrosszip(), nextnode(), stringops::pocketzip(), and tracematch().

Here is the caller graph for this function:

◆ prevnode() [1/2]

integer(kind=inttype) function pocketzip::prevnode ( integer(kind=inttype)  ii)

Definition at line 2204 of file stringOps.F90.

References prevnode().

Here is the call graph for this function:

◆ prevnode() [2/2]

integer(kind=inttype) function makecrosszip::prevnode ( type(oversetstring), intent(in)  s,
integer(kind=inttype), intent(in)  i 
)

Definition at line 1685 of file stringOps.F90.

Referenced by flagnodesused(), stringops::makecrosszip(), stringops::pocketzip(), prevnode(), and tracematch().

Here is the caller graph for this function:

◆ sameside()

logical function pointintriangle::sameside ( real(kind=realtype), dimension(3)  p1,
real(kind=realtype), dimension(3)  p2,
real(kind=realtype), dimension(3)  a,
real(kind=realtype), dimension(3)  b 
)

Definition at line 3066 of file stringOps.F90.

References utils::cross_prod(), and constants::zero.

Referenced by stringops::pointintriangle().

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

◆ simplenextnode()

integer(kind=inttype) function makecrosszip::simplenextnode ( type(oversetstring), intent(in)  s,
integer(kind=inttype), intent(in)  i 
)

Definition at line 1665 of file stringOps.F90.

◆ startnode()

integer(kind=inttype) function makecrosszip::startnode ( type(oversetstring s)

Definition at line 1622 of file stringOps.F90.

Referenced by stringops::makecrosszip().

Here is the caller graph for this function:

◆ tracematch()

subroutine makecrosszip::tracematch ( type(oversetstring s,
integer(kind=inttype), intent(in)  iStart,
logical, intent(in)  pos,
integer(kind=inttype), intent(in)  checkID,
integer(kind=inttype), intent(out)  iEnd,
logical, intent(out)  fullLoop 
)

Definition at line 1710 of file stringOps.F90.

References nextnode(), and prevnode().

Referenced by stringops::makecrosszip().

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

◆ triarea()

real(kind=realtype) function crosszip::triarea ( real(kind=realtype), dimension(3), intent(in)  pt1,
real(kind=realtype), dimension(3), intent(in)  pt2,
real(kind=realtype), dimension(3), intent(in)  pt3 
)

◆ vecangle()

real(kind=realtype) function crosszip::vecangle ( real(kind=realtype), dimension(3), intent(in)  vec1,
real(kind=realtype), dimension(3), intent(in)  vec2 
)

Definition at line 1253 of file stringOps.F90.

References utils::mynorm2().

Referenced by stringops::crosszip().

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