MONC
|
Writer types which are shared across writing functionality. Also includes serialisation functionality for these types. More...
Data Types | |
type | collective_q_field_representation_type |
type | netcdf_diagnostics_timeseries_type |
type | netcdf_diagnostics_type |
type | pending_write_type |
type | write_field_collective_descriptor_type |
type | write_field_collective_monc_info_type |
type | write_field_collective_values_type |
type | writer_field_type |
type | writer_type |
Functions/Subroutines | |
integer(kind=8) function, public | prepare_to_serialise_writer_type (writer_to_serialise) |
Prepares to serialise the writer type by issuing locks and determining the size of serialised bytes needed. More... | |
subroutine, public | serialise_writer_type (writer_to_serialise, byte_data) |
Serialises a specific writer type into byte data (for storage or transmission.) Releases any locks issued during preparation. More... | |
subroutine, public | unserialise_writer_type (writer_to_unserialise, byte_data) |
Unserialises some byte data into the writer in order to recreate the state of the writer. More... | |
integer(kind=8) function | prepare_to_serialise_writer_field_type (writer_field_to_serialise) |
Prepares to serialise a specific writer field, both determines the data size and issues any locks. More... | |
subroutine | serialise_writer_field_type (writer_field_to_serialise, byte_data, current_data_point) |
Serialises a specific writer field type for storage or transmission. This releases any locks issued during preparation. More... | |
subroutine | unserialise_writer_field_type (writer_field_to_unserialise, byte_data) |
Unserialises byte data into a writer field type. More... | |
integer(kind=8) function | prepare_to_serialise_collective_values_type (collective_values_to_serialise) |
Prepares to serialise a specific collective value, both determines the required byte storate size and issues any locks. More... | |
subroutine | serialise_collective_values_type (collective_values_to_serialise, byte_data, current_data_point) |
Serialises collective values. This releases any locks issued during preparation. More... | |
type(write_field_collective_values_type) function, pointer | unserialise_collective_values_type (byte_data) |
Unserialsies collective values contained in some data. More... | |
integer(kind=8) function, public | prepare_to_serialise_data_values_type (data_values_to_serialise) |
Prepares to serialise a specific data values type, both determines the byte size required and also issues any locks. More... | |
subroutine, public | serialise_data_values_type (data_values_to_serialise, byte_data, current_data_point) |
Serialises some data values to store or transmit. This releases any locks issued during preparation. More... | |
type(data_values_type) function, pointer, public | unserialise_data_values_type (byte_data) |
Unserialises some byte data into data values. More... | |
integer(kind=8) function | prepare_to_serialise_string_map (map_to_serialise) |
Prepares a map for serialisation, both determines the size of storage required and also issues any locks. More... | |
subroutine | serialise_string_map (map_to_serialise, byte_data, current_data_point) |
Serialises a string map, where the values are assumed to be strings. This releases any locks issued during preparation. More... | |
type(map_type) function, pointer | unserialise_string_map (byte_data) |
Inflates some byte data into a string map. More... | |
Writer types which are shared across writing functionality. Also includes serialisation functionality for these types.
|
private |
Prepares to serialise a specific collective value, both determines the required byte storate size and issues any locks.
collective_values_to_serialise | The collective values to prepare for serialisation |
Definition at line 361 of file writer_types.F90.
integer(kind=8) function, public writer_types_mod::prepare_to_serialise_data_values_type | ( | type(data_values_type), intent(inout) | data_values_to_serialise | ) |
Prepares to serialise a specific data values type, both determines the byte size required and also issues any locks.
data_values_to_serialise | The data values to prepare for serialisation |
Definition at line 463 of file writer_types.F90.
|
private |
Prepares a map for serialisation, both determines the size of storage required and also issues any locks.
map_to_serialise | The map which will be prepared for serialisation |
Definition at line 562 of file writer_types.F90.
|
private |
Prepares to serialise a specific writer field, both determines the data size and issues any locks.
writer_field_to_serialise | The writer field type to prepare for serialisation |
Definition at line 238 of file writer_types.F90.
integer(kind=8) function, public writer_types_mod::prepare_to_serialise_writer_type | ( | type(writer_type), intent(inout) | writer_to_serialise | ) |
Prepares to serialise the writer type by issuing locks and determining the size of serialised bytes needed.
writer_to_serialise | Writer type to serialise |
Definition at line 119 of file writer_types.F90.
|
private |
Serialises collective values. This releases any locks issued during preparation.
collective_values_to_serialise | The collective values to serialise |
byte_data | The byte data which will be packed with the serialised byte code |
current_data_point | The current write point in the byte data, is updated during call so represents next point on return |
Definition at line 392 of file writer_types.F90.
subroutine, public writer_types_mod::serialise_data_values_type | ( | type(data_values_type), intent(inout) | data_values_to_serialise, |
character, dimension(:), intent(inout), allocatable | byte_data, | ||
integer, intent(inout) | current_data_point | ||
) |
Serialises some data values to store or transmit. This releases any locks issued during preparation.
data_values_to_serialise | The data values to serialise |
byte_data | The byte data which will be packaged with the serialised byte code |
current_data_point | The current write point in the byte data, is updated during call so represents next point on return |
Definition at line 486 of file writer_types.F90.
|
private |
Serialises a string map, where the values are assumed to be strings. This releases any locks issued during preparation.
map_to_serialise | The map which will be serialised |
byte_data | The byte data representation of this map, this is allocated here |
current_data_point | The current write point in the byte data, is updated during call so represents next point on return |
Definition at line 583 of file writer_types.F90.
|
private |
Serialises a specific writer field type for storage or transmission. This releases any locks issued during preparation.
writer_field_to_serialise | The writer field type to serialise |
byte_data | The byte data to pack with the serialised data |
current_data_point | The current write point in the byte data, is updated during call so represents next point on return |
Definition at line 274 of file writer_types.F90.
subroutine, public writer_types_mod::serialise_writer_type | ( | type(writer_type), intent(inout) | writer_to_serialise, |
character, dimension(:), intent(inout), allocatable | byte_data | ||
) |
Serialises a specific writer type into byte data (for storage or transmission.) Releases any locks issued during preparation.
writer_to_serialise | The writer type to serialise |
byte_data | The byte data which will be packed with the serialised data |
Definition at line 142 of file writer_types.F90.
|
private |
Unserialsies collective values contained in some data.
byte_data | The byte data to unserialise |
Definition at line 433 of file writer_types.F90.
type(data_values_type) function, pointer, public writer_types_mod::unserialise_data_values_type | ( | character, dimension(:), intent(in) | byte_data | ) |
Unserialises some byte data into data values.
byte_data | The byte data which is read from |
Definition at line 525 of file writer_types.F90.
|
private |
Inflates some byte data into a string map.
byte_data | The byte data to unserialise |
Definition at line 615 of file writer_types.F90.
|
private |
Unserialises byte data into a writer field type.
writer_field_to_unserialise | The writer field to fill in |
byte_data | The raw byte data to read from |
Definition at line 323 of file writer_types.F90.
subroutine, public writer_types_mod::unserialise_writer_type | ( | type(writer_type), intent(inout) | writer_to_unserialise, |
character, dimension(:), intent(in) | byte_data | ||
) |
Unserialises some byte data into the writer in order to recreate the state of the writer.
writer_to_unserialise | The writer to unserialise and fill in |
byte_data | The raw byte data to read from |
Definition at line 191 of file writer_types.F90.