YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
fields.c File Reference
#include <stdlib.h>
#include <string.h>
#include "event.h"
#include "utils_mci.h"
#include "utils_common.h"
#include "fields.h"
#include "yac_pak.h"
#include "interpolation/interpolation_exchange.h"
#include "interpolation/interp_weights.h"
#include "interpolation/interpolation_internal.h"
Include dependency graph for fields.c:

Go to the source code of this file.

Data Structures

struct  coupling_field
 

Functions

struct coupling_fieldyac_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)
 
unsigned yac_get_coupling_field_collection_size (struct coupling_field *field)
 
const char * yac_get_coupling_field_timestep (struct coupling_field *field)
 
size_t yac_coupling_field_get_num_interp_fields (struct coupling_field *field)
 
enum yac_location yac_get_coupling_field_get_interp_field_location (struct coupling_field *field, size_t interp_field_idx)
 
const char * yac_get_coupling_field_name (struct coupling_field *field)
 
struct yac_basic_gridyac_coupling_field_get_basic_grid (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)
 
static size_t get_interp_field_size (struct yac_interp_field field, struct yac_basic_grid *grid)
 
size_t yac_coupling_field_get_data_size (struct coupling_field *field, enum yac_location location)
 
static void init_put_op_acc (struct coupling_field *field, double init_value, double ***acc)
 
static void get_put_op_acc (struct coupling_field *field, unsigned put_idx, char const *routine_name, double ****acc)
 
double *** yac_get_coupling_field_put_op_send_field_acc (struct coupling_field *field, unsigned put_idx)
 
double *** yac_get_coupling_field_put_op_send_frac_mask_acc (struct coupling_field *field, unsigned put_idx)
 
static int check_core_mask (struct coupling_field *field, size_t field_idx)
 
static int check_field_mask (struct coupling_field *field, size_t field_idx)
 
int ** yac_get_coupling_field_put_mask (struct coupling_field *field)
 
int * yac_get_coupling_field_get_mask (struct coupling_field *field)
 
void yac_init_coupling_field_put_op_send_field_acc (struct coupling_field *field, unsigned put_idx, double init_value)
 
void yac_init_coupling_field_put_op_send_frac_mask_acc (struct coupling_field *field, unsigned put_idx, double init_value)
 
struct eventyac_get_coupling_field_put_op_event (struct coupling_field *field, unsigned put_idx)
 
struct yac_interpolationyac_get_coupling_field_put_op_interpolation (struct coupling_field *field, unsigned put_idx)
 
struct yac_interpolation_exchangeyac_get_coupling_field_put_op_interpolation_exchange (struct coupling_field *field, unsigned put_idx)
 
int yac_get_coupling_field_put_op_time_accumulation_count (struct coupling_field *field, unsigned put_idx)
 
int yac_get_coupling_field_put_op_use_raw_exchange (struct coupling_field *field, unsigned put_idx)
 
void yac_set_coupling_field_put_op_time_accumulation_count (struct coupling_field *field, unsigned put_idx, int count)
 
unsigned yac_get_coupling_field_num_puts (struct coupling_field *field)
 
struct eventyac_get_coupling_field_get_op_event (struct coupling_field *field)
 
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 *field)
 
struct yac_interpolationyac_get_coupling_field_get_op_interpolation (struct coupling_field *field)
 
struct yac_interpolation_exchangeyac_get_coupling_field_get_op_interpolation_exchange (struct coupling_field *field)
 
struct yac_interp_weights_data yac_get_coupling_field_get_op_interp_weights_data (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)
 
static void yac_set_coupling_field_put_op_ (struct coupling_field *field, struct event *event, struct yac_interpolation *interpolation, struct yac_interpolation_exchange *interpolation_exchange, int use_raw_exchange)
 
void yac_set_coupling_field_put_op (struct coupling_field *field, struct event *event, struct yac_interpolation *interpolation)
 
void yac_set_coupling_field_put_op_raw (struct coupling_field *field, struct event *event, struct yac_interpolation_exchange *interpolation_exchange)
 
static void yac_set_coupling_field_get_op_ (struct coupling_field *field, struct event *event, struct yac_interpolation *interpolation, struct yac_interpolation_exchange *interpolation_exchange, struct yac_interp_weights_data interp_weights_data, int use_raw_exchange)
 
void yac_set_coupling_field_get_op (struct coupling_field *field, struct event *event, struct yac_interpolation *interpolation)
 
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)
 
struct yac_interp_field const * yac_coupling_field_get_interp_fields (struct coupling_field *cpl_field)
 
static struct eventget_exchange_event (struct coupling_field *cpl_field)
 
char * yac_coupling_field_get_datetime (struct coupling_field *cpl_field)
 
char * yac_coupling_field_get_prev_datetime (struct coupling_field *cpl_field)
 
int yac_coupling_field_get_action (struct coupling_field *cpl_field)
 
void yac_coupling_field_delete (struct coupling_field *cpl_field)
 
struct yac_pakyac_coupling_field_get_pak (struct coupling_field *cpl_field)
 
void yac_coupling_field_set_pak (struct coupling_field *cpl_field, struct yac_pak *pak)
 

Function Documentation

◆ check_core_mask()

static int check_core_mask ( struct coupling_field * field,
size_t field_idx )
static

Definition at line 234 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_field_mask()

static int check_field_mask ( struct coupling_field * field,
size_t field_idx )
static

Definition at line 257 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_exchange_event()

static struct event * get_exchange_event ( struct coupling_field * cpl_field)
static

Definition at line 660 of file fields.c.

Here is the caller graph for this function:

◆ get_interp_field_size()

static size_t get_interp_field_size ( struct yac_interp_field field,
struct yac_basic_grid * grid )
static

Definition at line 146 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_put_op_acc()

static void get_put_op_acc ( struct coupling_field * field,
unsigned put_idx,
char const * routine_name,
double **** acc )
static

Definition at line 179 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_put_op_acc()

static void init_put_op_acc ( struct coupling_field * field,
double init_value,
double *** acc )
static

Definition at line 158 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_coupling_field_delete()

void yac_coupling_field_delete ( struct coupling_field * cpl_field)

Definition at line 694 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_coupling_field_get_action()

int yac_coupling_field_get_action ( struct coupling_field * cpl_field)

get the action the coupling field would take at its current datetime

Parameters
[in]cpl_field
Returns
the action, as a value of enum yac_action_type

Definition at line 689 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_coupling_field_get_basic_grid()

struct yac_basic_grid * yac_coupling_field_get_basic_grid ( struct coupling_field * field)

gets the grid_data of the coupling field

Parameters
[in]field
Returns
basic grid data of the coupling field

Definition at line 127 of file fields.c.

Here is the caller graph for this function:

◆ yac_coupling_field_get_data_size()

size_t yac_coupling_field_get_data_size ( struct coupling_field * field,
enum yac_location location )

gets the number of points in the grids associated with the coupling field

Parameters
[in]field
[in]location
Returns
number of grid points

Definition at line 152 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_coupling_field_get_datetime()

char * yac_coupling_field_get_datetime ( struct coupling_field * cpl_field)

get the current datetime of the coupling field

Parameters
[in]cpl_field
Returns
the datetime string

Definition at line 673 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_coupling_field_get_interp_fields()

struct yac_interp_field const * yac_coupling_field_get_interp_fields ( struct coupling_field * field)

gets the interpolation fields of the coupling field

Parameters
[in]field
Returns
interpolation fields
Remarks
dimensions: [point set idx]

Definition at line 654 of file fields.c.

Here is the caller graph for this function:

◆ yac_coupling_field_get_num_interp_fields()

size_t yac_coupling_field_get_num_interp_fields ( struct coupling_field * field)

gets the number of interpolation fields of the coupling field

Parameters
[in]field
Returns
number of interpolation fields

Definition at line 110 of file fields.c.

Here is the caller graph for this function:

◆ yac_coupling_field_get_pak()

struct yac_pak * yac_coupling_field_get_pak ( struct coupling_field * cpl_field)

Returns the borrowed YAC PAK object stored in this field (may be NULL)

Parameters
[in]cpl_fieldcoupling field
Return values
YAC PAK objectborrowed from the field
NULLif tracing is disabled

Definition at line 765 of file fields.c.

Here is the caller graph for this function:

◆ yac_coupling_field_get_prev_datetime()

char * yac_coupling_field_get_prev_datetime ( struct coupling_field * cpl_field)

get the datetime of the last exchange started for the coupling field

A put/get/update advances the event clock before the data has arrived, so a later wait can no longer read the step it relates to from yac_coupling_field_get_datetime.

Parameters
[in]cpl_field
Returns
the datetime string, valid until the next call

Definition at line 681 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_coupling_field_get_src_field_buffer_sizes()

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

Parameters
[in]field
[out]num_src_fieldsnumber of source fields
[out]src_field_buffer_sizessize of the buffer for each source field
Remarks
calling this routine for a coupling field that has a different exchange type than TARGET yields undefined results

Definition at line 532 of file fields.c.

Here is the caller graph for this function:

◆ yac_coupling_field_new()

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

Parameters
[in]field_namename of the coupling field
[in]component_namecomponent name
[in]gridgrid
[in]interp_fieldsinterpolation fields
[in]num_interp_fieldsnumber of entries in interp_fields
[in]collection_size
[in]timestep

Definition at line 67 of file fields.c.

Here is the caller graph for this function:

◆ yac_coupling_field_set_pak()

void yac_coupling_field_set_pak ( struct coupling_field * cpl_field,
struct yac_pak * pak )

Sets the borrowed YAC PAK pointer for this field

Parameters
[in]cpl_fieldcoupling field
[in]pakYAC PAK object pointer (may be NULL)

Definition at line 771 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_collection_size()

unsigned yac_get_coupling_field_collection_size ( struct coupling_field * field)

gets the number of vertical levels or bundles for a field.

Parameters
[in]field
Returns
collection size of the field

Definition at line 100 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_comp_name()

char const * yac_get_coupling_field_comp_name ( struct coupling_field * field)

gets the component name of the coupling field

Parameters
[in]field
Returns
component name

Definition at line 133 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_exchange_type()

enum yac_field_exchange_type yac_get_coupling_field_exchange_type ( struct coupling_field * field)

gets the exchange type of the coupling field

Parameters
[in]field
Returns
exchange type of the coupling field

Definition at line 141 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_get_interp_field_location()

enum yac_location yac_get_coupling_field_get_interp_field_location ( struct coupling_field * field,
size_t interp_field_idx )

get interpolation field data location

Parameters
[in]field
[in]interp_field_idxindex of interpolation field
Returns
data location of requested interpolation field

Definition at line 116 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_get_mask()

int * yac_get_coupling_field_get_mask ( struct coupling_field * field)

gets a combined core and field mask

Parameters
[in]field
Returns
combined core and field mask

Definition at line 322 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_get_coupling_field_get_op_event()

struct event * yac_get_coupling_field_get_op_event ( struct coupling_field * field)

gets the event of the get operation

Parameters
[in]field
Returns
event of the get operation
Remarks
calling this routine for a coupling field that has a different exchange type than TARGET yields undefined results

Definition at line 455 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_get_op_interp_weights_data()

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

Parameters
[in]field
Returns
field interpolation weight data of the get operation
Remarks
calling this routine for a coupling field that has a different exchange type than TARGET yields undefined results

Definition at line 504 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_get_coupling_field_get_op_interpolation()

struct yac_interpolation * yac_get_coupling_field_get_op_interpolation ( struct coupling_field * field)

gets the field interpolation of the get operation

Parameters
[in]field
Returns
field interpolation of the get operation
Remarks
calling this routine for a coupling field that has a different exchange type than TARGET yields undefined results

Definition at line 480 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_get_op_interpolation_exchange()

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

Parameters
[in]field
Returns
field interpolation exchange of the get operation
Remarks
calling this routine for a coupling field that has a different exchange type than TARGET yields undefined results

Definition at line 492 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_get_op_use_raw_exchange()

int yac_get_coupling_field_get_op_use_raw_exchange ( struct coupling_field * field)

returns whether a target field is configured for raw exchange

Parameters
[in]field
Return values
Nonzeroif target field is configured for raw exchange
Zerootherwise

Definition at line 463 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_get_op_with_frac_mask()

int yac_get_coupling_field_get_op_with_frac_mask ( struct coupling_field * cpl_field)

returns whether a target field is configured for fractional masking

Parameters
[in]cpl_field
Return values
Nonzeroif target field is configured for fractional masking
Zerootherwise

Definition at line 471 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_name()

const char * yac_get_coupling_field_name ( struct coupling_field * field)

gets the name of the coupling field

Parameters
[in]field
Returns
name of the coupling field

Definition at line 122 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_num_puts()

unsigned yac_get_coupling_field_num_puts ( struct coupling_field * field)

gets the number of put operations of the coupling field

Parameters
[in]field
Returns
number of put operations of the coupling field
Remarks
calling this routine for a coupling field that has a different exchange type than SOURCE yields undefined results

Definition at line 448 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_put_mask()

int ** yac_get_coupling_field_put_mask ( struct coupling_field * field)

gets a combined core and field mask

Parameters
[in]field
Returns
combined core and field mask

Definition at line 280 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_get_coupling_field_put_op_event()

struct event * yac_get_coupling_field_put_op_event ( struct coupling_field * field,
unsigned put_idx )

gets the event of a specified put operation

Parameters
[in]field
[in]put_idxindex of the put operation
Returns
event of specified put operation
Remarks
calling this routine for a coupling field that has a different exchange type than SOURCE yields undefined results
See also
get_coupling_field_num_puts

Definition at line 386 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_put_op_interpolation()

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

Parameters
[in]field
[in]put_idxindex of the put operation
Returns
field interpolation of specified put operation
Remarks
calling this routine for a coupling field that has a different exchange type than SOURCE yields undefined results
See also
get_coupling_field_num_puts

Definition at line 396 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_put_op_interpolation_exchange()

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

Parameters
[in]field
[in]put_idxindex of the put operation
Returns
field interpolation exchange of specified put operation
Remarks
calling this routine for a coupling field that has a different exchange type than SOURCE yields undefined results
See also
get_coupling_field_num_puts

Definition at line 409 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_put_op_send_field_acc()

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

Parameters
[in]field
[in]put_idxindex of the put operation
Returns
send field accumulator of specified put operation
Remarks
calling this routine for a coupling field that has a different exchange type than SOURCE yields undefined results
when this routine is called the first time for a put operation it will be allocated and initialised with zeros
See also
get_coupling_field_num_puts

Definition at line 214 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_get_coupling_field_put_op_send_frac_mask_acc()

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

Parameters
[in]field
[in]put_idxindex of the put operation
Returns
fractional mask accumulator of specified put operation
Remarks
calling this routine for a coupling field that has a different exchange type than SOURCE yields undefined results
when this routine is called the first time for a put operation it will be allocated and initialised with zeros
See also
get_coupling_field_num_puts

Definition at line 224 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_get_coupling_field_put_op_time_accumulation_count()

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

Parameters
[in]field
[in]put_idxindex of the put operation
Returns
time accumulation count of specified put operation
Remarks
calling this routine for a coupling field that has a different exchange type than SOURCE yields undefined results
See also
get_coupling_field_num_puts

Definition at line 421 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_put_op_use_raw_exchange()

int yac_get_coupling_field_put_op_use_raw_exchange ( struct coupling_field * field,
unsigned put_idx )

returns whether a source field is configured for raw exchange

Parameters
[in]field
[in]put_idxindex of the put operation
Return values
Nonzeroif source field is configured for raw exchange
Zerootherwise

Definition at line 430 of file fields.c.

Here is the caller graph for this function:

◆ yac_get_coupling_field_timestep()

const char * yac_get_coupling_field_timestep ( struct coupling_field * field)

gets the timestep or bundles for a field.

Parameters
[in]field
Return values
timestepof the given field, in ISO8601 format
NULLif not defined.

Definition at line 105 of file fields.c.

Here is the caller graph for this function:

◆ yac_init_coupling_field_put_op_send_field_acc()

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

Parameters
[in]field
[in]put_idxindex of the put operation
[in]init_valuevalue that is to be used for the initialisation of the send field accumulator
Remarks
calling this routine for a coupling field that has a different exchange type than SOURCE yields undefined results
See also
get_coupling_field_num_puts

Definition at line 356 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_init_coupling_field_put_op_send_frac_mask_acc()

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

Parameters
[in]field
[in]put_idxindex of the put operation
[in]init_valuevalue that is to be used for the initialisation of the fractional mask accumulator
Remarks
calling this routine for a coupling field that has a different exchange type than SOURCE yields undefined results
See also
get_coupling_field_num_puts

Definition at line 371 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_set_coupling_field_get_op()

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

Parameters
[in,out]field
[in]eventevent of the operation
[in]interpolationinterpolation to be executed
Remarks
the coupling field takes control of the input data, it will be free/deleted by the coupling field

Definition at line 617 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_set_coupling_field_get_op_()

static void yac_set_coupling_field_get_op_ ( struct coupling_field * field,
struct event * event,
struct yac_interpolation * interpolation,
struct yac_interpolation_exchange * interpolation_exchange,
struct yac_interp_weights_data interp_weights_data,
int use_raw_exchange )
static

Definition at line 597 of file fields.c.

Here is the caller graph for this function:

◆ yac_set_coupling_field_get_op_raw()

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

Parameters
[in,out]field
[in]eventevent of the operation
[in]interpolation_exchangeinterpolation exchange to be executed
[in]interp_weights_datainterpolation weight data to be executed
Remarks
the coupling field takes control of the input data, it will be free/deleted by the coupling field

Definition at line 645 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_set_coupling_field_put_op()

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

Parameters
[in,out]field
[in]eventevent of the operation
[in]interpolationinterpolation to be executed
Remarks
the coupling field takes control of the input data, it will be free/deleted by the coupling field

Definition at line 581 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_set_coupling_field_put_op_()

static void yac_set_coupling_field_put_op_ ( struct coupling_field * field,
struct event * event,
struct yac_interpolation * interpolation,
struct yac_interpolation_exchange * interpolation_exchange,
int use_raw_exchange )
static

Definition at line 548 of file fields.c.

Here is the caller graph for this function:

◆ yac_set_coupling_field_put_op_raw()

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

Parameters
[in,out]field
[in]eventevent of the operation
[in]interpolation_exchangeinterpolation exchange to be executed
Remarks
the coupling field takes control of the input data, it will be free/deleted by the coupling field

Definition at line 589 of file fields.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_set_coupling_field_put_op_time_accumulation_count()

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

Parameters
[in]field
[in]put_idxindex of the put operation
[in]countnew time accumulation count
Remarks
calling this routine for a coupling field that has a different exchange type than SOURCE yields undefined results
See also
get_coupling_field_num_puts

Definition at line 439 of file fields.c.

Here is the caller graph for this function: