#include <mpi.h>
#include <yaxt.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <math.h>
#include "yac.h"
#include "yac_utils.h"
Go to the source code of this file.
|
| static void | compute_weights_callback (double const tgt_coords[3], int src_cell_id, size_t src_cell_idx, int const **global_results_points, double **result_weights, size_t *result_count, void *user_data) |
| |
| static void | LLtoXYZ (double lon, double lat, double p_out[]) |
| |
| static void | XYZtoLL (double const p_in[], double *lon, double *lat) |
| |
| static void | parse_arguments (int argc, char **argv, char const **configFilename, char const **gridFilename) |
| |
◆ STR_USAGE
| #define STR_USAGE "Usage: %s -c configFilename -g gridFilename\n" |
◆ YAC_ASSERT_ARGS
| #define YAC_ASSERT_ARGS |
( |
| exp, |
|
|
| msg ) |
Value: { \
if(!((exp))) { \
fprintf(stderr,
"ERROR: %s\n" STR_USAGE, msg, argv[0]); \
exit(EXIT_FAILURE); \
} \
}
Definition at line 35 of file toy_icon_callback.c.
◆ compute_weights_callback()
| static void compute_weights_callback |
( |
double const | tgt_coords[3], |
|
|
int | src_cell_id, |
|
|
size_t | src_cell_idx, |
|
|
int const ** | global_results_points, |
|
|
double ** | result_weights, |
|
|
size_t * | result_count, |
|
|
void * | user_data ) |
|
static |
◆ LLtoXYZ()
| static void LLtoXYZ |
( |
double | lon, |
|
|
double | lat, |
|
|
double | p_out[] ) |
|
inlinestatic |
◆ parse_arguments()
| static void parse_arguments |
( |
int | argc, |
|
|
char ** | argv, |
|
|
char const ** | configFilename, |
|
|
char const ** | gridFilename ) |
|
static |
◆ XYZtoLL()
| static void XYZtoLL |
( |
double const | p_in[], |
|
|
double * | lon, |
|
|
double * | lat ) |
|
inlinestatic |
◆ fieldName
| const char fieldName[] = "icon_to_cube" |