YetAnotherCoupler 3.2.0
Loading...
Searching...
No Matches
read_scrip_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
24 char const * grid_filename, char const * mask_filename,
25 char const * grid_name, int valid_mask_value, int use_ll_edges);
26
48 char const * grid_filename, char const * mask_filename,
49 char const * grid_name, int valid_mask_value, char const * name,
50 int use_ll_edges, size_t * cell_coord_idx,
51 size_t ** duplicated_cell_idx, yac_int ** orig_cell_global_ids,
52 size_t * nbr_duplicated_cells);
53
78 char const * grid_filename, char const * mask_filename,
79 MPI_Comm comm, char const * grid_name, int valid_mask_value,
80 char const * name, int use_ll_edges, size_t * cell_coord_idx,
81 size_t ** duplicated_cell_idx, yac_int ** orig_cell_global_ids,
82 size_t * nbr_duplicated_cells);
83
106 char const * grid_filename, char const * mask_filename,
107 char const * grid_name, int valid_mask_value,
108 size_t * num_vertices, size_t * num_cells, int ** num_vertices_per_cell,
109 double ** x_vertices, double ** y_vertices,
110 double ** x_cells, double ** y_cells,
111 int ** cell_to_vertex, int ** cell_core_mask, size_t ** duplicated_cell_idx,
112 size_t ** orig_cell_idx, size_t * nbr_duplicated_cells);
113
114// YAC PUBLIC HEADER STOP
struct yac_basic_grid * yac_read_scrip_basic_grid_parallel(char const *grid_filename, char const *mask_filename, MPI_Comm comm, char const *grid_name, int valid_mask_value, char const *name, int use_ll_edges, size_t *cell_coord_idx, size_t **duplicated_cell_idx, yac_int **orig_cell_global_ids, size_t *nbr_duplicated_cells)
struct yac_basic_grid_data yac_read_scrip_basic_grid_data(char const *grid_filename, char const *mask_filename, char const *grid_name, int valid_mask_value, int use_ll_edges)
void yac_read_scrip_grid_information(char const *grid_filename, char const *mask_filename, char const *grid_name, int valid_mask_value, size_t *num_vertices, size_t *num_cells, int **num_vertices_per_cell, double **x_vertices, double **y_vertices, double **x_cells, double **y_cells, int **cell_to_vertex, int **cell_core_mask, size_t **duplicated_cell_idx, size_t **orig_cell_idx, size_t *nbr_duplicated_cells)
struct yac_basic_grid * yac_read_scrip_basic_grid(char const *grid_filename, char const *mask_filename, char const *grid_name, int valid_mask_value, char const *name, int use_ll_edges, size_t *cell_coord_idx, size_t **duplicated_cell_idx, yac_int **orig_cell_global_ids, size_t *nbr_duplicated_cells)
Xt_int yac_int
Definition yac_types.h:15