Neko  0.8.99
A portable framework for high-order spectral element flow simulations
mathops Module Reference

Collection of vector field operations operating on \( a_i \) and \(b_i\). Note that in general the indices \(i=1 \ldots gdim\) and \(j=1 \ldots n\). \(gdim\) is assumed to be either 2 or 3 only.

Functions/Subroutines

subroutine, public opchsign (a1, a2, a3, gdim, n)
 \( a_i(j) = -a_i(j) \) for \(j=1 \ldots n\) and \(i=1 \ldots gdim\). More...
 
subroutine, public opcolv (a1, a2, a3, c, gdim, n)
 \( a_i(j) = a_i(j) * c(j) \) More...
 
subroutine, public opcolv3c (a1, a2, a3, b1, b2, b3, c, d, n, gdim)
 \( a_i(j) = b_i(j) * c(j) * d \) More...
 
subroutine, public opadd2cm (a1, a2, a3, b1, b2, b3, c, n, gdim)
 \( a_i(j) = a_i(j) + b_i(j) * c \) More...
 
subroutine, public opadd2col (a1, a2, a3, b1, b2, b3, c, n, gdim)
 \( a_i(j) = a_i(j) + b_i(j) * c(j) \) More...
 

Function/Subroutine Documentation

◆ opadd2cm()

subroutine, public mathops::opadd2cm ( real(kind=rp), dimension(n), intent(inout)  a1,
real(kind=rp), dimension(n), intent(inout)  a2,
real(kind=rp), dimension(n), intent(inout)  a3,
real(kind=rp), dimension(n), intent(in)  b1,
real(kind=rp), dimension(n), intent(in)  b2,
real(kind=rp), dimension(n), intent(in)  b3,
real(kind=rp), intent(in)  c,
integer, intent(in)  n,
integer, intent(in)  gdim 
)

Definition at line 141 of file mathops.f90.

◆ opadd2col()

subroutine, public mathops::opadd2col ( real(kind=rp), dimension(n), intent(inout)  a1,
real(kind=rp), dimension(n), intent(inout)  a2,
real(kind=rp), dimension(n), intent(inout)  a3,
real(kind=rp), dimension(n), intent(in)  b1,
real(kind=rp), dimension(n), intent(in)  b2,
real(kind=rp), dimension(n), intent(in)  b3,
real(kind=rp), dimension(n), intent(in)  c,
integer, intent(in)  n,
integer, intent(in)  gdim 
)

Definition at line 164 of file mathops.f90.

◆ opchsign()

subroutine, public mathops::opchsign ( real(kind=rp), dimension(n), intent(inout)  a1,
real(kind=rp), dimension(n), intent(inout)  a2,
real(kind=rp), dimension(n), intent(inout)  a3,
integer, intent(in)  gdim,
integer, intent(in)  n 
)

Definition at line 75 of file mathops.f90.

Here is the caller graph for this function:

◆ opcolv()

subroutine, public mathops::opcolv ( real(kind=rp), dimension(n), intent(inout)  a1,
real(kind=rp), dimension(n), intent(inout)  a2,
real(kind=rp), dimension(n), intent(inout)  a3,
real(kind=rp), dimension(n), intent(in)  c,
integer, intent(in)  gdim,
integer, intent(in)  n 
)

Definition at line 96 of file mathops.f90.

Here is the caller graph for this function:

◆ opcolv3c()

subroutine, public mathops::opcolv3c ( real(kind=rp), dimension(n), intent(inout)  a1,
real(kind=rp), dimension(n), intent(inout)  a2,
real(kind=rp), dimension(n), intent(inout)  a3,
real(kind=rp), dimension(n), intent(in)  b1,
real(kind=rp), dimension(n), intent(in)  b2,
real(kind=rp), dimension(n), intent(in)  b3,
real(kind=rp), dimension(n), intent(in)  c,
real(kind=rp), intent(in)  d,
integer, intent(in)  n,
integer, intent(in)  gdim 
)

Definition at line 118 of file mathops.f90.