![]() |
YAC 3.6.2
Yet Another Coupler
|
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | yac_grid_cell |
Enumerations | |
enum | yac_edge_type { YAC_GREAT_CIRCLE_EDGE = 0 , YAC_LAT_CIRCLE_EDGE = 1 , YAC_LON_CIRCLE_EDGE = 2 } |
enum | yac_cell_type { YAC_LON_LAT_CELL , YAC_LAT_CELL , YAC_GREAT_CIRCLE_CELL , YAC_MIXED_CELL } |
Functions | |
void | yac_init_grid_cell (struct yac_grid_cell *cell) |
void | yac_copy_grid_cell (struct yac_grid_cell in_cell, struct yac_grid_cell *out_cell) |
void | yac_free_grid_cell (struct yac_grid_cell *cell) |
enum yac_cell_type |
Enumerator | |
---|---|
YAC_LON_LAT_CELL | |
YAC_LAT_CELL | |
YAC_GREAT_CIRCLE_CELL | |
YAC_MIXED_CELL |
Definition at line 26 of file grid_cell.h.
enum yac_edge_type |
Enumerator | |
---|---|
YAC_GREAT_CIRCLE_EDGE | great circle |
YAC_LAT_CIRCLE_EDGE | latitude circle |
YAC_LON_CIRCLE_EDGE | longitude circle |
Definition at line 12 of file grid_cell.h.
void yac_copy_grid_cell | ( | struct yac_grid_cell | in_cell, |
struct yac_grid_cell * | out_cell ) |
copies a given grid cell
[in] | in_cell | cell to be copied |
[out] | out_cell | copied cell |
Definition at line 34 of file grid_cell.c.
void yac_free_grid_cell | ( | struct yac_grid_cell * | cell | ) |
frees all memory associated with a grid_cell object and reinitialised the cell
[in,out] | cell |
Definition at line 44 of file grid_cell.c.
void yac_init_grid_cell | ( | struct yac_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 14 of file grid_cell.c.