YetAnotherCoupler 3.5.2
|
#include "basic_grid.h"
Go to the source code of this file.
Functions | |
struct yac_basic_grid_data | yac_read_cube_csv_grid (char *filename) |
void | yac_read_cube_csv_grid_information (const char *filename, int *nbr_vertices, int *nbr_cells, int **cell_to_vertex, double **x_vertices, double **y_vertices) |
struct yac_basic_grid_data yac_read_cube_csv_grid | ( | char * | filename | ) |
reads in an cube sphere grid csv file and generates a struct grid from it
[in] | filename | name of the cube sphere grid csv file |
Definition at line 64 of file read_cube_csv_grid.c.
void yac_read_cube_csv_grid_information | ( | const char * | filename, |
int * | nbr_vertices, | ||
int * | nbr_cells, | ||
int ** | cell_to_vertex, | ||
double ** | x_vertices, | ||
double ** | y_vertices ) |
reads in an cube sphere grid csv file and return the grid information in a format that is supported by the YAC user interface.
[in] | filename | name of the cube sphere grid csv file |
[out] | nbr_vertices | number of vertices in the grid |
[out] | nbr_cells | number of cells in the grid |
[out] | cell_to_vertex | vertex indices for each cell |
[out] | x_vertices | longitudes of vertices |
[out] | y_vertices | latitudes of vertices |
Definition at line 25 of file read_cube_csv_grid.c.