YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
read_cube_csv_grid.h File Reference
#include "basic_grid.h"
Include dependency graph for read_cube_csv_grid.h:
This graph shows which files directly or indirectly include this file:

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)
 

Function Documentation

◆ yac_read_cube_csv_grid()

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

Parameters
[in]filenamename of the cube sphere grid csv file
Returns
grid structure that contains the cube sphere grid

Definition at line 64 of file read_cube_csv_grid.c.

Here is the call graph for this function:

◆ yac_read_cube_csv_grid_information()

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.

Parameters
[in]filenamename of the cube sphere grid csv file
[out]nbr_verticesnumber of vertices in the grid
[out]nbr_cellsnumber of cells in the grid
[out]cell_to_vertexvertex indices for each cell
[out]x_verticeslongitudes of vertices
[out]y_verticeslatitudes of vertices

Definition at line 25 of file read_cube_csv_grid.c.

Here is the call graph for this function:
Here is the caller graph for this function: