Skip to content

API Reference ​

use gideon gives every public entity of the library: the kinds, GIDEON_NAN, the rows and every operator. The modules behind it can be used one by one; all but gideon_kind_parameters and gideon are generated by scripts/gen_gideon.py.

ModulePublic entitiesCount
gideoneverything below, and I4P, I8P, R4P, R8P from PENF—
gideon_kind_parametersR_P, GIDEON_NAN2
gideon_tablesthe rows, FD_*, FV_*, FACE_DIFF_*, FILTER_*; the dissipation constants {FD,FV}_BDISS_S<k>; the compact operators' bands and right sides, <NAME>_LEFT, <NAME>_RIGHT, <NAME>_ALPHA (and R_P: the module's default accessibility is public)212
gideon_fd_centredgideon_fd_face_c<p>, gideon_fd_dN_c<p>, gideon_fd_face_dN_c<p>48
gideon_fd_upwindgideon_fd_face_{ur,ul}<p> (one-sided), gideon_fd_face_{bl,br}<p> (upwind-biased)26
gideon_fv_centredgideon_fv_face_c<p>, gideon_fv_face_dN_c<p>, gideon_fv_dN_c<p>48
gideon_fv_upwindgideon_fv_face_{ur,ul}<p>, gideon_fv_face_dN_{ur,ul}<p>, gideon_fv_dN_{ur,ul}<p>, gideon_fv_face_{bl,br}<p> (upwind-biased)164
gideon_deconvolutiongideon_fv_point_c<p>, gideon_fd_average_c<p>10
gideon_dissipationgideon_{fd,fv}_face_diss_c<2k> (undivided face differences), gideon_{fd,fv}_face_diss_{bl,br}<p> (the dissipation parts of the biased face values)26
gideon_filtersgideon_{fd,fv}_filter_c<2k> (explicit centred filters)10
gideon_dispatchthe run-time order dispatchers of the 1-D kernels64
gideon_compactthe right sides of the compact operators, gideon_fd_d{1,2}_p<o>, gideon_fd_filter_p<2N>, gideon_fd_face_p<o>, gideon_fd_face_d1_p<o>, gideon_fv_face_p<o>, gideon_fv_face_{pbr,pbl}<o>29
gideon_line_solversgideon_{tri,penta}_{bounded,periodic}_{const,var,masked}; gideon_{tri,penta}_{bounded,periodic}_{factor,solve}20
gideon_operators_3dgideon_{fd,fv}_{gradient,divergence,curl,laplacian}_c<p> and their 8 dispatchers48

Every procedure is a pure subroutine with !$acc routine seq and !$omp declare target: callable from host code, from an OpenACC compute region and from an OpenMP target region alike.

Kinds ​

EntityModuleMeaning
R_Pgideon_kind_parameters (PENF's)the real kind of every operator: R8P by default, R4P with -D_R_P_IS_R4P, R16P with -DPENF_R16P -D_R_P_IS_R16P (host only), one per build (Precision)
GIDEON_NANgideon_kind_parametersreal(R_P), parameter: a quiet NaN of R_P (0x7FC00000, 0x7FF8000000000000, 0x7FFF8000…0), the result of a dispatcher called with an order that has no kernel
I4P, I8P, R4P, R8Pgideon (PENF's)integer and real kinds of 32 and 64 bits; the order argument of the dispatchers is integer(I4P)

R16P is not re-exported by gideon: a client of the R16P build takes R_P, or uses PENF's R16P directly.

1-D kernels ​

fortran
pure subroutine gideon_<data>_<op>_<bias><order>(q, [ds,] r)
real(R_P), intent(in)  :: q(LO:HI) ! the window by offset, explicit shape (Conventions)
real(R_P), intent(in)  :: ds       ! the grid step: derivatives only (dN, face_dN)
real(R_P), intent(out) :: r        ! the result: f (face value), d (derivative), v (point value, average)

332 kernels; the name, the window and the order of each are in the table of Operators. The result is a derivative divided by ds**N inside the kernel (/ds/ds for fd, /(ds*ds) for fv), so ds = 1 gives the undivided difference. The dissipation kernels (face_diss) take no step: they are the undivided differences.

fortran
use gideon
real(R_P) :: u(-2:102), du, uf
integer   :: i
call gideon_fd_d1_c6(u(i-3:i+3), 0.01_R_P, du) ! sixth-order first derivative at node i, point values
call gideon_fv_face_ul5(u(i-4:i), uf)          ! fifth-order value at the face i+1/2 from the five cells on its left
call gideon_fd_face_d1_c4(u(i-1:i+2), 0.01_R_P, du) ! fourth-order first derivative at the face i+1/2, point values
call gideon_fd_face_bl5(u(i-2:i+2), uf)        ! fifth-order upwind-biased value at the face i+1/2, point values

Run-time order dispatchers ​

fortran
pure subroutine gideon_<data>_<op>_<bias>(order, q, [ds,] r)
integer(I4P), intent(in)  :: order                  ! the order of accuracy
real(R_P),    intent(in)  :: q(lo(order):hi(order)) ! the window of that order
real(R_P),    intent(in)  :: ds                     ! derivatives only
real(R_P),    intent(out) :: r                      ! GIDEON_NAN if no kernel has that order

One select case(order) over the kernels of the operator; the whole window goes to the kernel, so the result is the kernel's, bitwise. Every dispatcher, its orders and its window:

DispatcherArgumentsOrdersWindow q
gideon_fd_face_c(order, q, f)2, 4, 6, 8, 10q(1-(order/2):order/2)
gideon_fd_d1_c(order, q, ds, d)2, 4, 6, 8, 10q(-(order/2):order/2)
gideon_fd_d2_c(order, q, ds, d)2, 4, 6, 8, 10q(-(order/2):order/2)
gideon_fd_d3_c(order, q, ds, d)2, 4, 6, 8q(-(order/2+1):order/2+1)
gideon_fd_d4_c(order, q, ds, d)2, 4, 6, 8q(-(order/2+1):order/2+1)
gideon_fd_d5_c(order, q, ds, d)2, 4, 6q(-(order/2+2):order/2+2)
gideon_fd_d6_c(order, q, ds, d)2, 4, 6q(-(order/2+2):order/2+2)
gideon_fv_face_c(order, q, f)2, 4, 6, 8, 10q(1-(order/2):order/2)
gideon_fv_face_d1_c(order, q, ds, d)2, 4, 6, 8, 10q(1-(order/2):order/2)
gideon_fv_face_d2_c(order, q, ds, d)2, 4, 6, 8q(1-(order/2+1):order/2+1)
gideon_fv_face_d3_c(order, q, ds, d)2, 4, 6, 8q(1-(order/2+1):order/2+1)
gideon_fv_face_d4_c(order, q, ds, d)2, 4, 6q(1-(order/2+2):order/2+2)
gideon_fv_face_d5_c(order, q, ds, d)2, 4, 6q(1-(order/2+2):order/2+2)
gideon_fv_d1_c(order, q, ds, d)2, 4, 6, 8, 10q(-(order/2):order/2)
gideon_fv_d2_c(order, q, ds, d)2, 4, 6, 8, 10q(-(order/2):order/2)
gideon_fv_d3_c(order, q, ds, d)2, 4, 6, 8q(-(order/2+1):order/2+1)
gideon_fv_d4_c(order, q, ds, d)2, 4, 6, 8q(-(order/2+1):order/2+1)
gideon_fv_d5_c(order, q, ds, d)2, 4, 6q(-(order/2+2):order/2+2)
gideon_fv_d6_c(order, q, ds, d)2, 4, 6q(-(order/2+2):order/2+2)
gideon_fv_face_ur(order, q, f)1, 2, 3, 4, 5, 6, 7, 8, 9q(1:order)
gideon_fv_face_ul(order, q, f)1, 2, 3, 4, 5, 6, 7, 8, 9q(-(order-1):0)
gideon_fv_face_d1_ur(order, q, ds, d)1, 2, 3, 4, 5, 6, 7, 8q(1:order+1)
gideon_fv_face_d1_ul(order, q, ds, d)1, 2, 3, 4, 5, 6, 7, 8q(-(order):0)
gideon_fv_face_d2_ur(order, q, ds, d)1, 2, 3, 4, 5, 6, 7q(1:order+2)
gideon_fv_face_d2_ul(order, q, ds, d)1, 2, 3, 4, 5, 6, 7q(-(order+1):0)
gideon_fv_face_d3_ur(order, q, ds, d)1, 2, 3, 4, 5, 6q(1:order+3)
gideon_fv_face_d3_ul(order, q, ds, d)1, 2, 3, 4, 5, 6q(-(order+2):0)
gideon_fv_face_d4_ur(order, q, ds, d)1, 2, 3, 4, 5q(1:order+4)
gideon_fv_face_d4_ul(order, q, ds, d)1, 2, 3, 4, 5q(-(order+3):0)
gideon_fv_face_d5_ur(order, q, ds, d)1, 2, 3, 4q(1:order+5)
gideon_fv_face_d5_ul(order, q, ds, d)1, 2, 3, 4q(-(order+4):0)
gideon_fv_d1_ur(order, q, ds, d)1, 2, 3, 4, 5, 6, 7, 8, 9q(0:order)
gideon_fv_d1_ul(order, q, ds, d)1, 2, 3, 4, 5, 6, 7, 8, 9q(-(order):0)
gideon_fv_d2_ur(order, q, ds, d)1, 2, 3, 4, 5, 6, 7, 8q(0:order+1)
gideon_fv_d2_ul(order, q, ds, d)1, 2, 3, 4, 5, 6, 7, 8q(-(order+1):0)
gideon_fv_d3_ur(order, q, ds, d)1, 2, 3, 4, 5, 6, 7q(0:order+2)
gideon_fv_d3_ul(order, q, ds, d)1, 2, 3, 4, 5, 6, 7q(-(order+2):0)
gideon_fv_d4_ur(order, q, ds, d)1, 2, 3, 4, 5, 6q(0:order+3)
gideon_fv_d4_ul(order, q, ds, d)1, 2, 3, 4, 5, 6q(-(order+3):0)
gideon_fv_d5_ur(order, q, ds, d)1, 2, 3, 4, 5q(0:order+4)
gideon_fv_d5_ul(order, q, ds, d)1, 2, 3, 4, 5q(-(order+4):0)
gideon_fv_d6_ur(order, q, ds, d)1, 2, 3, 4q(0:order+5)
gideon_fv_d6_ul(order, q, ds, d)1, 2, 3, 4q(-(order+5):0)
gideon_fv_point_c(order, q, v)4, 6, 8, 10, 12q(-(order/2-1):order/2-1)
gideon_fd_average_c(order, q, v)4, 6, 8, 10, 12q(-(order/2-1):order/2-1)
gideon_fd_face_d1_c(order, q, ds, d)2, 4, 6, 8, 10q(1-(order/2):order/2)
gideon_fd_face_d2_c(order, q, ds, d)2, 4, 6, 8q(1-(order/2+1):order/2+1)
gideon_fd_face_d3_c(order, q, ds, d)2, 4, 6, 8q(1-(order/2+1):order/2+1)
gideon_fd_face_d4_c(order, q, ds, d)2, 4, 6q(1-(order/2+2):order/2+2)
gideon_fd_face_d5_c(order, q, ds, d)2, 4, 6q(1-(order/2+2):order/2+2)
gideon_fd_face_ur(order, q, f)1, 2, 3, 4, 5, 6, 7, 8, 9q(1:order)
gideon_fd_face_ul(order, q, f)1, 2, 3, 4, 5, 6, 7, 8, 9q(-(order-1):0)
gideon_fd_face_br(order, q, f)3, 5, 7, 9q(2-(order/2+1):order/2+1)
gideon_fd_face_bl(order, q, f)3, 5, 7, 9q(-(order/2):order/2)
gideon_fd_face_diss_c(order, q, d)2, 4, 6, 8, 10q(1-(order/2):order/2)
gideon_fv_face_diss_c(order, q, d)2, 4, 6, 8, 10q(1-(order/2):order/2)
gideon_fv_face_br(order, q, f)3, 5, 7, 9q(2-(order/2+1):order/2+1)
gideon_fv_face_bl(order, q, f)3, 5, 7, 9q(-(order/2):order/2)
gideon_fd_face_diss_br(order, q, d)3, 5, 7, 9q(1-(order/2+1):order/2+1)
gideon_fd_face_diss_bl(order, q, d)3, 5, 7, 9q(1-(order/2+1):order/2+1)
gideon_fv_face_diss_br(order, q, d)3, 5, 7, 9q(1-(order/2+1):order/2+1)
gideon_fv_face_diss_bl(order, q, d)3, 5, 7, 9q(1-(order/2+1):order/2+1)
gideon_fd_filter_c(order, q, v)2, 4, 6, 8, 10q(-(order/2):order/2)
gideon_fv_filter_c(order, q, v)2, 4, 6, 8, 10q(-(order/2):order/2)

The dispatch costs 9 to 18 % over the kernel (Performance); hoisting the choice out of the loop: A run-time order, fast.

3-D operators ​

fortran
pure subroutine gideon_<data>_gradient_c<p>(qx, qy, qz, dxyz, g)                         ! g(3)
pure subroutine gideon_<data>_divergence_c<p>(vx_x, vy_y, vz_z, dxyz, div)               ! div
pure subroutine gideon_<data>_curl_c<p>(vy_x, vz_x, vx_y, vz_y, vx_z, vy_z, dxyz, c)     ! c(3)
pure subroutine gideon_<data>_laplacian_c<p>(qx, qy, qz, dxyz, lap)                      ! lap
real(R_P), intent(in) :: qx(-S:S), ..., dxyz(3)   ! S = p/2; one contiguous stencil per axis through point 0

<data> is fd (point values) or fv (cell averages), <p> 2, 4, 6, 8 or 10. A stencil is named by the component and the axis it runs along: qx the scalar along x, vy_x the y component along x. The gradient and the divergence call the d1 kernel of the order along each axis, the Laplacian the d2 kernel, the curl the d1 kernel on the six off-axis stencils, summed in x, y, z order (ADAM's, so the values are ADAM's bitwise). The dispatchers gideon_<data>_<op>_c(order, ...) take the same stencils with bounds -(order/2):order/2 and return GIDEON_NAN in every component for an order without a kernel.

Compact operators and line solvers ​

fortran
pure subroutine gideon_<data>_<op>_p<o>(q, [ds,] r)          ! the right side at one point; the band <NAME>_LEFT
pure subroutine gideon_fd_filter_p<2N>(q, alpha, r)          ! a compact filter's right side; the band [alpha, 1, alpha]
pure subroutine gideon_tri_periodic_const(n, a, b, c, d, w, z) ! a x(i-1) + b x(i) + c x(i+1) = d(i), indices mod n
pure subroutine gideon_tri_periodic_masked(n, a, b, c, mask, d, w, z) ! the rows where mask(i): x(i) = d(i)
pure subroutine gideon_penta_periodic_const(n, e, a, b, c, f, d, u1, u2, z1, z2)
pure subroutine gideon_tri_periodic_factor(n, a, b, c, fac)    ! once per band and length: fac(n,3)
pure subroutine gideon_tri_periodic_solve(n, a, c, fac, d)     ! per line, multiplications only
pure subroutine gideon_penta_periodic_factor(n, e, a, b, c, f, fac) ! fac(n,6)
pure subroutine gideon_penta_periodic_solve(n, e, a, c, f, fac, d)

d is the right side in and the solution out; the scratch arrays are the caller's (length n each). The _var variants take one coefficient per row (arrays), the _bounded ones a line without wrap-around. Every routine, the operators and the coupling: Compact operators.

Rows ​

gideon_tables holds one named constant per row, an exact rational folded by the compiler (p._R_P/q._R_P). A centred row is half the stencil in pair form: index m multiplies the pair of offsets m and -m (node or cell; index 0 the centre) or m and 1-m (face). An upwind row holds the right-side stencil, cells (or points) 1..S, the face nearest first; the left-side kernels and the cell derivatives read the same rows. A biased row (FD_BFACE_S<k>) holds the right-biased stencil by offset, 1-k..k+1; the left-biased kernel reads it mirrored. Two tables index the rows by a run-time half-stencil, for a caller that needs one coefficient of a row chosen at run time (a boundary closure, the weights of a conserving deposit), in device code too: FD_D1(m,s) and FV_FACE(m,s), 1 <= m, s <= GIDEON_S_MAX, whose column s is the row FD_D1_S<s> (FV_FACE_S<s>) padded with zeros; they carry !$acc declare copyin (ADAM's FD1_CC and FV1_CC, bit for bit). Every row, with the kernels that read it:

RowBoundsRead by
FD_FACE_S1(1:1)gideon_fd_face_c2
FD_FACE_S2(1:2)gideon_fd_face_c4
FD_FACE_S3(1:3)gideon_fd_face_c6
FD_FACE_S4(1:4)gideon_fd_face_c8
FD_FACE_S5(1:5)gideon_fd_face_c10
FD_D1_S1(1:1)gideon_fd_d1_c2
FD_D1_S2(1:2)gideon_fd_d1_c4
FD_D1_S3(1:3)gideon_fd_d1_c6
FD_D1_S4(1:4)gideon_fd_d1_c8
FD_D1_S5(1:5)gideon_fd_d1_c10
FD_D2_S1(0:1)gideon_fd_d2_c2
FD_D2_S2(0:2)gideon_fd_d2_c4
FD_D2_S3(0:3)gideon_fd_d2_c6
FD_D2_S4(0:4)gideon_fd_d2_c8
FD_D2_S5(0:5)gideon_fd_d2_c10
FD_D3_S2(1:2)gideon_fd_d3_c2
FD_D3_S3(1:3)gideon_fd_d3_c4
FD_D3_S4(1:4)gideon_fd_d3_c6
FD_D3_S5(1:5)gideon_fd_d3_c8
FD_D4_S2(0:2)gideon_fd_d4_c2
FD_D4_S3(0:3)gideon_fd_d4_c4
FD_D4_S4(0:4)gideon_fd_d4_c6
FD_D4_S5(0:5)gideon_fd_d4_c8
FD_D5_S3(1:3)gideon_fd_d5_c2
FD_D5_S4(1:4)gideon_fd_d5_c4
FD_D5_S5(1:5)gideon_fd_d5_c6
FD_D6_S3(0:3)gideon_fd_d6_c2
FD_D6_S4(0:4)gideon_fd_d6_c4
FD_D6_S5(0:5)gideon_fd_d6_c6
FV_FACE_S1(1:1)gideon_fv_face_c2, gideon_fv_d1_c2
FV_FACE_S2(1:2)gideon_fv_face_c4, gideon_fv_d1_c4
FV_FACE_S3(1:3)gideon_fv_face_c6, gideon_fv_d1_c6
FV_FACE_S4(1:4)gideon_fv_face_c8, gideon_fv_d1_c8
FV_FACE_S5(1:5)gideon_fv_face_c10, gideon_fv_d1_c10
FV_FACE_D1_S1(1:1)gideon_fv_face_d1_c2, gideon_fv_d2_c2
FV_FACE_D1_S2(1:2)gideon_fv_face_d1_c4, gideon_fv_d2_c4
FV_FACE_D1_S3(1:3)gideon_fv_face_d1_c6, gideon_fv_d2_c6
FV_FACE_D1_S4(1:4)gideon_fv_face_d1_c8, gideon_fv_d2_c8
FV_FACE_D1_S5(1:5)gideon_fv_face_d1_c10, gideon_fv_d2_c10
FV_FACE_D2_S2(1:2)gideon_fv_face_d2_c2, gideon_fv_d3_c2
FV_FACE_D2_S3(1:3)gideon_fv_face_d2_c4, gideon_fv_d3_c4
FV_FACE_D2_S4(1:4)gideon_fv_face_d2_c6, gideon_fv_d3_c6
FV_FACE_D2_S5(1:5)gideon_fv_face_d2_c8, gideon_fv_d3_c8
FV_FACE_D3_S2(1:2)gideon_fv_face_d3_c2, gideon_fv_d4_c2
FV_FACE_D3_S3(1:3)gideon_fv_face_d3_c4, gideon_fv_d4_c4
FV_FACE_D3_S4(1:4)gideon_fv_face_d3_c6, gideon_fv_d4_c6
FV_FACE_D3_S5(1:5)gideon_fv_face_d3_c8, gideon_fv_d4_c8
FV_FACE_D4_S3(1:3)gideon_fv_face_d4_c2, gideon_fv_d5_c2
FV_FACE_D4_S4(1:4)gideon_fv_face_d4_c4, gideon_fv_d5_c4
FV_FACE_D4_S5(1:5)gideon_fv_face_d4_c6, gideon_fv_d5_c6
FV_FACE_D5_S3(1:3)gideon_fv_face_d5_c2, gideon_fv_d6_c2
FV_FACE_D5_S4(1:4)gideon_fv_face_d5_c4, gideon_fv_d6_c4
FV_FACE_D5_S5(1:5)gideon_fv_face_d5_c6, gideon_fv_d6_c6
FV_UFACE_S1(1:1)gideon_fv_face_ur1, gideon_fv_face_ul1, gideon_fv_d1_ur1, gideon_fv_d1_ul1
FV_UFACE_S2(1:2)gideon_fv_face_ur2, gideon_fv_face_ul2, gideon_fv_d1_ur2, gideon_fv_d1_ul2
FV_UFACE_S3(1:3)gideon_fv_face_ur3, gideon_fv_face_ul3, gideon_fv_d1_ur3, gideon_fv_d1_ul3
FV_UFACE_S4(1:4)gideon_fv_face_ur4, gideon_fv_face_ul4, gideon_fv_d1_ur4, gideon_fv_d1_ul4
FV_UFACE_S5(1:5)gideon_fv_face_ur5, gideon_fv_face_ul5, gideon_fv_d1_ur5, gideon_fv_d1_ul5
FV_UFACE_S6(1:6)gideon_fv_face_ur6, gideon_fv_face_ul6, gideon_fv_d1_ur6, gideon_fv_d1_ul6
FV_UFACE_S7(1:7)gideon_fv_face_ur7, gideon_fv_face_ul7, gideon_fv_d1_ur7, gideon_fv_d1_ul7
FV_UFACE_S8(1:8)gideon_fv_face_ur8, gideon_fv_face_ul8, gideon_fv_d1_ur8, gideon_fv_d1_ul8
FV_UFACE_S9(1:9)gideon_fv_face_ur9, gideon_fv_face_ul9, gideon_fv_d1_ur9, gideon_fv_d1_ul9
FV_UFACE_D1_S2(1:2)gideon_fv_face_d1_ur1, gideon_fv_face_d1_ul1, gideon_fv_d2_ur1, gideon_fv_d2_ul1
FV_UFACE_D1_S3(1:3)gideon_fv_face_d1_ur2, gideon_fv_face_d1_ul2, gideon_fv_d2_ur2, gideon_fv_d2_ul2
FV_UFACE_D1_S4(1:4)gideon_fv_face_d1_ur3, gideon_fv_face_d1_ul3, gideon_fv_d2_ur3, gideon_fv_d2_ul3
FV_UFACE_D1_S5(1:5)gideon_fv_face_d1_ur4, gideon_fv_face_d1_ul4, gideon_fv_d2_ur4, gideon_fv_d2_ul4
FV_UFACE_D1_S6(1:6)gideon_fv_face_d1_ur5, gideon_fv_face_d1_ul5, gideon_fv_d2_ur5, gideon_fv_d2_ul5
FV_UFACE_D1_S7(1:7)gideon_fv_face_d1_ur6, gideon_fv_face_d1_ul6, gideon_fv_d2_ur6, gideon_fv_d2_ul6
FV_UFACE_D1_S8(1:8)gideon_fv_face_d1_ur7, gideon_fv_face_d1_ul7, gideon_fv_d2_ur7, gideon_fv_d2_ul7
FV_UFACE_D1_S9(1:9)gideon_fv_face_d1_ur8, gideon_fv_face_d1_ul8, gideon_fv_d2_ur8, gideon_fv_d2_ul8
FV_UFACE_D2_S3(1:3)gideon_fv_face_d2_ur1, gideon_fv_face_d2_ul1, gideon_fv_d3_ur1, gideon_fv_d3_ul1
FV_UFACE_D2_S4(1:4)gideon_fv_face_d2_ur2, gideon_fv_face_d2_ul2, gideon_fv_d3_ur2, gideon_fv_d3_ul2
FV_UFACE_D2_S5(1:5)gideon_fv_face_d2_ur3, gideon_fv_face_d2_ul3, gideon_fv_d3_ur3, gideon_fv_d3_ul3
FV_UFACE_D2_S6(1:6)gideon_fv_face_d2_ur4, gideon_fv_face_d2_ul4, gideon_fv_d3_ur4, gideon_fv_d3_ul4
FV_UFACE_D2_S7(1:7)gideon_fv_face_d2_ur5, gideon_fv_face_d2_ul5, gideon_fv_d3_ur5, gideon_fv_d3_ul5
FV_UFACE_D2_S8(1:8)gideon_fv_face_d2_ur6, gideon_fv_face_d2_ul6, gideon_fv_d3_ur6, gideon_fv_d3_ul6
FV_UFACE_D2_S9(1:9)gideon_fv_face_d2_ur7, gideon_fv_face_d2_ul7, gideon_fv_d3_ur7, gideon_fv_d3_ul7
FV_UFACE_D3_S4(1:4)gideon_fv_face_d3_ur1, gideon_fv_face_d3_ul1, gideon_fv_d4_ur1, gideon_fv_d4_ul1
FV_UFACE_D3_S5(1:5)gideon_fv_face_d3_ur2, gideon_fv_face_d3_ul2, gideon_fv_d4_ur2, gideon_fv_d4_ul2
FV_UFACE_D3_S6(1:6)gideon_fv_face_d3_ur3, gideon_fv_face_d3_ul3, gideon_fv_d4_ur3, gideon_fv_d4_ul3
FV_UFACE_D3_S7(1:7)gideon_fv_face_d3_ur4, gideon_fv_face_d3_ul4, gideon_fv_d4_ur4, gideon_fv_d4_ul4
FV_UFACE_D3_S8(1:8)gideon_fv_face_d3_ur5, gideon_fv_face_d3_ul5, gideon_fv_d4_ur5, gideon_fv_d4_ul5
FV_UFACE_D3_S9(1:9)gideon_fv_face_d3_ur6, gideon_fv_face_d3_ul6, gideon_fv_d4_ur6, gideon_fv_d4_ul6
FV_UFACE_D4_S5(1:5)gideon_fv_face_d4_ur1, gideon_fv_face_d4_ul1, gideon_fv_d5_ur1, gideon_fv_d5_ul1
FV_UFACE_D4_S6(1:6)gideon_fv_face_d4_ur2, gideon_fv_face_d4_ul2, gideon_fv_d5_ur2, gideon_fv_d5_ul2
FV_UFACE_D4_S7(1:7)gideon_fv_face_d4_ur3, gideon_fv_face_d4_ul3, gideon_fv_d5_ur3, gideon_fv_d5_ul3
FV_UFACE_D4_S8(1:8)gideon_fv_face_d4_ur4, gideon_fv_face_d4_ul4, gideon_fv_d5_ur4, gideon_fv_d5_ul4
FV_UFACE_D4_S9(1:9)gideon_fv_face_d4_ur5, gideon_fv_face_d4_ul5, gideon_fv_d5_ur5, gideon_fv_d5_ul5
FV_UFACE_D5_S6(1:6)gideon_fv_face_d5_ur1, gideon_fv_face_d5_ul1, gideon_fv_d6_ur1, gideon_fv_d6_ul1
FV_UFACE_D5_S7(1:7)gideon_fv_face_d5_ur2, gideon_fv_face_d5_ul2, gideon_fv_d6_ur2, gideon_fv_d6_ul2
FV_UFACE_D5_S8(1:8)gideon_fv_face_d5_ur3, gideon_fv_face_d5_ul3, gideon_fv_d6_ur3, gideon_fv_d6_ul3
FV_UFACE_D5_S9(1:9)gideon_fv_face_d5_ur4, gideon_fv_face_d5_ul4, gideon_fv_d6_ur4, gideon_fv_d6_ul4
FV_POINT_S1(0:1)gideon_fv_point_c4
FD_AVERAGE_S1(0:1)gideon_fd_average_c4
FV_POINT_S2(0:2)gideon_fv_point_c6
FD_AVERAGE_S2(0:2)gideon_fd_average_c6
FV_POINT_S3(0:3)gideon_fv_point_c8
FD_AVERAGE_S3(0:3)gideon_fd_average_c8
FV_POINT_S4(0:4)gideon_fv_point_c10
FD_AVERAGE_S4(0:4)gideon_fd_average_c10
FV_POINT_S5(0:5)gideon_fv_point_c12
FD_AVERAGE_S5(0:5)gideon_fd_average_c12
FD_FACE_D1_S1(1:1)gideon_fd_face_d1_c2
FD_FACE_D1_S2(1:2)gideon_fd_face_d1_c4
FD_FACE_D1_S3(1:3)gideon_fd_face_d1_c6
FD_FACE_D1_S4(1:4)gideon_fd_face_d1_c8
FD_FACE_D1_S5(1:5)gideon_fd_face_d1_c10
FD_FACE_D2_S2(1:2)gideon_fd_face_d2_c2
FD_FACE_D2_S3(1:3)gideon_fd_face_d2_c4
FD_FACE_D2_S4(1:4)gideon_fd_face_d2_c6
FD_FACE_D2_S5(1:5)gideon_fd_face_d2_c8
FD_FACE_D3_S2(1:2)gideon_fd_face_d3_c2
FD_FACE_D3_S3(1:3)gideon_fd_face_d3_c4
FD_FACE_D3_S4(1:4)gideon_fd_face_d3_c6
FD_FACE_D3_S5(1:5)gideon_fd_face_d3_c8
FD_FACE_D4_S3(1:3)gideon_fd_face_d4_c2
FD_FACE_D4_S4(1:4)gideon_fd_face_d4_c4
FD_FACE_D4_S5(1:5)gideon_fd_face_d4_c6
FD_FACE_D5_S3(1:3)gideon_fd_face_d5_c2
FD_FACE_D5_S4(1:4)gideon_fd_face_d5_c4
FD_FACE_D5_S5(1:5)gideon_fd_face_d5_c6
FD_UFACE_S1(1:1)gideon_fd_face_ur1, gideon_fd_face_ul1
FD_UFACE_S2(1:2)gideon_fd_face_ur2, gideon_fd_face_ul2
FD_UFACE_S3(1:3)gideon_fd_face_ur3, gideon_fd_face_ul3
FD_UFACE_S4(1:4)gideon_fd_face_ur4, gideon_fd_face_ul4
FD_UFACE_S5(1:5)gideon_fd_face_ur5, gideon_fd_face_ul5
FD_UFACE_S6(1:6)gideon_fd_face_ur6, gideon_fd_face_ul6
FD_UFACE_S7(1:7)gideon_fd_face_ur7, gideon_fd_face_ul7
FD_UFACE_S8(1:8)gideon_fd_face_ur8, gideon_fd_face_ul8
FD_UFACE_S9(1:9)gideon_fd_face_ur9, gideon_fd_face_ul9
FD_BFACE_S1(0:2)gideon_fd_face_br3, gideon_fd_face_bl3
FD_BFACE_S2(-1:3)gideon_fd_face_br5, gideon_fd_face_bl5
FD_BFACE_S3(-2:4)gideon_fd_face_br7, gideon_fd_face_bl7
FD_BFACE_S4(-3:5)gideon_fd_face_br9, gideon_fd_face_bl9
FACE_DIFF_S1(1:1)gideon_fd_face_diss_c2, gideon_fv_face_diss_c2
FACE_DIFF_S2(1:2)gideon_fd_face_diss_c4, gideon_fv_face_diss_c4, gideon_fd_face_diss_br3, gideon_fd_face_diss_bl3, gideon_fv_face_diss_br3, gideon_fv_face_diss_bl3
FACE_DIFF_S3(1:3)gideon_fd_face_diss_c6, gideon_fv_face_diss_c6, gideon_fd_face_diss_br5, gideon_fd_face_diss_bl5, gideon_fv_face_diss_br5, gideon_fv_face_diss_bl5
FACE_DIFF_S4(1:4)gideon_fd_face_diss_c8, gideon_fv_face_diss_c8, gideon_fd_face_diss_br7, gideon_fd_face_diss_bl7, gideon_fv_face_diss_br7, gideon_fv_face_diss_bl7
FACE_DIFF_S5(1:5)gideon_fd_face_diss_c10, gideon_fv_face_diss_c10, gideon_fd_face_diss_br9, gideon_fd_face_diss_bl9, gideon_fv_face_diss_br9, gideon_fv_face_diss_bl9
FV_BFACE_S1(0:2)gideon_fv_face_br3, gideon_fv_face_bl3
FV_BFACE_S2(-1:3)gideon_fv_face_br5, gideon_fv_face_bl5
FV_BFACE_S3(-2:4)gideon_fv_face_br7, gideon_fv_face_bl7
FV_BFACE_S4(-3:5)gideon_fv_face_br9, gideon_fv_face_bl9
FILTER_S1(0:1)gideon_fd_filter_c2, gideon_fv_filter_c2
FILTER_S2(0:2)gideon_fd_filter_c4, gideon_fv_filter_c4
FILTER_S3(0:3)gideon_fd_filter_c6, gideon_fv_filter_c6
FILTER_S4(0:4)gideon_fd_filter_c8, gideon_fv_filter_c8
FILTER_S5(0:5)gideon_fd_filter_c10, gideon_fv_filter_c10
GIDEON_S_MAXscalarthe bounds of FD_D1 and FV_FACE (the widest half-stencil)
FD_D1(1:GIDEON_S_MAX, 1:GIDEON_S_MAX)the caller, at a run-time half-stencil s: column s is FD_D1_S<s>, zero padded
FV_FACE(1:GIDEON_S_MAX, 1:GIDEON_S_MAX)the caller, at a run-time half-stencil s: column s is FV_FACE_S<s>, zero padded
FD_BDISS_S1scalargideon_fd_face_diss_br3, gideon_fd_face_diss_bl3
FD_BDISS_S2scalargideon_fd_face_diss_br5, gideon_fd_face_diss_bl5
FD_BDISS_S3scalargideon_fd_face_diss_br7, gideon_fd_face_diss_bl7
FD_BDISS_S4scalargideon_fd_face_diss_br9, gideon_fd_face_diss_bl9
FV_BDISS_S1scalargideon_fv_face_diss_br3, gideon_fv_face_diss_bl3
FV_BDISS_S2scalargideon_fv_face_diss_br5, gideon_fv_face_diss_bl5
FV_BDISS_S3scalargideon_fv_face_diss_br7, gideon_fv_face_diss_bl7
FV_BDISS_S4scalargideon_fv_face_diss_br9, gideon_fv_face_diss_bl9
FD_D1_P4_LEFT(0:1)the caller: the band of the line solve
FD_D1_P4_RIGHT(1:1)gideon_fd_d1_p4
FD_D1_P6_LEFT(0:1)the caller: the band of the line solve
FD_D1_P6_RIGHT(1:2)gideon_fd_d1_p6
FD_D1_P8_LEFT(0:2)the caller: the band of the line solve
FD_D1_P8_RIGHT(1:2)gideon_fd_d1_p8
FD_D1_P10_LEFT(0:2)the caller: the band of the line solve
FD_D1_P10_RIGHT(1:3)gideon_fd_d1_p10
FD_D2_P4_LEFT(0:1)the caller: the band of the line solve
FD_D2_P4_RIGHT(0:1)gideon_fd_d2_p4
FD_D2_P6_LEFT(0:1)the caller: the band of the line solve
FD_D2_P6_RIGHT(0:2)gideon_fd_d2_p6
FD_D2_P8_LEFT(0:2)the caller: the band of the line solve
FD_D2_P8_RIGHT(0:2)gideon_fd_d2_p8
FD_D2_P10_LEFT(0:2)the caller: the band of the line solve
FD_D2_P10_RIGHT(0:3)gideon_fd_d2_p10
FD_FILTER_P2_RIGHT(0:1)gideon_fd_filter_p2
FD_FILTER_P2_ALPHA(0:1)gideon_fd_filter_p2
FD_FILTER_P4_RIGHT(0:2)gideon_fd_filter_p4
FD_FILTER_P4_ALPHA(0:2)gideon_fd_filter_p4
FD_FILTER_P6_RIGHT(0:3)gideon_fd_filter_p6
FD_FILTER_P6_ALPHA(0:3)gideon_fd_filter_p6
FD_FILTER_P8_RIGHT(0:4)gideon_fd_filter_p8
FD_FILTER_P8_ALPHA(0:4)gideon_fd_filter_p8
FD_FILTER_P10_RIGHT(0:5)gideon_fd_filter_p10
FD_FILTER_P10_ALPHA(0:5)gideon_fd_filter_p10
FD_FACE_P4_LEFT(0:1)the caller: the band of the line solve
FD_FACE_P4_RIGHT(1:1)gideon_fd_face_p4
FD_FACE_P6_LEFT(0:1)the caller: the band of the line solve
FD_FACE_P6_RIGHT(1:2)gideon_fd_face_p6
FD_FACE_P8_LEFT(0:2)the caller: the band of the line solve
FD_FACE_P8_RIGHT(1:2)gideon_fd_face_p8
FD_FACE_P10_LEFT(0:2)the caller: the band of the line solve
FD_FACE_P10_RIGHT(1:3)gideon_fd_face_p10
FD_FACE_D1_P4_LEFT(0:1)the caller: the band of the line solve
FD_FACE_D1_P4_RIGHT(1:1)gideon_fd_face_d1_p4
FD_FACE_D1_P6_LEFT(0:1)the caller: the band of the line solve
FD_FACE_D1_P6_RIGHT(1:2)gideon_fd_face_d1_p6
FD_FACE_D1_P8_LEFT(0:2)the caller: the band of the line solve
FD_FACE_D1_P8_RIGHT(1:2)gideon_fd_face_d1_p8
FD_FACE_D1_P10_LEFT(0:2)the caller: the band of the line solve
FD_FACE_D1_P10_RIGHT(1:3)gideon_fd_face_d1_p10
FV_FACE_P4_LEFT(0:1)the caller: the band of the line solve
FV_FACE_P4_RIGHT(1:1)gideon_fv_face_p4
FV_FACE_P6_LEFT(0:1)the caller: the band of the line solve
FV_FACE_P6_RIGHT(1:2)gideon_fv_face_p6
FV_FACE_P8_LEFT(0:2)the caller: the band of the line solve
FV_FACE_P8_RIGHT(1:2)gideon_fv_face_p8
FV_FACE_P10_LEFT(0:2)the caller: the band of the line solve
FV_FACE_P10_RIGHT(1:3)gideon_fv_face_p10
FV_FACE_PBR5_LEFT(-1:1)the caller: the band of the line solve
FV_FACE_PBR5_RIGHT(0:2)gideon_fv_face_pbr5, gideon_fv_face_pbl5
FV_FACE_PBL5_LEFT(-1:1)the caller: the band of the line solve
FV_FACE_PBR7_LEFT(-1:1)the caller: the band of the line solve
FV_FACE_PBR7_RIGHT(-1:3)gideon_fv_face_pbr7, gideon_fv_face_pbl7
FV_FACE_PBL7_LEFT(-1:1)the caller: the band of the line solve

The two tables above are generated from the sources by docs/scripts/make_cookbook_tables.py.

From ADAM ​

The ADAM routine each operator replaces, the index map and the numerical differences: Replace ADAM's FDV calls.

Auto-generated from Fortran source doc comments using FORMAL.

src/lib ​

Released under your choice of GPL-3.0-or-later, BSD-2-Clause, BSD-3-Clause or MIT.