Neko
0.8.1
A portable framework for high-order spectral element flow simulations
|
Provides tools to calculate the spectral error indicator. More...
Public Member Functions | |
procedure, pass(this) | init => spec_err_ind_init |
Initialize object. More... | |
procedure, pass(this) | free => spec_err_ind_free |
Destructor. More... | |
procedure, pass(this) | get_indicators => spec_err_ind_get |
Calculate the indicator. More... | |
procedure, pass(this) | write_as_field => spec_err_ind_write |
Calculate the indicator. More... | |
Public Attributes | |
type(field_t), pointer | u => null() |
Pointers to main fields. More... | |
type(field_t), pointer | v => null() |
type(field_t), pointer | w => null() |
type(field_t) | u_hat |
Transformed fields. More... | |
type(field_t) | v_hat |
type(field_t) | w_hat |
type(field_t) | wk |
Working field - Consider making this a simple array. More... | |
real(kind=rp) | seri_small = 1.e-14 |
Configuration of spectral error calculation. More... | |
real(kind=rp) | seri_smallr = 1.e-10 |
used for ratios More... | |
real(kind=rp) | seri_smallg = 1.e-5 |
used for gradients More... | |
real(kind=rp) | seri_smalls = 0.2 |
used for sigma and rtmp in error calculations More... | |
integer | seri_np = 4 |
number of points in fitting More... | |
integer | seri_np_max = 4 |
integer | seri_elr = 0 |
last modes skipped More... | |
real(kind=rp), dimension(:), allocatable | eind_u |
spectral error indicator per element More... | |
real(kind=rp), dimension(:), allocatable | eind_v |
real(kind=rp), dimension(:), allocatable | eind_w |
real(kind=rp), dimension(:), allocatable | sig_u |
fit coeficients per element More... | |
real(kind=rp), dimension(:), allocatable | sig_v |
real(kind=rp), dimension(:), allocatable | sig_w |
type(field_list_t) | speri_l |
List to write the spectral error indicator as a field. More... | |
type(file_t) | mf_speri |
File to write. More... | |
Provides tools to calculate the spectral error indicator.
This is a posteriori error measure, based on the local properties of the spectral solution, which was developed by Mavriplis. This method formally only gives an indication of the error.
Definition at line 57 of file spectral_error_indicator.f90.
procedure, pass(this) spectral_error_indicator::spectral_error_indicator_t::free |
Destructor.
Definition at line 93 of file spectral_error_indicator.f90.
procedure, pass(this) spectral_error_indicator::spectral_error_indicator_t::get_indicators |
Calculate the indicator.
Definition at line 95 of file spectral_error_indicator.f90.
procedure, pass(this) spectral_error_indicator::spectral_error_indicator_t::init |
Initialize object.
Definition at line 91 of file spectral_error_indicator.f90.
procedure, pass(this) spectral_error_indicator::spectral_error_indicator_t::write_as_field |
Calculate the indicator.
Definition at line 97 of file spectral_error_indicator.f90.
real(kind=rp), dimension(:), allocatable spectral_error_indicator::spectral_error_indicator_t::eind_u |
spectral error indicator per element
Definition at line 82 of file spectral_error_indicator.f90.
real(kind=rp), dimension(:), allocatable spectral_error_indicator::spectral_error_indicator_t::eind_v |
Definition at line 82 of file spectral_error_indicator.f90.
real(kind=rp), dimension(:), allocatable spectral_error_indicator::spectral_error_indicator_t::eind_w |
Definition at line 82 of file spectral_error_indicator.f90.
type(file_t) spectral_error_indicator::spectral_error_indicator_t::mf_speri |
File to write.
Definition at line 88 of file spectral_error_indicator.f90.
integer spectral_error_indicator::spectral_error_indicator_t::seri_elr = 0 |
last modes skipped
Definition at line 80 of file spectral_error_indicator.f90.
integer spectral_error_indicator::spectral_error_indicator_t::seri_np = 4 |
number of points in fitting
Definition at line 77 of file spectral_error_indicator.f90.
integer spectral_error_indicator::spectral_error_indicator_t::seri_np_max = 4 |
Definition at line 78 of file spectral_error_indicator.f90.
real(kind=rp) spectral_error_indicator::spectral_error_indicator_t::seri_small = 1.e-14 |
Configuration of spectral error calculation.
Definition at line 69 of file spectral_error_indicator.f90.
real(kind=rp) spectral_error_indicator::spectral_error_indicator_t::seri_smallg = 1.e-5 |
used for gradients
Definition at line 73 of file spectral_error_indicator.f90.
real(kind=rp) spectral_error_indicator::spectral_error_indicator_t::seri_smallr = 1.e-10 |
used for ratios
Definition at line 71 of file spectral_error_indicator.f90.
real(kind=rp) spectral_error_indicator::spectral_error_indicator_t::seri_smalls = 0.2 |
used for sigma and rtmp in error calculations
Definition at line 75 of file spectral_error_indicator.f90.
real(kind=rp), dimension(:), allocatable spectral_error_indicator::spectral_error_indicator_t::sig_u |
fit coeficients per element
Definition at line 84 of file spectral_error_indicator.f90.
real(kind=rp), dimension(:), allocatable spectral_error_indicator::spectral_error_indicator_t::sig_v |
Definition at line 84 of file spectral_error_indicator.f90.
real(kind=rp), dimension(:), allocatable spectral_error_indicator::spectral_error_indicator_t::sig_w |
Definition at line 84 of file spectral_error_indicator.f90.
type(field_list_t) spectral_error_indicator::spectral_error_indicator_t::speri_l |
List to write the spectral error indicator as a field.
Definition at line 86 of file spectral_error_indicator.f90.
type(field_t), pointer spectral_error_indicator::spectral_error_indicator_t::u => null() |
Pointers to main fields.
Definition at line 59 of file spectral_error_indicator.f90.
type(field_t) spectral_error_indicator::spectral_error_indicator_t::u_hat |
Transformed fields.
Definition at line 63 of file spectral_error_indicator.f90.
type(field_t), pointer spectral_error_indicator::spectral_error_indicator_t::v => null() |
Definition at line 60 of file spectral_error_indicator.f90.
type(field_t) spectral_error_indicator::spectral_error_indicator_t::v_hat |
Definition at line 64 of file spectral_error_indicator.f90.
type(field_t), pointer spectral_error_indicator::spectral_error_indicator_t::w => null() |
Definition at line 61 of file spectral_error_indicator.f90.
type(field_t) spectral_error_indicator::spectral_error_indicator_t::w_hat |
Definition at line 65 of file spectral_error_indicator.f90.
type(field_t) spectral_error_indicator::spectral_error_indicator_t::wk |
Working field - Consider making this a simple array.
Definition at line 67 of file spectral_error_indicator.f90.