ADflow  v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
Modules | Functions/Subroutines
fortranPC.F90 File Reference
#include <petsc/finclude/petsc.h>
Include dependency graph for fortranPC.F90:

Go to the source code of this file.

Modules

module  fortranpc
 

Functions/Subroutines

subroutine fortranpc::allocpcmem (level)
 
subroutine fortranpc::setuppcmatrix (useAD, useTranspose, frozenTurb, level)
 
logical function onblock (i, j, k)
 
integer(kind=inttype) function getindex (i, j, k)
 
subroutine fortranpc::testpc ()
 
subroutine fortranpc::factorpcmatrix ()
 
subroutine fortranpc::pcmatmult (A, vecX, vecY, ierr)
 
subroutine fortranpc::myshellpcapply (pc, vecX, vecY, ierr)
 
subroutine fortranpc::setpcvec (vecX)
 

Function/Subroutine Documentation

◆ getindex()

integer(kind=inttype) function setuppcmatrix::getindex ( integer(kind=inttype), intent(in)  i,
integer(kind=inttype), intent(in)  j,
integer(kind=inttype), intent(in)  k 
)

Definition at line 465 of file fortranPC.F90.

References flowvarrefstate::nw, blockpointers::nx, and blockpointers::ny.

◆ onblock()

logical function setuppcmatrix::onblock ( integer(kind=inttype), intent(in)  i,
integer(kind=inttype), intent(in)  j,
integer(kind=inttype), intent(in)  k 
)