43 char const * mask_name);
52 int const * mask,
size_t count,
char const * mask_name);
55 int const * mask,
char const * mask_name);
59 char const *
name,
size_t nbr_vertices[2],
int cyclic[2],
60 double *lon_vertices,
double *lat_vertices);
63 char const *
name,
size_t nbr_vertices[2],
int cyclic[2],
64 double *lon_vertices,
double *lat_vertices);
67 char const *
name,
size_t nbr_vertices[2],
int cyclic[2],
68 double *lon_vertices,
double *lat_vertices);
71 char const *
name,
size_t nbr_vertices[2],
int cyclic[2],
72 double *lon_vertices,
double *lat_vertices);
75 char const *
name,
size_t nbr_vertices,
size_t nbr_cells,
76 int *num_vertices_per_cell,
double *x_vertices,
double *y_vertices,
80 char const *
name,
size_t nbr_vertices,
size_t nbr_cells,
81 int *num_vertices_per_cell,
double *x_vertices,
double *y_vertices,
85 char const *
name,
size_t nbr_vertices,
size_t nbr_cells,
86 int *num_vertices_per_cell,
double *x_vertices,
double *y_vertices,
90 char const *
name,
size_t nbr_vertices,
size_t nbr_cells,
91 int *num_vertices_per_cell,
double *x_vertices,
double *y_vertices,
95 char const *
name,
size_t nbr_vertices,
size_t nbr_cells,
size_t nbr_edges,
96 int *num_edges_per_cell,
double *x_vertices,
double *y_vertices,
97 int *cell_to_edge,
int *edge_to_vertex);
100 char const *
name,
size_t nbr_vertices,
size_t nbr_cells,
size_t nbr_edges,
101 int *num_edges_per_cell,
double *x_vertices,
double *y_vertices,
102 int *cell_to_edge,
int *edge_to_vertex);
105 char const *
name,
size_t nbr_vertices,
size_t nbr_cells,
size_t nbr_edges,
106 int *num_edges_per_cell,
double *x_vertices,
double *y_vertices,
107 int *cell_to_edge,
int *edge_to_vertex);
110 char const *
name,
size_t nbr_vertices,
size_t nbr_cells,
size_t nbr_edges,
111 int *num_edges_per_cell,
double *x_vertices,
double *y_vertices,
112 int *cell_to_edge,
int *edge_to_vertex);
115 char const *
name,
size_t nbr_points,
double *x_points,
double *y_points);
118 char const *
name,
size_t nbr_points,
double *x_points,
double *y_points);
121 struct yac_basic_grid * grid,
char const * filename, MPI_Comm comm);
struct yac_basic_grid * yac_basic_grid_unstruct_edge_new(char const *name, size_t nbr_vertices, size_t nbr_cells, size_t nbr_edges, int *num_edges_per_cell, double *x_vertices, double *y_vertices, int *cell_to_edge, int *edge_to_vertex)
struct yac_basic_grid * yac_basic_grid_unstruct_edge_ll_new(char const *name, size_t nbr_vertices, size_t nbr_cells, size_t nbr_edges, int *num_edges_per_cell, double *x_vertices, double *y_vertices, int *cell_to_edge, int *edge_to_vertex)
struct yac_field_data * yac_basic_grid_get_field_data(struct yac_basic_grid *grid, enum yac_location location)
size_t yac_basic_grid_get_named_mask_idx(struct yac_basic_grid *grid, enum yac_location location, char const *mask_name)
int const * yac_basic_grid_get_field_mask(struct yac_basic_grid *grid, struct yac_interp_field field)
struct yac_basic_grid * yac_basic_grid_new(char const *name, struct yac_basic_grid_data grid_data)
struct yac_basic_grid * yac_basic_grid_reg_2d_deg_new(char const *name, size_t nbr_vertices[2], int cyclic[2], double *lon_vertices, double *lat_vertices)
void yac_basic_grid_to_file_parallel(struct yac_basic_grid *grid, char const *filename, MPI_Comm comm)
struct yac_basic_grid * yac_basic_grid_cloud_new(char const *name, size_t nbr_points, double *x_points, double *y_points)
struct yac_basic_grid * yac_basic_grid_unstruct_deg_new(char const *name, size_t nbr_vertices, size_t nbr_cells, int *num_vertices_per_cell, double *x_vertices, double *y_vertices, int *cell_to_vertex)
struct yac_basic_grid * yac_basic_grid_unstruct_new(char const *name, size_t nbr_vertices, size_t nbr_cells, int *num_vertices_per_cell, double *x_vertices, double *y_vertices, int *cell_to_vertex)
yac_const_coordinate_pointer yac_basic_grid_get_field_coordinates(struct yac_basic_grid *grid, struct yac_interp_field field)
struct yac_basic_grid_data * yac_basic_grid_get_data(struct yac_basic_grid *grid)
struct yac_basic_grid * yac_basic_grid_cloud_deg_new(char const *name, size_t nbr_points, double *x_points, double *y_points)
struct yac_basic_grid * yac_basic_grid_unstruct_edge_deg_new(char const *name, size_t nbr_vertices, size_t nbr_cells, size_t nbr_edges, int *num_edges_per_cell, double *x_vertices, double *y_vertices, int *cell_to_edge, int *edge_to_vertex)
size_t yac_basic_grid_add_mask(struct yac_basic_grid *grid, enum yac_location location, int const *mask, size_t count, char const *mask_name)
struct yac_basic_grid * yac_basic_grid_reg_2d_new(char const *name, size_t nbr_vertices[2], int cyclic[2], double *lon_vertices, double *lat_vertices)
struct yac_basic_grid * yac_basic_grid_unstruct_ll_new(char const *name, size_t nbr_vertices, size_t nbr_cells, int *num_vertices_per_cell, double *x_vertices, double *y_vertices, int *cell_to_vertex)
size_t yac_basic_grid_add_coordinates_nocpy(struct yac_basic_grid *grid, enum yac_location location, yac_coordinate_pointer coordinates)
char const * yac_basic_grid_get_name(struct yac_basic_grid *grid)
void yac_basic_grid_compute_cell_areas(struct yac_basic_grid *grid, double *cell_areas)
size_t yac_basic_grid_add_coordinates(struct yac_basic_grid *grid, enum yac_location location, yac_coordinate_pointer coordinates, size_t count)
size_t yac_basic_grid_get_data_size(struct yac_basic_grid *grid, enum yac_location location)
struct yac_basic_grid * yac_basic_grid_unstruct_ll_deg_new(char const *name, size_t nbr_vertices, size_t nbr_cells, int *num_vertices_per_cell, double *x_vertices, double *y_vertices, int *cell_to_vertex)
int const * yac_basic_grid_get_core_mask(struct yac_basic_grid *grid, enum yac_location location)
struct yac_basic_grid * yac_basic_grid_empty_new(char const *name)
void yac_basic_grid_delete(struct yac_basic_grid *grid)
struct yac_basic_grid * yac_basic_grid_curve_2d_new(char const *name, size_t nbr_vertices[2], int cyclic[2], double *lon_vertices, double *lat_vertices)
struct yac_basic_grid * yac_basic_grid_curve_2d_deg_new(char const *name, size_t nbr_vertices[2], int cyclic[2], double *lon_vertices, double *lat_vertices)
struct yac_basic_grid * yac_basic_grid_unstruct_edge_ll_deg_new(char const *name, size_t nbr_vertices, size_t nbr_cells, size_t nbr_edges, int *num_edges_per_cell, double *x_vertices, double *y_vertices, int *cell_to_edge, int *edge_to_vertex)
size_t yac_basic_grid_add_mask_nocpy(struct yac_basic_grid *grid, enum yac_location location, int const *mask, char const *mask_name)
yac_coordinate_pointer * coordinates
enum yac_location location
double const (* yac_const_coordinate_pointer)[3]
double(* yac_coordinate_pointer)[3]