YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
read_icon_grid.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#include "basic_grid.h"
6
7// YAC PUBLIC HEADER START
8
9#include <mpi.h>
10
26 char const * filename);
27
36 char const * filename, char const * gridname);
37
53void yac_read_icon_grid_information(const char * filename, int * num_vertices,
54 int * num_cells, int ** num_vertices_per_cell,
55 int ** cell_to_vertex, double ** x_vertices,
56 double ** y_vertices, double ** x_cells,
57 double ** y_cells, int ** cell_mask);
58
81 const char * filename, int * num_vertices, int * num_cells,
82 int ** num_vertices_per_cell, int ** cell_to_vertex,
83 double ** x_vertices, double ** y_vertices,
84 double ** x_cells, double ** y_cells, int ** global_cell_id,
85 int ** cell_mask, int ** cell_core_mask,
86 int ** global_corner_id, int ** corner_core_mask, int rank, int size);
87
118 const char * filename, MPI_Comm comm, int * num_vertices, int * num_cells,
119 int ** num_vertices_per_cell, int ** cell_to_vertex, int ** global_cell_ids,
120 int ** cell_owner, int ** global_vertex_ids, int ** vertex_owner,
121 double ** x_vertices, double ** y_vertices, double ** x_cells,
122 double ** y_cells, int ** cell_mask);
123
125 const char * filename, MPI_Comm comm);
126
128 char const * filename, char const * gridname, MPI_Comm comm);
129
146void yac_delete_icon_grid_data( int ** cell_mask,
147 int ** global_cell_id,
148 int ** cell_core_mask,
149 int ** num_vertices_per_cell,
150 int ** global_corner_id,
151 int ** corner_core_mask,
152 int ** cell_to_vertex,
153 double ** x_cells,
154 double ** y_cells,
155 double ** x_vertices,
156 double ** y_vertices);
157
158// YAC PUBLIC HEADER STOP
struct yac_basic_grid * yac_read_icon_basic_grid(char const *filename, char const *gridname)
struct yac_basic_grid_data yac_read_icon_basic_grid_data_parallel(const char *filename, MPI_Comm comm)
void yac_read_icon_grid_information_parallel(const char *filename, MPI_Comm comm, int *num_vertices, int *num_cells, int **num_vertices_per_cell, int **cell_to_vertex, int **global_cell_ids, int **cell_owner, int **global_vertex_ids, int **vertex_owner, double **x_vertices, double **y_vertices, double **x_cells, double **y_cells, int **cell_mask)
void yac_read_part_icon_grid_information(const char *filename, int *num_vertices, int *num_cells, int **num_vertices_per_cell, int **cell_to_vertex, double **x_vertices, double **y_vertices, double **x_cells, double **y_cells, int **global_cell_id, int **cell_mask, int **cell_core_mask, int **global_corner_id, int **corner_core_mask, int rank, int size)
void yac_read_icon_grid_information(const char *filename, int *num_vertices, int *num_cells, int **num_vertices_per_cell, int **cell_to_vertex, double **x_vertices, double **y_vertices, double **x_cells, double **y_cells, int **cell_mask)
struct yac_basic_grid * yac_read_icon_basic_grid_parallel(char const *filename, char const *gridname, MPI_Comm comm)
void yac_delete_icon_grid_data(int **cell_mask, int **global_cell_id, int **cell_core_mask, int **num_vertices_per_cell, int **global_corner_id, int **corner_core_mask, int **cell_to_vertex, double **x_cells, double **y_cells, double **x_vertices, double **y_vertices)
struct yac_basic_grid_data yac_read_icon_basic_grid_data(char const *filename)