YetAnotherCoupler 2.6.0
|
Structs and interfaces to handle grid cells. More...
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | grid_cell |
Enumerations | |
enum | yac_edge_type { GREAT_CIRCLE_EDGE = 0 , LAT_CIRCLE_EDGE = 1 , LON_CIRCLE_EDGE = 2 } |
enum | yac_cell_type { LON_LAT_CELL , LAT_CELL , GREAT_CIRCLE_CELL , MIXED_CELL } |
Functions | |
void | yac_init_grid_cell (struct grid_cell *cell) |
void | yac_copy_grid_cell (struct grid_cell in_cell, struct grid_cell *out_cell) |
void | yac_free_grid_cell (struct grid_cell *cell) |
Structs and interfaces to handle grid cells.
Definition in file grid_cell.h.
enum yac_cell_type |
Enumerator | |
---|---|
LON_LAT_CELL | |
LAT_CELL | |
GREAT_CIRCLE_CELL | |
MIXED_CELL |
Definition at line 67 of file grid_cell.h.
enum yac_edge_type |
Enumerator | |
---|---|
GREAT_CIRCLE_EDGE | great circle |
LAT_CIRCLE_EDGE | latitude circle |
LON_CIRCLE_EDGE | longitude circle |
Definition at line 53 of file grid_cell.h.
copies a given grid cell
[in] | in_cell | cell to be copied |
[out] | out_cell | copied cell |
Definition at line 79 of file grid_cell.c.
void yac_free_grid_cell | ( | struct grid_cell * | cell | ) |
frees all memory associated with a grid_cell object and reinitialised the cell
[in,out] | cell |
Definition at line 89 of file grid_cell.c.
void yac_init_grid_cell | ( | struct grid_cell * | cell | ) |
initiates a grid_cell object before the first being used a grid_cell object has to be initialised
[in] | cell | object to be initialised |
Definition at line 59 of file grid_cell.c.