YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
field_data.h
Go to the documentation of this file.
1// Copyright (c) 2024 The YAC Authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#ifndef FIELD_DATA_H
6#define FIELD_DATA_H
7
8#include "yac_types.h"
9
10// YAC PUBLIC HEADER START
11
12struct yac_field_data;
13
16 struct yac_field_data * field_data, int const * mask,
17 char const * mask_name);
20size_t yac_field_data_get_masks_count(struct yac_field_data * field_data);
22 struct yac_field_data * field_data, size_t mask_idx);
24 struct yac_field_data * field_data, size_t mask_idx, int * mask_data);
26 struct yac_field_data * field_data, size_t mask_idx);
29 struct yac_field_data * field_data, size_t coordinates_idx);
31 struct yac_field_data * field_data, size_t coordinates_idx,
32 yac_coordinate_pointer coordinates_data);
33void yac_field_data_delete(struct yac_field_data * field_data);
34
35// YAC PUBLIC HEADER STOP
36
37#endif // FIELD_DATA_H
size_t yac_field_data_get_masks_count(struct yac_field_data *field_data)
Definition field_data.c:57
void yac_field_data_delete(struct yac_field_data *field_data)
Definition field_data.c:119
void yac_field_data_set_mask_data(struct yac_field_data *field_data, size_t mask_idx, int *mask_data)
Definition field_data.c:72
size_t yac_field_data_get_coordinates_count(struct yac_field_data *field_data)
Definition field_data.c:92
yac_const_coordinate_pointer yac_field_data_get_coordinates_data(struct yac_field_data *field_data, size_t coordinates_idx)
Definition field_data.c:97
int const * yac_field_data_get_mask_data(struct yac_field_data *field_data, size_t mask_idx)
Definition field_data.c:62
char const * yac_field_data_get_mask_name(struct yac_field_data *field_data, size_t mask_idx)
Definition field_data.c:82
void yac_field_data_set_coordinates_data(struct yac_field_data *field_data, size_t coordinates_idx, yac_coordinate_pointer coordinates_data)
Definition field_data.c:108
size_t yac_field_data_add_mask_nocpy(struct yac_field_data *field_data, int const *mask, char const *mask_name)
Definition field_data.c:30
struct yac_field_data * yac_field_data_empty_new()
Definition field_data.c:20
size_t yac_field_data_add_coordinates_nocpy(struct yac_field_data *field_data, yac_coordinate_pointer coordinates)
Definition field_data.c:44
yac_coordinate_pointer * coordinates
Definition field_data.c:16
double const (* yac_const_coordinate_pointer)[3]
Definition yac_types.h:20
double(* yac_coordinate_pointer)[3]
Definition yac_types.h:19