YetAnotherCoupler 3.4.0
Loading...
Searching...
No Matches
field_data.c File Reference
#include <stdlib.h>
#include "field_data.h"
#include "utils_common.h"
Include dependency graph for field_data.c:

Go to the source code of this file.

Data Structures

struct  yac_field_data
 

Functions

struct yac_field_datayac_field_data_empty_new ()
 
size_t yac_field_data_add_mask_nocpy (struct yac_field_data *field_data, int const *mask, char const *mask_name)
 
size_t yac_field_data_add_coordinates_nocpy (struct yac_field_data *field_data, yac_coordinate_pointer coordinates)
 
size_t yac_field_data_get_masks_count (struct yac_field_data *field_data)
 
int const * yac_field_data_get_mask_data (struct yac_field_data *field_data, size_t mask_idx)
 
void yac_field_data_set_mask_data (struct yac_field_data *field_data, size_t mask_idx, int *mask_data)
 
char const * yac_field_data_get_mask_name (struct yac_field_data *field_data, size_t mask_idx)
 
size_t yac_field_data_get_coordinates_count (struct yac_field_data *field_data)
 
yac_const_coordinate_pointer yac_field_data_get_coordinates_data (struct yac_field_data *field_data, size_t coordinates_idx)
 
void yac_field_data_set_coordinates_data (struct yac_field_data *field_data, size_t coordinates_idx, yac_coordinate_pointer coordinates_data)
 
void yac_field_data_delete (struct yac_field_data *field_data)
 

Function Documentation

◆ yac_field_data_add_coordinates_nocpy()

size_t yac_field_data_add_coordinates_nocpy ( struct yac_field_data * field_data,
yac_coordinate_pointer coordinates )

Definition at line 44 of file field_data.c.

Here is the caller graph for this function:

◆ yac_field_data_add_mask_nocpy()

size_t yac_field_data_add_mask_nocpy ( struct yac_field_data * field_data,
int const * mask,
char const * mask_name )

Definition at line 30 of file field_data.c.

Here is the caller graph for this function:

◆ yac_field_data_delete()

void yac_field_data_delete ( struct yac_field_data * field_data)

Definition at line 119 of file field_data.c.

Here is the caller graph for this function:

◆ yac_field_data_empty_new()

struct yac_field_data * yac_field_data_empty_new ( )

Definition at line 20 of file field_data.c.

Here is the caller graph for this function:

◆ yac_field_data_get_coordinates_count()

size_t yac_field_data_get_coordinates_count ( struct yac_field_data * field_data)
Examples
test_basic_grid.c.

Definition at line 92 of file field_data.c.

Here is the caller graph for this function:

◆ yac_field_data_get_coordinates_data()

yac_const_coordinate_pointer yac_field_data_get_coordinates_data ( struct yac_field_data * field_data,
size_t coordinates_idx )
Examples
test_basic_grid.c.

Definition at line 97 of file field_data.c.

Here is the caller graph for this function:

◆ yac_field_data_get_mask_data()

int const * yac_field_data_get_mask_data ( struct yac_field_data * field_data,
size_t mask_idx )
Examples
test_basic_grid.c.

Definition at line 62 of file field_data.c.

Here is the caller graph for this function:

◆ yac_field_data_get_mask_name()

char const * yac_field_data_get_mask_name ( struct yac_field_data * field_data,
size_t mask_idx )

Definition at line 82 of file field_data.c.

Here is the caller graph for this function:

◆ yac_field_data_get_masks_count()

size_t yac_field_data_get_masks_count ( struct yac_field_data * field_data)

Definition at line 57 of file field_data.c.

Here is the caller graph for this function:

◆ yac_field_data_set_coordinates_data()

void yac_field_data_set_coordinates_data ( struct yac_field_data * field_data,
size_t coordinates_idx,
yac_coordinate_pointer coordinates_data )

Definition at line 108 of file field_data.c.

Here is the caller graph for this function:

◆ yac_field_data_set_mask_data()

void yac_field_data_set_mask_data ( struct yac_field_data * field_data,
size_t mask_idx,
int * mask_data )

Definition at line 72 of file field_data.c.

Here is the caller graph for this function: