MONC
|
Coarsens a field by selecting data with a specific period in any number of dimensions. More...
Functions/Subroutines | |
integer function, public | fieldcoarsener_operator_get_auto_size (io_configuration, auto_dimension, action_attributes) |
Retrieves the size of an auto dimension based upon the work that will be completed here. More... | |
subroutine, public | perform_fieldcoarsener_operator (io_configuration, field_values, action_attributes, source_monc_location, source_monc, operator_result_values) |
Performs the field coarsener operator on a specific field. More... | |
integer function | locate_dimension (dimension_id, list_of_dims) |
Locates a dimension in a list of dimensions or 0 if none can be found. More... | |
subroutine | determine_dimension_bounds (corresponding_field_definition, registered_monc_info, dimensions_to_slice, indexes_to_slice, dim_weights, dim_periods, dim_starts, number_dims, sliced_size) |
Determines the dimension bounds which are used in the slicing. More... | |
subroutine | get_dimensions_and_indexes_to_slice (str_dim_to_slice, str_index_to_slice, dimensions_to_slice, indexes_to_slice) |
Retrieves the dimensions and indexes to slice from the strings provided in configuration. More... | |
integer function | get_occurances_of_character (source_str, search_char) |
Retrieves the number of occurances of a character in a source string. More... | |
type(list_type) function, public | fieldcoarsener_operator_get_required_fields (action_attributes) |
Retrieves a list of the required fields for running this operator. More... | |
integer function | convert_dimension_str_to_id (dim_str) |
Converts a dimension string to the corresponding numeric ID. More... | |
integer function | get_entire_dimension_size (io_configuration, dimension_name) |
Looks up the global size of a dimension based upon its name. More... | |
Coarsens a field by selecting data with a specific period in any number of dimensions.
|
private |
Converts a dimension string to the corresponding numeric ID.
dim_str | The dimension string |
Definition at line 254 of file fieldcoarsener-operator.F90.
|
private |
Determines the dimension bounds which are used in the slicing.
corresponding_field_definition | The definition of the field that is being sliced |
registered_monc_info | This specific MONC process |
dimensions_to_slice | Numeric code for the dimensions that should be sliced |
indexes_to_slice | The indexes that we are slicing upon |
dim_weights | Output weight for each dimension when dealing with a 1D data |
dim_periods | The periods that we jump over in the data to grab the next source point |
dim_starts | The local start point in data |
number_dims | Output number of dimensions that the field comprises of |
sliced_size | Output overall 1D data size of the sliced array |
Definition at line 126 of file fieldcoarsener-operator.F90.
integer function, public fieldcoarsener_operator_mod::fieldcoarsener_operator_get_auto_size | ( | type(io_configuration_type), intent(inout) | io_configuration, |
character(len=*), intent(in) | auto_dimension, | ||
type(map_type), intent(inout) | action_attributes | ||
) |
Retrieves the size of an auto dimension based upon the work that will be completed here.
io_configuration | The IO server configuration |
auto_dimension | String of the auto dimension to look up |
action_attributes | The XML configuration attributes |
Definition at line 25 of file fieldcoarsener-operator.F90.
type(list_type) function, public fieldcoarsener_operator_mod::fieldcoarsener_operator_get_required_fields | ( | type(map_type), intent(inout) | action_attributes | ) |
Retrieves a list of the required fields for running this operator.
action_attributes | The attributes which configure the operator |
Definition at line 242 of file fieldcoarsener-operator.F90.
|
private |
Retrieves the dimensions and indexes to slice from the strings provided in configuration.
str_dim_to_slice | The string dimensions that we are going to slice |
str_index_to_slice | The string indexes that we are going to slice |
dimensions_to_slice | Numeric corresponding codes for the dimensions to slice |
indexes_to_slice | Numeric corresponding codes for the indexes to slice |
Definition at line 183 of file fieldcoarsener-operator.F90.
|
private |
Looks up the global size of a dimension based upon its name.
io_configuration | The IO server configuration |
dimension_name | The name of the dimension that we are looking up |
Definition at line 272 of file fieldcoarsener-operator.F90.
|
private |
Retrieves the number of occurances of a character in a source string.
source_str | The source string to search |
search_char | The character that we are searching for |
Definition at line 223 of file fieldcoarsener-operator.F90.
|
private |
Locates a dimension in a list of dimensions or 0 if none can be found.
dimension_id | The id to look up |
list_of_dims | The list of dimensions to check |
The | index that this dimension resides at or 0 if it is not found |
Definition at line 102 of file fieldcoarsener-operator.F90.
subroutine, public fieldcoarsener_operator_mod::perform_fieldcoarsener_operator | ( | type(io_configuration_type), intent(inout) | io_configuration, |
type(hashmap_type), intent(inout) | field_values, | ||
type(map_type), intent(inout) | action_attributes, | ||
integer, intent(in) | source_monc_location, | ||
integer, intent(in) | source_monc, | ||
real(kind=default_precision), dimension(:), intent(inout), allocatable | operator_result_values | ||
) |
Performs the field coarsener operator on a specific field.
io_configuration | The IO server configuration |
field_values | The field values |
action_attributes | Attributes associated with the running of this operator |
source_monc_location | The location in configuration data of MONC settings |
source_monc | Process ID of the MONC that sent this data |
operator_result_values | The resulting value or left unallocated if none are appropriate |
Definition at line 53 of file fieldcoarsener-operator.F90.