KTH framework for Nek5000 toolboxes; testing version
0.0.1
|
Power iteration submodule. More...
Files | |
file | pwit.f |
Set of subroutines to perform power iterations within time stepper. | |
Functions | |
subroutine | stepper_register () |
Register power iteration module. More... | |
subroutine | stepper_init () |
Initilise power iteration module. More... | |
logical function | stepper_is_initialised () |
Check if module was initialised. More... | |
subroutine | stepper_vsolve |
Renormalise vector and check convergence. More... | |
subroutine | stepper_read (set_in) |
Read restart files. More... | |
subroutine | stepper_write |
Write restart files. More... | |
Power iteration submodule.
Power iteration submodule. This module is most useful for optimal initial condition mode. In case of the direct and adjoint modes it is better to perform simple linear simulation with a long time horison.
Varaible | Type | Runtime parameter | Description |
---|---|---|---|
pwit_l2n | real | _pwit:l2n | initial L2 norm of the evolved vector for every cycle |
subroutine stepper_init |
Initilise power iteration module.
Definition at line 80 of file pwit.f.
References cmult(), cnht_opcmult(), cnht_opcopy(), mntr_abort(), mntr_check_abort(), mntr_log(), mntr_logr(), mntr_mod_is_name_reg(), mntr_tmr_add(), mntr_warn(), rprm_rp_get(), rprm_rp_is_name_reg(), rprm_sec_is_name_reg(), stepper_read(), and tstpr_dssum().
logical function stepper_is_initialised |
Check if module was initialised.
Definition at line 204 of file pwit.f.
References stepper_is_initialised().
subroutine stepper_read | ( | integer | set_in | ) |
Read restart files.
[in] | set_in | restart set number |
Definition at line 321 of file pwit.f.
References chkptms_restart_read(), chkptms_set_name(), io_init(), and mntr_log().
subroutine stepper_register |
Register power iteration module.
Definition at line 10 of file pwit.f.
References mntr_abort(), mntr_mod_is_name_reg(), mntr_mod_reg(), mntr_tmr_add(), mntr_tmr_reg(), mntr_warn(), rprm_rp_reg(), rprm_sec_reg(), and rprm_sec_set_act().
subroutine stepper_vsolve |
Renormalise vector and check convergence.
Definition at line 219 of file pwit.f.
References cmult(), cnht_opcmult(), cnht_opcopy(), cnht_opsub3(), mntr_log(), mntr_logr(), mntr_tmr_add(), outpost2(), stepper_write(), and tstpr_dssum().
subroutine stepper_write |
Write restart files.
Definition at line 364 of file pwit.f.
References chkpt_get_fset(), chkptms_restart_write(), chkptms_set_name(), io_init(), and mntr_log().