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

Implements elementwise_filter_t.

Data Types

type  elementwise_filter_t
 Implements the elementwise filter for SEM. More...
 

Functions/Subroutines

subroutine elementwise_filter_init_from_json (this, json, coef)
 Constructor.
 
subroutine elementwise_filter_init_from_components (this, coef, filter_type, transfer)
 Actual Constructor.
 
subroutine elementwise_filter_free (this)
 Destructor.
 
subroutine build_1d (this)
 Build the 1d filter for an element.
 
subroutine elementwise_field_filter_3d (this, f_out, f_in)
 Filter a 3D field.
 
subroutine build_1d_cpu (fh, fht, transfer, nx, filter_type)
 Build the 1d filter for an element on the CPU. Suppose field x is filtered into x_hat by x_hat = fh*x.
 

Function/Subroutine Documentation

◆ build_1d()

subroutine elementwise_filter::build_1d ( class(elementwise_filter_t), intent(inout this)
private

Definition at line 203 of file elementwise_filter.f90.

Here is the call graph for this function:

◆ build_1d_cpu()

subroutine elementwise_filter::build_1d_cpu ( real(kind=rp), dimension(nx, nx), intent(inout fh,
real(kind=rp), dimension(nx, nx), intent(inout fht,
real(kind=rp), dimension(nx), intent(in transfer,
integer, intent(in nx,
character(len=*), intent(in filter_type 
)
private
Parameters
fhThe 1D filter operator.
fhtThe transpose of fh.
trnfrThe transfer function containing weights for different modes.
nxnumber of points, dimension of x.
filter_type

Definition at line 236 of file elementwise_filter.f90.

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

◆ elementwise_field_filter_3d()

subroutine elementwise_filter::elementwise_field_filter_3d ( class(elementwise_filter_t), intent(inout this,
type(field_t), intent(inout f_out,
type(field_t), intent(in f_in 
)
private

Definition at line 218 of file elementwise_filter.f90.

Here is the call graph for this function:

◆ elementwise_filter_free()

subroutine elementwise_filter::elementwise_filter_free ( class(elementwise_filter_t), intent(inout this)
private

Definition at line 167 of file elementwise_filter.f90.

Here is the call graph for this function:

◆ elementwise_filter_init_from_components()

subroutine elementwise_filter::elementwise_filter_init_from_components ( class(elementwise_filter_t), intent(inout this,
type(coef_t), intent(in), target  coef,
character(len=*), intent(in filter_type,
real(kind=rp), dimension(:), intent(in), optional  transfer 
)
private
Parameters
coefSEM coefficients.
filter_typeType of modal basis used by the filter.
transferOptional transfer function.

Definition at line 121 of file elementwise_filter.f90.

Here is the call graph for this function:

◆ elementwise_filter_init_from_json()

subroutine elementwise_filter::elementwise_filter_init_from_json ( class(elementwise_filter_t), intent(inout this,
type(json_file), intent(inout json,
type(coef_t), intent(in), target  coef 
)

Definition at line 86 of file elementwise_filter.f90.