Neko  0.9.99
A portable framework for high-order spectral element flow simulations
spectral_error::spectral_error_t Type Reference

Provides tools to calculate the spectral error indicator. More...

Inheritance diagram for spectral_error::spectral_error_t:
Collaboration diagram for spectral_error::spectral_error_t:

Public Member Functions

procedure, pass(this) init => spectral_error_init
 Constructor. More...
 
procedure, pass(this) free => spectral_error_free
 Destructor. More...
 
procedure, pass(this) compute_ => spectral_error_compute
 Compute the indicator (called according to the simcomp controller). More...
 
procedure, pass(this) get_indicators => spectral_error_get_indicators
 Calculate the indicator. More...
 
procedure, pass(this) init_base => simulation_component_init_base
 Constructor for the simulation_component_t (base) class. More...
 
procedure, pass(this) free_base => simulation_component_free_base
 Destructor for the simulation_component_t (base) class. More...
 
procedure, pass(this) restart => simulation_component_restart_wrapper
 Wrapper for calling set_counter for the time based controllers. Serves as the public interface. More...
 
procedure, pass(this) preprocess => simulation_component_preprocess_wrapper
 Wrapper for calling preprocess_ based on the preprocess_controller. Serves as the public interface. More...
 
procedure, pass(this) compute => simulation_component_compute_wrapper
 Wrapper for calling compute_ based on the compute_controller. Serves as the public interface. More...
 
procedure, pass(this) preprocess_
 The preprocessing function to be executed during the run. More...
 
procedure, pass(this) restart_
 The restart function to be called upon restarting simulation. 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), pointer u_hat => null()
 Transformed fields. More...
 
type(field_t), pointer v_hat => null()
 
type(field_t), pointer w_hat => null()
 
type(field_twk
 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_tsperi_l
 List to write the spectral error indicator as a field. More...
 
type(file_tmf_speri
 File to write. More...
 
type(field_writer_twriter
 Field writer controller for the output. More...
 
type(case_t), pointer case
 Pointer to the simulation case. More...
 
type(time_based_controller_t) preprocess_controller
 Controller for when to run preprocess. More...
 
type(time_based_controller_t) compute_controller
 Controller for when to run compute. More...
 
type(time_based_controller_t) output_controller
 Controller for when to do output. More...
 
integer order
 The execution order, lowest excutes first. More...
 

Detailed Description

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 65 of file spectral_error.f90.

Member Function/Subroutine Documentation

◆ compute()

procedure, pass(this) simulation_component::simulation_component_t::compute
inherited

Definition at line 73 of file simulation_component.f90.

◆ compute_()

procedure, pass(this) spectral_error::spectral_error_t::compute_

Definition at line 105 of file spectral_error.f90.

◆ free()

procedure, pass(this) spectral_error::spectral_error_t::free

Definition at line 103 of file spectral_error.f90.

◆ free_base()

procedure, pass(this) simulation_component::simulation_component_t::free_base
inherited

Definition at line 63 of file simulation_component.f90.

◆ get_indicators()

procedure, pass(this) spectral_error::spectral_error_t::get_indicators

Definition at line 107 of file spectral_error.f90.

◆ init()

procedure, pass(this) spectral_error::spectral_error_t::init

Definition at line 101 of file spectral_error.f90.

◆ init_base()

procedure, pass(this) simulation_component::simulation_component_t::init_base
inherited

Definition at line 61 of file simulation_component.f90.

◆ preprocess()

procedure, pass(this) simulation_component::simulation_component_t::preprocess
inherited

Definition at line 69 of file simulation_component.f90.

◆ preprocess_()

procedure, pass(this) simulation_component::simulation_component_t::preprocess_
inherited

Definition at line 79 of file simulation_component.f90.

◆ restart()

procedure, pass(this) simulation_component::simulation_component_t::restart
inherited

Definition at line 66 of file simulation_component.f90.

◆ restart_()

procedure, pass(this) simulation_component::simulation_component_t::restart_
inherited

Definition at line 83 of file simulation_component.f90.

Member Data Documentation

◆ case

type(case_t), pointer simulation_component::simulation_component_t::case
inherited

Definition at line 50 of file simulation_component.f90.

◆ compute_controller

type(time_based_controller_t) simulation_component::simulation_component_t::compute_controller
inherited

Definition at line 54 of file simulation_component.f90.

◆ eind_u

real(kind=rp), dimension(:), allocatable spectral_error::spectral_error_t::eind_u

Definition at line 90 of file spectral_error.f90.

◆ eind_v

real(kind=rp), dimension(:), allocatable spectral_error::spectral_error_t::eind_v

Definition at line 90 of file spectral_error.f90.

◆ eind_w

real(kind=rp), dimension(:), allocatable spectral_error::spectral_error_t::eind_w

Definition at line 90 of file spectral_error.f90.

◆ mf_speri

type(file_t) spectral_error::spectral_error_t::mf_speri

Definition at line 96 of file spectral_error.f90.

◆ order

integer simulation_component::simulation_component_t::order
inherited

Definition at line 58 of file simulation_component.f90.

◆ output_controller

type(time_based_controller_t) simulation_component::simulation_component_t::output_controller
inherited

Definition at line 56 of file simulation_component.f90.

◆ preprocess_controller

type(time_based_controller_t) simulation_component::simulation_component_t::preprocess_controller
inherited

Definition at line 52 of file simulation_component.f90.

◆ seri_elr

integer spectral_error::spectral_error_t::seri_elr = 0

Definition at line 88 of file spectral_error.f90.

◆ seri_np

integer spectral_error::spectral_error_t::seri_np = 4

Definition at line 85 of file spectral_error.f90.

◆ seri_np_max

integer spectral_error::spectral_error_t::seri_np_max = 4

Definition at line 86 of file spectral_error.f90.

◆ seri_small

real(kind=rp) spectral_error::spectral_error_t::seri_small = 1.e-14

Definition at line 77 of file spectral_error.f90.

◆ seri_smallg

real(kind=rp) spectral_error::spectral_error_t::seri_smallg = 1.e-5

Definition at line 81 of file spectral_error.f90.

◆ seri_smallr

real(kind=rp) spectral_error::spectral_error_t::seri_smallr = 1.e-10

Definition at line 79 of file spectral_error.f90.

◆ seri_smalls

real(kind=rp) spectral_error::spectral_error_t::seri_smalls = 0.2

Definition at line 83 of file spectral_error.f90.

◆ sig_u

real(kind=rp), dimension(:), allocatable spectral_error::spectral_error_t::sig_u

Definition at line 92 of file spectral_error.f90.

◆ sig_v

real(kind=rp), dimension(:), allocatable spectral_error::spectral_error_t::sig_v

Definition at line 92 of file spectral_error.f90.

◆ sig_w

real(kind=rp), dimension(:), allocatable spectral_error::spectral_error_t::sig_w

Definition at line 92 of file spectral_error.f90.

◆ speri_l

type(field_list_t) spectral_error::spectral_error_t::speri_l

Definition at line 94 of file spectral_error.f90.

◆ u

type(field_t), pointer spectral_error::spectral_error_t::u => null()

Definition at line 67 of file spectral_error.f90.

◆ u_hat

type(field_t), pointer spectral_error::spectral_error_t::u_hat => null()

Definition at line 71 of file spectral_error.f90.

◆ v

type(field_t), pointer spectral_error::spectral_error_t::v => null()

Definition at line 68 of file spectral_error.f90.

◆ v_hat

type(field_t), pointer spectral_error::spectral_error_t::v_hat => null()

Definition at line 72 of file spectral_error.f90.

◆ w

type(field_t), pointer spectral_error::spectral_error_t::w => null()

Definition at line 69 of file spectral_error.f90.

◆ w_hat

type(field_t), pointer spectral_error::spectral_error_t::w_hat => null()

Definition at line 73 of file spectral_error.f90.

◆ wk

type(field_t) spectral_error::spectral_error_t::wk

Definition at line 75 of file spectral_error.f90.

◆ writer

type(field_writer_t) spectral_error::spectral_error_t::writer

Definition at line 98 of file spectral_error.f90.


The documentation for this type was generated from the following file: