Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
ax_helm_svv_factorized_cpu Module Reference

CPU implementation of the factorized SVV Helmholtz operator.

Data Types

type  ax_helm_svv_factorized_cpu_t
 CPU matrix-vector product for a factorized SVV Helmholtz problem. More...

Functions/Subroutines

subroutine ax_helm_svv_factorized_compute (this, w, u, coef, msh, xh)
 Compute the product.
subroutine ax_helm_svv_factorized_lx (w, u, dx, dy, dz, dxt, dyt, dzt, br, bs, bt, h1, svv_h1, g11, g22, g33, g12, g13, g23, n, lx)
 Generic CPU kernel for the Helmholz matrix-vector product.

Function/Subroutine Documentation

◆ ax_helm_svv_factorized_compute()

subroutine ax_helm_svv_factorized_cpu::ax_helm_svv_factorized_compute ( class(ax_helm_svv_factorized_cpu_t), intent(in) this,
real(kind=rp), dimension(xh%lx, xh%ly, xh%lz, msh%nelv), intent(inout) w,
real(kind=rp), dimension(xh%lx, xh%ly, xh%lz, msh%nelv), intent(in) u,
type(coef_t), intent(in) coef,
type(mesh_t), intent(in) msh,
type(space_t), intent(in) xh )
Parameters
wVector of size (lx,ly,lz,nelv).
uVector of size (lx,ly,lz,nelv).
coefCoefficients.
mshMesh.
XhFunction space \( X_h \).

Definition at line 59 of file ax_helm_svv_factorized_cpu.f90.

Here is the call graph for this function:

◆ ax_helm_svv_factorized_lx()

subroutine ax_helm_svv_factorized_cpu::ax_helm_svv_factorized_lx ( real(kind=rp), dimension(lx, lx, lx, n), intent(inout) w,
real(kind=rp), dimension(lx, lx, lx, n), intent(in) u,
real(kind=rp), dimension(lx, lx), intent(in) dx,
real(kind=rp), dimension(lx, lx), intent(in) dy,
real(kind=rp), dimension(lx, lx), intent(in) dz,
real(kind=rp), dimension(lx, lx), intent(in) dxt,
real(kind=rp), dimension(lx, lx), intent(in) dyt,
real(kind=rp), dimension(lx, lx), intent(in) dzt,
real(kind=rp), dimension(lx, lx), intent(in) br,
real(kind=rp), dimension(lx, lx), intent(in) bs,
real(kind=rp), dimension(lx, lx), intent(in) bt,
real(kind=rp), dimension(lx, lx, lx, n), intent(in) h1,
real(kind=rp), dimension(lx, lx, lx, n), intent(in) svv_h1,
real(kind=rp), dimension(lx, lx, lx, n), intent(in) g11,
real(kind=rp), dimension(lx, lx, lx, n), intent(in) g22,
real(kind=rp), dimension(lx, lx, lx, n), intent(in) g33,
real(kind=rp), dimension(lx, lx, lx, n), intent(in) g12,
real(kind=rp), dimension(lx, lx, lx, n), intent(in) g13,
real(kind=rp), dimension(lx, lx, lx, n), intent(in) g23,
integer, intent(in) n,
integer, intent(in) lx )
private
Parameters
wResult.
uVelocity field.
DxDerivative operator in first dimension.
DyDerivative operator in second dimension.
DzDerivative operator in third dimension.
DxtDerivative operator transpose in first dimension.
DytDerivative operator transpose in second dimension.
DztDerivative operator transpose in third dimension.
BrComplementary derivative operator in first dimension.
BsComplementary derivative operator in second dimension.
BtComplementary derivative operator in third dimension.
h1Ordinary viscosity coefficient.
svv_h1SVV viscosity coefficient.
G11Geometric factor \(G_{11}\).
G22Geometric factor \(G_{22}\).
G33Geometric factor \(G_{33}\).
G12Geometric factor \(G_{12}\).
G13Geometric factor \(G_{13}\).
G23Geometric factor \(G_{23}\).
nNumber of elements.
lxPolynomial order.

Definition at line 100 of file ax_helm_svv_factorized_cpu.f90.

Here is the caller graph for this function: