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

Defines a function space.

Data Types

type  space_t
 The function space for the SEM solution fields. More...
 
interface  operator(.eq.)
 
interface  operator(.ne.)
 

Functions/Subroutines

subroutine space_init (s, t, lx, ly, lz)
 Initialize a function space s with given polynomial dimensions. More...
 
subroutine space_free (s)
 Deallocate a space s. More...
 
pure logical function space_eq (Xh, Yh)
 Check if \( X_h = Y_H \). More...
 
pure logical function space_ne (Xh, Yh)
 Check if \( X_h \ne Y_H \). More...
 
subroutine space_compute_dist (dx, x, lx)
 
subroutine space_generate_transformation_matrices (Xh)
 Generate spectral tranform matrices. More...
 

Variables

integer, parameter, public gl = 0
 
integer, parameter, public gll = 1
 
integer, parameter, public gj = 2
 

Function/Subroutine Documentation

◆ space_compute_dist()

subroutine space::space_compute_dist ( real(kind=rp), dimension(lx), intent(inout)  dx,
real(kind=rp), dimension(lx), intent(inout)  x,
integer, intent(in)  lx 
)
private

Definition at line 504 of file space.f90.

Here is the caller graph for this function:

◆ space_eq()

pure logical function space::space_eq ( type(space_t), intent(in)  Xh,
type(space_t), intent(in)  Yh 
)
private
Note
this only checks the polynomial dimensions

Definition at line 472 of file space.f90.

◆ space_free()

subroutine space::space_free ( class(space_t), intent(inout)  s)
private

Definition at line 309 of file space.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ space_generate_transformation_matrices()

subroutine space::space_generate_transformation_matrices ( type(space_t), intent(inout)  Xh)
private
Parameters
XhSEM function space.

Definition at line 521 of file space.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ space_init()

subroutine space::space_init ( class(space_t), intent(inout)  s,
integer, intent(in)  t,
integer, intent(in)  lx,
integer, intent(in)  ly,
integer, intent(in), optional  lz 
)
private
Parameters
[in]tQuadrature type
[in]lxPolynomial dimension in x-direction
[in]lyPolynomial dimension in y-direction
[in]lzPolynomial dimension in z-direction

Setup derivative matrices

Definition at line 147 of file space.f90.

Here is the call graph for this function:

◆ space_ne()

pure logical function space::space_ne ( type(space_t), intent(in)  Xh,
type(space_t), intent(in)  Yh 
)
private
Note
this only checks the polynomial dimensions

Definition at line 489 of file space.f90.

Variable Documentation

◆ gj

integer, parameter, public space::gj = 2

Definition at line 48 of file space.f90.

◆ gl

integer, parameter, public space::gl = 0

Definition at line 48 of file space.f90.

◆ gll

integer, parameter, public space::gll = 1

Definition at line 48 of file space.f90.