Skip to content

adam_fnl_fdv_operators_library

ADAM, finite difference/volume operators approximations library, FNL device backend.

Source: src/lib/fnl/adam_fnl_fdv_operators_library.F90

Dependencies

Contents

Subroutines

compute_curl_fd_centered_dev

Compute curl of q vector field with finite difference centered scheme.

Attributes: pure

fortran
subroutine compute_curl_fd_centered_dev(s, dxyz, qsx_y, qsx_z, qsy_x, qsy_z, qsz_x, qsz_y, curl)

Arguments

NameTypeIntentAttributesDescription
sinteger(kind=I4P)inStencil len, half of accuracy order.
dxyzreal(kind=R8P)inSpace steps [1:3].
qsx_yreal(kind=R8P)inY component of vector field over the x stencil.
qsx_zreal(kind=R8P)inZ component of vector field over the x stencil.
qsy_xreal(kind=R8P)inX component of vector field over the y stencil.
qsy_zreal(kind=R8P)inZ component of vector field over the y stencil.
qsz_xreal(kind=R8P)inX component of vector field over the z stencil.
qsz_yreal(kind=R8P)inY component of vector field over the z stencil.
curlreal(kind=R8P)outCurl of q [1:3].

Call graph

compute_divergence_fd_centered_dev

Compute divergence of q vector field with finite difference centered scheme. FNL device backend: q has variables as last dimension [1-s:1+s,1-s:1+s,1-s:1+s,1:3].

Attributes: pure

fortran
subroutine compute_divergence_fd_centered_dev(s, dxyz, q, divergence)

Arguments

NameTypeIntentAttributesDescription
sinteger(kind=I4P)inStencil len, half of accuracy order.
dxyzreal(kind=R8P)inSpace steps [1:3].
qreal(kind=R8P)inVector field over the stencil [1-s:1+s,1-s:1+s,1-s:1+s,1:3].
divergencereal(kind=R8P)outDivergence of q.

Call graph

compute_gradient_fd_centered_dev

Compute gradient of q scalar field with finite difference centered scheme.

Attributes: pure

fortran
subroutine compute_gradient_fd_centered_dev(s, dxyz, q, gradient)

Arguments

NameTypeIntentAttributesDescription
sinteger(kind=I4P)inStencil len, half of accuracy order.
dxyzreal(kind=R8P)inSpace steps [1:3].
qreal(kind=R8P)inScalar field over the stencil [1-s:1+s,1-s:1+s,1-s:1+s].
gradientreal(kind=R8P)outGradient of q [1:3].

Call graph

compute_laplacian_fd_centered_dev

Compute laplacian of q scalar field with finite difference centered scheme.

Attributes: pure

fortran
subroutine compute_laplacian_fd_centered_dev(s, dxyz, q, laplacian)

Arguments

NameTypeIntentAttributesDescription
sinteger(kind=I4P)inStencil len, half of accuracy order.
dxyzreal(kind=R8P)inSpace steps [1:3].
qreal(kind=R8P)inScalar field over the stencil [1-s:1+s,1-s:1+s,1-s:1+s].
laplacianreal(kind=R8P)outLaplacian of q.

Call graph

compute_curl_fv_centered_dev

Compute curl of q vector field with finite volume centered scheme. FNL device backend: q has variables as last dimension [1-s:1+s,1-s:1+s,1-s:1+s,1:3].

Attributes: pure

fortran
subroutine compute_curl_fv_centered_dev(s, dxyz, q, curl)

Arguments

NameTypeIntentAttributesDescription
sinteger(kind=I4P)inStencil len, half of accuracy order.
dxyzreal(kind=R8P)inSpace steps [1:3].
qreal(kind=R8P)inVector field over the stencil [1-s:1+s,1-s:1+s,1-s:1+s,1:3].
curlreal(kind=R8P)outCurl of q [1:3].

Call graph

compute_divergence_fv_centered_dev

Compute divergence of q vector field with finite volume centered scheme. FNL device backend: q has variables as last dimension [1-s:1+s,1-s:1+s,1-s:1+s,1:3].

Attributes: pure

fortran
subroutine compute_divergence_fv_centered_dev(s, dxyz, q, divergence)

Arguments

NameTypeIntentAttributesDescription
sinteger(kind=I4P)inStencil len, half of accuracy order.
dxyzreal(kind=R8P)inSpace steps [1:3].
qreal(kind=R8P)inVector field over the stencil [1-s:1+s,1-s:1+s,1-s:1+s,1:3].
divergencereal(kind=R8P)outDivergence of q.

Call graph

compute_gradient_fv_centered_dev

Compute gradient of q scalar field with finite volume centered scheme.

Attributes: pure

fortran
subroutine compute_gradient_fv_centered_dev(s, dxyz, q, gradient)

Arguments

NameTypeIntentAttributesDescription
sinteger(kind=I4P)inStencil len, half of accuracy order.
dxyzreal(kind=R8P)inSpace steps [1:3].
qreal(kind=R8P)inScalar field over the stencil [1-s:1+s,1-s:1+s,1-s:1+s].
gradientreal(kind=R8P)outGradient of q [1:3].

Call graph

compute_laplacian_fv_centered_dev

Compute laplacian of q scalar field with finite volume centered scheme.

Attributes: pure

fortran
subroutine compute_laplacian_fv_centered_dev(s, dxyz, q, laplacian)

Arguments

NameTypeIntentAttributesDescription
sinteger(kind=I4P)inStencil len, half of accuracy order.
dxyzreal(kind=R8P)inSpace steps [1:3].
qreal(kind=R8P)inScalar field over the stencil [1-s:1+s,1-s:1+s,1-s:1+s].
laplacianreal(kind=R8P)outLaplacian of q.

Call graph