| 
    KTH framework for Nek5000 toolboxes; testing version
    0.0.1
    
   | 
 
Set of rutines to collect a time history for set of points. More...
 Collaboration diagram for Time history for set of points:Files | |
| file | tsrs.f | 
| Routines for time series module.  | |
| file | tsrs_IO.f | 
| I/O routines for time series module.  | |
Functions | |
| subroutine | tsrs_register () | 
| Register point time seriesmodule for statistics tool.  More... | |
| subroutine | tsrs_init () | 
| Initilise time series module.  More... | |
| subroutine | tsrs_end () | 
| Finalise time series module.  More... | |
| logical function | tsrs_is_initialised () | 
| Check if module was initialised.  More... | |
| subroutine | tsrs_main (ifsave) | 
| Main interface of time series module.  More... | |
| subroutine | tsrs_get () | 
| Perform interpolation and data buffering.  More... | |
| subroutine | tsrs_read_redistribute () | 
| Read and redistribute points among mpi ranks.  More... | |
| subroutine | tsrs_interpolate (vlct, vort, pres) | 
| Interpolate fields on a set of points.  More... | |
| subroutine | tsrs_buffer_save (ifapp, ifsave) | 
| Buffer and save interpolated fields.  More... | |
| subroutine | tsrs_mfo_outfld (bff, lbff) | 
| Write a point history file.  More... | |
| subroutine | tsrs_mfo_write_hdr (wdsizet, wdsizef) | 
| Write file header.  More... | |
| subroutine | tsrs_mfo_outs (ul, lpts, ierr) | 
| Write single field for a local set of points.  More... | |
| subroutine | tsrs_mfi_points () | 
| Read interpolation points positions, number and redistribute them.  More... | |
Set of rutines to collect a time history for set of points.
This set of routines performs spectral interpolation of the velocity, pressure and vorticity fileds on a set of points and writes them in a binary file.
| Varaible | Type | Runtime parameter | Description | 
|---|---|---|---|
| tsrs_tstart | real | _tsrs:tStart | sampling starting time | 
| tsrs_tint | real | _tsrs:tInt | sampling time interval | 
| tsrs_skstep | integer | _tsrs:SkStep | skipped initial steps | 
| subroutine tsrs_buffer_save | ( | logical | ifapp, | 
| logical | ifsave | ||
| ) | 
Buffer and save interpolated fields.
| [in] | ifapp | do we append buffer | 
| [in] | ifsave | save and clean the buffer in current call | 
Definition at line 622 of file tsrs.f.
References copy(), mntr_tmr_add(), rzero(), and tsrs_mfo_outfld().
 Here is the call graph for this function:
 Here is the caller graph for this function:| subroutine tsrs_end | 
Finalise time series module.
Definition at line 193 of file tsrs.f.
References tsrs_buffer_save().
 Here is the call graph for this function:| subroutine tsrs_get | 
Perform interpolation and data buffering.
This routine performs interpolation on set of points, buffering and file writing.
Definition at line 310 of file tsrs.f.
References mappr(), mntr_tmr_add(), and tsrs_interpolate().
 Here is the call graph for this function:
 Here is the caller graph for this function:| subroutine tsrs_init | 
Initilise time series module.
Definition at line 98 of file tsrs.f.
References mntr_log(), mntr_tmr_add(), mntr_warn(), rprm_rp_get(), rzero(), and tsrs_read_redistribute().
 Here is the call graph for this function:| logical function tsrs_is_initialised | 
| subroutine tsrs_main | ( | logical | ifsave | ) | 
Main interface of time series module.
This routine calls interpolation routine at proper step and allows a user to write down data in a current step if correlation with some other package is required.
| [in] | ifsave | force I/O operation at a given step | 
Definition at line 230 of file tsrs.f.
References add2sxy(), copy(), mntr_log(), opcopy(), tsrs_buffer_save(), and tsrs_get().
 Here is the call graph for this function:| subroutine tsrs_mfi_points | 
Read interpolation points positions, number and redistribute them.
Definition at line 377 of file tsrs_IO.f.
References bcast(), blank(), byte_close, byte_open, byte_read, byte_reverse, byte_reverse8, copy(), copy4r(), crecv2(), csend(), mntr_abort(), mntr_check_abort(), and mntr_logi().
 Here is the call graph for this function:
 Here is the caller graph for this function:| subroutine tsrs_mfo_outfld | ( | real, dimension(lbff) | bff, | 
| integer | lbff | ||
| ) | 
Write a point history file.
This routine is based on mfo_outfld adopted for point data
| [in] | bff | buffer to write | 
| [in] | lbff | buffer size | 
Definition at line 14 of file tsrs_IO.f.
References byte_close, byte_close_mpi(), byte_set_view(), io_init(), mfo_open_files(), mntr_check_abort(), tsrs_mfo_outs(), and tsrs_mfo_write_hdr().
 Here is the call graph for this function:
 Here is the caller graph for this function:| subroutine tsrs_mfo_outs | ( | real, dimension(lpts) | ul, | 
| integer | lpts, | ||
| integer | ierr | ||
| ) | 
Write single field for a local set of points.
This routine is just a modification of mfo_outs. The only reason to have it is to control dummy array sizes, as mfo_outs could fail in this case. Otherwise it would be completely redundant.
| [in] | ul | input array | 
| [in] | lpts | array length | 
| [out] | ierr | error flagg | 
Definition at line 284 of file tsrs_IO.f.
References byte_write, byte_write_mpi(), copy(), copyx4(), crecv(), csend(), and nekgsync().
 Here is the call graph for this function:
 Here is the caller graph for this function:| subroutine tsrs_mfo_write_hdr | ( | integer | wdsizet, | 
| integer | wdsizef | ||
| ) | 
Write file header.
This routine is based on mfo_write_hdr adopted for point data
| [in] | wdsizet | writing precision for position and time | 
| [in] | wdsizef | writing precision for fileds | 
Definition at line 151 of file tsrs_IO.f.
References blank(), byte_set_view(), byte_write, byte_write_mpi(), crecv(), csend(), icopy(), mntr_check_abort(), and nekgsync().
 Here is the call graph for this function:
 Here is the caller graph for this function:| subroutine tsrs_read_redistribute | 
Read and redistribute points among mpi ranks.
Definition at line 356 of file tsrs.f.
References copy(), icopy(), io_file_freeid(), mntr_abort(), nekgsync(), pts_rdst(), and tsrs_mfi_points().
 Here is the call graph for this function:
 Here is the caller graph for this function:| subroutine tsrs_register | 
Register point time seriesmodule for statistics tool.
Definition at line 12 of file tsrs.f.
References mntr_abort(), mntr_mod_is_name_reg(), mntr_mod_reg(), mntr_tmr_add(), mntr_tmr_is_name_reg(), mntr_tmr_reg(), mntr_warn(), rprm_rp_reg(), rprm_sec_reg(), and rprm_sec_set_act().
 Here is the call graph for this function: