YetAnotherCoupler 3.5.2
|
#include "basic_grid.h"
Go to the source code of this file.
Functions | |
struct yac_basic_grid_data | yac_read_fesom_basic_grid_data (char const *filename) |
struct yac_basic_grid * | yac_read_fesom_basic_grid (char const *filename, char const *gridname) |
void | yac_read_fesom_grid_information (const char *filename, int *nbr_vertices, int *nbr_cells, int **num_vertices_per_cell, int **cell_to_vertex, double **x_vertices, double **y_vertices, double **x_cells, double **y_cells) |
struct yac_basic_grid * yac_read_fesom_basic_grid | ( | char const * | filename, |
char const * | gridname ) |
reads in an fesom grid netcdf file and generates a struct yac_basic_grid from it
[in] | filename | name of the fesom grid netcdf file |
[in] | gridname | name of the grid |
Definition at line 152 of file read_fesom_grid.c.
struct yac_basic_grid_data yac_read_fesom_basic_grid_data | ( | char const * | filename | ) |
reads in an fesom grid netcdf file and generates a struct yac_basic_grid_data from it
[in] | filename | name of the fesom grid netcdf file |
Definition at line 119 of file read_fesom_grid.c.
void yac_read_fesom_grid_information | ( | const char * | filename, |
int * | nbr_vertices, | ||
int * | nbr_cells, | ||
int ** | num_vertices_per_cell, | ||
int ** | cell_to_vertex, | ||
double ** | x_vertices, | ||
double ** | y_vertices, | ||
double ** | x_cells, | ||
double ** | y_cells ) |
reads in an fesom grid netcdf file and return the grid information in a format that is supported by the YAC user interface.
[in] | filename | name of the fesom grid netcdf file |
[out] | nbr_vertices | number of vertices in the grid |
[out] | nbr_cells | number of cells in the grid |
[out] | num_vertices_per_cell | number of vertices per cell |
[out] | cell_to_vertex | vertex indices for each cell |
[out] | x_vertices | longitudes of vertices |
[out] | y_vertices | latitudes of vertices |
[out] | x_cells | longitudes of cell center |
[out] | y_cells | latitudes of cell center |
Definition at line 37 of file read_fesom_grid.c.