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

Compression.

Data Types

interface  cpr_init
 
type  cpr_t
 include information needed for compressing fields More...
 

Functions/Subroutines

subroutine cpr_init_all (cpr, u)
 Initialize cpr.
 
subroutine, public cpr_free (cpr)
 Deallocate coefficients.
 
subroutine cpr_generate_specmat (cpr)
 Generate spectral tranform matrices.
 
subroutine cpr_goto_space (cpr, space)
 Tranform to spectral space (using tensor product)
 
subroutine cpr_truncate_wn (cpr, coef)
 Truncate the frequencies.
 
subroutine sortcoeff (vsort, v, isort, nxyz)
 Sort the spectral coefficient in descending order array vsort. The original indices are stored in the isort vector.
 
subroutine build_filter_tf (fx, fy, fz, kut, lx)
 create filter transfer function
 
real(kind=rp) function get_elem_l2norm (elemdata, coef, space, e)
 

Function/Subroutine Documentation

◆ build_filter_tf()

subroutine cpr::build_filter_tf ( real(kind=rp), dimension(lx,lx), intent(inout fx,
real(kind=rp), dimension(lx,lx), intent(inout fy,
real(kind=rp), dimension(lx,lx), intent(inout fz,
integer, intent(in kut,
integer, intent(in lx 
)
private

Definition at line 404 of file cpr.f90.

Here is the caller graph for this function:

◆ cpr_free()

subroutine, public cpr::cpr_free ( type(cpr_t), intent(inout cpr)

Definition at line 108 of file cpr.f90.

Here is the caller graph for this function:

◆ cpr_generate_specmat()

subroutine cpr::cpr_generate_specmat ( type(cpr_t), intent(inout cpr)
private

Definition at line 145 of file cpr.f90.

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

◆ cpr_goto_space()

subroutine cpr::cpr_goto_space ( type(cpr_t), intent(inout cpr,
character(len=4)  space 
)
private

Definition at line 220 of file cpr.f90.

Here is the caller graph for this function:

◆ cpr_init_all()

subroutine cpr::cpr_init_all ( type(cpr_t), intent(inout cpr,
type(field_t), intent(in), target  u 
)
private
Parameters
[in]u'spec' / 'phys'

Definition at line 78 of file cpr.f90.

◆ cpr_truncate_wn()

subroutine cpr::cpr_truncate_wn ( type(cpr_t), intent(inout cpr,
type(coef_t), intent(inout coef 
)
private

Definition at line 264 of file cpr.f90.

Here is the call graph for this function:

◆ get_elem_l2norm()

real(kind=rp) function cpr::get_elem_l2norm ( real(kind=rp), dimension(coef%xh%lx, coef%xh%lx, coef%xh%lx)  elemdata,
type(coef_t), intent(in coef,
character(len=4)  space,
integer  e 
)
private

Definition at line 469 of file cpr.f90.

Here is the caller graph for this function:

◆ sortcoeff()

subroutine cpr::sortcoeff ( real(kind=rp), dimension(nxyz), intent(inout vsort,
real(kind=rp), dimension(nxyz), intent(inout v,
integer, dimension(nxyz), intent(inout isort,
integer, intent(in nxyz 
)
private

Definition at line 377 of file cpr.f90.

Here is the caller graph for this function: