MONC
Data Types | Modules | Functions/Subroutines | Variables
timeaveraged_manipulation.F90 File Reference

Go to the source code of this file.

Data Types

type  timeaveraged_time_manipulation_mod::time_averaged_completed_type
 The completed time averaged values. More...
 

Modules

module  timeaveraged_time_manipulation_mod
 Performs time averaged, time manipulation and only returns a value if the output frequency determines one should be.
 

Functions/Subroutines

subroutine, public timeaveraged_time_manipulation_mod::init_time_averaged_manipulation ()
 Initialises the reduction action. More...
 
subroutine, public timeaveraged_time_manipulation_mod::finalise_time_averaged_manipulation ()
 Finalises the reduction action, waiting for all outstanding requests and then freeing data. More...
 
logical function, public timeaveraged_time_manipulation_mod::is_time_averaged_time_manipulation_ready_to_write (latest_time, output_frequency, write_time, latest_timestep, write_timestep)
 
type(data_values_type) function, public timeaveraged_time_manipulation_mod::perform_timeaveraged_time_manipulation (instant_values, output_frequency, field_name, timestep, time)
 Performs the time averaged manipulation and only returns values if these are to be stored (i.e. past an output frequency) More...
 
subroutine timeaveraged_time_manipulation_mod::time_average (timeaveraged_value, instant_values, time)
 Does the time averaging itself. More...
 
integer(kind=8) function, public timeaveraged_time_manipulation_mod::prepare_to_serialise_time_averaged_state ()
 Prepares to serialise the time averaged state values. Both determines the storage size required and also issue locks. More...
 
subroutine, public timeaveraged_time_manipulation_mod::serialise_time_averaged_state (byte_data)
 Serialises the state of this manipulator so that it can be restarted later on. Releases any locks issue during preparation. More...
 
subroutine, public timeaveraged_time_manipulation_mod::unserialise_time_averaged_state (byte_data)
 Unserialises some byte data to initialise the state from some previous version. More...
 
integer(kind=8) function timeaveraged_time_manipulation_mod::prepare_to_serialise_time_averaged_completed_value (time_av_value)
 Prepares to serialise a time averaged completed value, both determines the storage size and also issue any locks. More...
 
subroutine timeaveraged_time_manipulation_mod::serialise_time_averaged_completed_value (time_av_value, byte_data, current_data_point)
 Serialises a specific time averaged completed value, releases any locks issued during preparation. More...
 
type(time_averaged_completed_type) function, pointer timeaveraged_time_manipulation_mod::unserialise_time_averaged_completed_value (byte_data)
 Will create a specific time averaged completed value based upon the provided serialised data. More...
 
type(time_averaged_completed_type) function, pointer timeaveraged_time_manipulation_mod::find_or_add_timeaveraged_value (timestep, field_name)
 Retrieves or creates (and retrieves) a time averaged value based upon the information provided. More...
 
type(time_averaged_completed_type) function, pointer timeaveraged_time_manipulation_mod::find_timeaveraged_value (field_name, issue_read_lock)
 Finds a time averaged value based upon its field name. More...
 

Variables

type(hashmap_type), volatile timeaveraged_time_manipulation_mod::timeaveraged_values
 
integer, volatile timeaveraged_time_manipulation_mod::timeaveraged_value_rw_lock