YAC 3.18.0
Yet Another Coupler
Loading...
Searching...
No Matches
toy_common.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MIN(a, b)   ((a) < (b) ? (a) : (b))
 

Functions

static void LLtoXYZ (double lon, double lat, double p_out[])
 
static void XYZtoLL (double const p_in[], double *lon, double *lat)
 

Variables

const char * fieldName []
 
int const num_fields = (int)(sizeof(fieldName)/sizeof(fieldName[0]))
 
const int num_steps = 1
 

Macro Definition Documentation

◆ MIN

#define MIN ( a,
b )   ((a) < (b) ? (a) : (b))

Definition at line 29 of file toy_common.h.

Function Documentation

◆ LLtoXYZ()

static void LLtoXYZ ( double lon,
double lat,
double p_out[] )
inlinestatic

Definition at line 12 of file toy_common.h.

◆ XYZtoLL()

static void XYZtoLL ( double const p_in[],
double * lon,
double * lat )
inlinestatic

Definition at line 23 of file toy_common.h.

Variable Documentation

◆ fieldName

const char* fieldName[]
Initial value:
= {"conserv_field_atm_oce",
"hcsbb_field_atm_oce",
"conserv_field_oce_atm",
"hcsbb_field_oce_atm"}

Definition at line 5 of file toy_common.h.

◆ num_fields

int const num_fields = (int)(sizeof(fieldName)/sizeof(fieldName[0]))

Definition at line 9 of file toy_common.h.

◆ num_steps

const int num_steps = 1

Definition at line 10 of file toy_common.h.