![]() |
YAC 3.7.0
Yet Another Coupler
|
#include "component.h"
Go to the source code of this file.
Enumerations | |
enum | yac_field_exchange_type { NOTHING = 0 , SOURCE = 1 , TARGET = 2 } |
void yac_coupling_field_delete | ( | struct coupling_field * | cpl_field | ) |
struct yac_basic_grid * yac_coupling_field_get_basic_grid | ( | struct coupling_field * | field | ) |
size_t yac_coupling_field_get_data_size | ( | struct coupling_field * | field, |
enum yac_location | location ) |
char * yac_coupling_field_get_datetime | ( | struct coupling_field * | cpl_field | ) |
struct yac_interp_field const * yac_coupling_field_get_interp_fields | ( | struct coupling_field * | field | ) |
size_t yac_coupling_field_get_num_interp_fields | ( | struct coupling_field * | field | ) |
void yac_coupling_field_get_src_field_buffer_sizes | ( | struct coupling_field * | field, |
size_t * | num_src_fields, | ||
size_t const ** | src_field_buffer_sizes ) |
gets the source field buffer sizes (used for raw data exchange) of the get operation
[in] | field | |
[out] | num_src_fields | number of source fields |
[out] | src_field_buffer_sizes | size of the buffer for each source field |
Definition at line 611 of file fields.c.
struct coupling_field * yac_coupling_field_new | ( | char const * | field_name, |
char const * | component_name, | ||
struct yac_basic_grid * | grid, | ||
struct yac_interp_field * | interp_fields, | ||
unsigned | num_interp_fields, | ||
size_t | collection_size, | ||
const char * | timestep ) |
Constructs a coupling field
[in] | field_name | name of the coupling field |
[in] | component_name | component name |
[in] | grid | grid |
[in] | interp_fields | interpolation fields |
[in] | num_interp_fields | number of entries in interp_fields |
[in] | collection_size | |
[in] | timestep |
Definition at line 61 of file fields.c.
unsigned yac_get_coupling_field_collection_size | ( | struct coupling_field * | field | ) |
char const * yac_get_coupling_field_comp_name | ( | struct coupling_field * | field | ) |
enum yac_field_exchange_type yac_get_coupling_field_exchange_type | ( | struct coupling_field * | field | ) |
enum yac_location yac_get_coupling_field_get_interp_field_location | ( | struct coupling_field * | field, |
size_t | interp_field_idx ) |
int * yac_get_coupling_field_get_mask | ( | struct coupling_field * | field | ) |
struct event * yac_get_coupling_field_get_op_event | ( | struct coupling_field * | field | ) |
struct yac_interp_weights_data yac_get_coupling_field_get_op_interp_weights_data | ( | struct coupling_field * | field | ) |
gets the field interpolation weight data (used for raw data exchange) of the get operation
[in] | field |
Definition at line 578 of file fields.c.
struct yac_interpolation * yac_get_coupling_field_get_op_interpolation | ( | struct coupling_field * | field | ) |
gets the field interpolation of the get operation
[in] | field |
Definition at line 544 of file fields.c.
struct yac_interpolation_exchange * yac_get_coupling_field_get_op_interpolation_exchange | ( | struct coupling_field * | field | ) |
gets the field interpolation exchange (used for raw data exchange) of the get operation
[in] | field |
Definition at line 561 of file fields.c.
int yac_get_coupling_field_get_op_use_raw_exchange | ( | struct coupling_field * | field | ) |
int yac_get_coupling_field_get_op_with_frac_mask | ( | struct coupling_field * | cpl_field | ) |
const char * yac_get_coupling_field_name | ( | struct coupling_field * | field | ) |
unsigned yac_get_coupling_field_num_puts | ( | struct coupling_field * | field | ) |
gets the number of put operations of the coupling field
[in] | field |
Definition at line 501 of file fields.c.
int ** yac_get_coupling_field_put_mask | ( | struct coupling_field * | field | ) |
struct event * yac_get_coupling_field_put_op_event | ( | struct coupling_field * | field, |
unsigned | put_idx ) |
gets the event of a specified put operation
[in] | field | |
[in] | put_idx | index of the put operation |
Definition at line 396 of file fields.c.
struct yac_interpolation * yac_get_coupling_field_put_op_interpolation | ( | struct coupling_field * | field, |
unsigned | put_idx ) |
gets the field interpolation of a specified put operation
[in] | field | |
[in] | put_idx | index of the put operation |
Definition at line 410 of file fields.c.
struct yac_interpolation_exchange * yac_get_coupling_field_put_op_interpolation_exchange | ( | struct coupling_field * | field, |
unsigned | put_idx ) |
gets the field interpolation exchange (used for raw exchange) of a specified put operation
[in] | field | |
[in] | put_idx | index of the put operation |
Definition at line 432 of file fields.c.
double *** yac_get_coupling_field_put_op_send_field_acc | ( | struct coupling_field * | field, |
unsigned | put_idx ) |
gets the send field accumulator of a specified put operation
[in] | field | |
[in] | put_idx | index of the put operation |
Definition at line 206 of file fields.c.
double *** yac_get_coupling_field_put_op_send_frac_mask_acc | ( | struct coupling_field * | field, |
unsigned | put_idx ) |
gets the fractional mask accumulator of a specified put operation
[in] | field | |
[in] | put_idx | index of the put operation |
Definition at line 216 of file fields.c.
int yac_get_coupling_field_put_op_time_accumulation_count | ( | struct coupling_field * | field, |
unsigned | put_idx ) |
gets the time accumulation count of a specified put operation
[in] | field | |
[in] | put_idx | index of the put operation |
Definition at line 453 of file fields.c.
int yac_get_coupling_field_put_op_use_raw_exchange | ( | struct coupling_field * | field, |
unsigned | put_idx ) |
const char * yac_get_coupling_field_timestep | ( | struct coupling_field * | field | ) |
void yac_init_coupling_field_put_op_send_field_acc | ( | struct coupling_field * | field, |
unsigned | put_idx, | ||
double | init_value ) |
initialises the send field accumulator of a specified put operation
[in] | field | |
[in] | put_idx | index of the put operation |
[in] | init_value | value that is to be used for the initialisation of the send field accumulator |
Definition at line 354 of file fields.c.
void yac_init_coupling_field_put_op_send_frac_mask_acc | ( | struct coupling_field * | field, |
unsigned | put_idx, | ||
double | init_value ) |
initialises the fractional mask accumulator of a specified put operation
[in] | field | |
[in] | put_idx | index of the put operation |
[in] | init_value | value that is to be used for the initialisation of the fractional mask accumulator |
Definition at line 375 of file fields.c.
void yac_set_coupling_field_get_op | ( | struct coupling_field * | field, |
struct event * | event, | ||
struct yac_interpolation * | interpolation ) |
set the get operation for the coupling field
[in,out] | field | |
[in] | event | event of the operation |
[in] | interpolation | interpolation to be executed |
Definition at line 703 of file fields.c.
void yac_set_coupling_field_get_op_raw | ( | struct coupling_field * | field, |
struct event * | event, | ||
struct yac_interpolation_exchange * | interpolation_exchange, | ||
struct yac_interp_weights_data | interp_weights_data ) |
set the raw get operation for the coupling field
[in,out] | field | |
[in] | event | event of the operation |
[in] | interpolation_exchange | interpolation exchange to be executed |
[in] | interp_weights_data | interpolation weight data to be executed |
Definition at line 731 of file fields.c.
void yac_set_coupling_field_put_op | ( | struct coupling_field * | field, |
struct event * | event, | ||
struct yac_interpolation * | interpolation ) |
sets the put operation for the coupling field
[in,out] | field | |
[in] | event | event of the operation |
[in] | interpolation | interpolation to be executed |
Definition at line 666 of file fields.c.
void yac_set_coupling_field_put_op_raw | ( | struct coupling_field * | field, |
struct event * | event, | ||
struct yac_interpolation_exchange * | interpolation_exchange ) |
sets the raw put operation for the coupling field
[in,out] | field | |
[in] | event | event of the operation |
[in] | interpolation_exchange | interpolation exchange to be executed |
Definition at line 674 of file fields.c.
void yac_set_coupling_field_put_op_time_accumulation_count | ( | struct coupling_field * | field, |
unsigned | put_idx, | ||
int | count ) |
sets the time accumulation count of a specified put operation
[in] | field | |
[in] | put_idx | index of the put operation |
[in] | count | new time accumulation count |
Definition at line 485 of file fields.c.