|
YAC 3.12.0
Yet Another Coupler
|
#include <mpi.h>#include <stdlib.h>#include <stdio.h>#include <unistd.h>#include <yaxt.h>#include <string.h>#include <netcdf.h>#include "yac.h"#include "yac_utils.h"#include "yac_mpi_common.h"#include "yac_mpi_internal.h"
Go to the source code of this file.
Data Structures | |
| struct | grid_config |
| struct | time_rank |
Macros | |
| #define | DEFAULT_INTERP_STACK |
| #define | STR_USAGE |
| #define | YAC_ASSERT(exp, msg) |
| #define | YAC_ASSERT_F(exp, format, ...) |
Enumerations | |
| enum | grid_edge_type { GC_EDGES , LL_EDGES } |
Functions | |
| static void | parse_arguments (int argc, char **argv, struct grid_config *src_grid_config, struct grid_config *tgt_grid_config, char const **weight_filename, char const **interp_stack_string, int *print_timer, char const **debug_grid_file) |
| struct yac_interp_stack_config * | yac_yaml_parse_interp_stack_config_string (char const *interp_stack_config, int parse_flags) |
| static struct yac_basic_grid * | get_basic_grid_from_config (struct grid_config *grid_config, char const *debug_grid_file) |
| static void | grid_config_delete (struct grid_config grid_config) |
| static void | timer_start (int print_timer) |
| static void | timer_stop (int print_timer, char const *timer_name) |
| static enum grid_edge_type | parse_edge_type (char const *edge_type_string) |
| static size_t | parse_size_t (char const *size_t_string) |
| static double | parse_double (char const *double_string) |
| static char const * | get_next_token (char const *token_name) |
| size_t | read_netcdf_dimension (char const *filename, char const *dim_name) |
| struct grid_config | parse_grid_config_exodus () |
| struct grid_config | parse_grid_config_icon () |
| struct grid_config | parse_grid_config_scrip () |
| struct grid_config | parse_grid_config_reg2d () |
| struct grid_config | parse_grid_config_reg2drot () |
| static struct grid_config | parse_grid_config (char const *grid_config_string_, char const *src_tgt) |
| static void | normalise_vector (double v[]) |
| static size_t | generate_cell_center_coordinates (struct yac_basic_grid *basic_grid) |
| static void | generate_reg2d_vertices (size_t *nbr_vertices, double min_lon, double max_lon, double min_lat, double max_lat, double **lon_vertices, double **lat_vertices) |
| static struct yac_basic_grid * | generate_reg2d_grid (struct grid_config grid_config) |
| static struct yac_basic_grid * | generate_reg2drot_grid (struct grid_config grid_config) |
| static void | grid_config_delete (struct grid_config grid_config) |
Variables | |
| static char const * | cmd |
| int const | YAC_YAML_PARSER_JSON_FORCE |
| assume JSON format | |
| static struct time_rank | local_time_rank |
| #define DEFAULT_INTERP_STACK |
Definition at line 22 of file yac_compute_weights.c.
| #define STR_USAGE |
Definition at line 34 of file yac_compute_weights.c.
| #define YAC_ASSERT | ( | exp, | |
| msg ) |
Definition at line 114 of file yac_compute_weights.c.
| #define YAC_ASSERT_F | ( | exp, | |
| format, | |||
| ... ) |
| enum grid_edge_type |
| Enumerator | |
|---|---|
| GC_EDGES | |
| LL_EDGES | |
Definition at line 132 of file yac_compute_weights.c.
|
static |
Definition at line 579 of file yac_compute_weights.c.


|
static |
Definition at line 649 of file yac_compute_weights.c.


|
static |
|
static |
Definition at line 687 of file yac_compute_weights.c.


|
static |
|
static |
|
static |
|
static |
Definition at line 791 of file yac_compute_weights.c.
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
Definition at line 481 of file yac_compute_weights.c.


| struct grid_config parse_grid_config_exodus | ( | ) |
Definition at line 373 of file yac_compute_weights.c.


| struct grid_config parse_grid_config_icon | ( | ) |
Definition at line 390 of file yac_compute_weights.c.


| struct grid_config parse_grid_config_reg2d | ( | ) |
Definition at line 431 of file yac_compute_weights.c.


| struct grid_config parse_grid_config_reg2drot | ( | ) |
Definition at line 454 of file yac_compute_weights.c.


| struct grid_config parse_grid_config_scrip | ( | ) |
Definition at line 404 of file yac_compute_weights.c.


|
static |
| size_t read_netcdf_dimension | ( | char const * | filename, |
| char const * | dim_name ) |
Definition at line 353 of file yac_compute_weights.c.


|
static |
Definition at line 828 of file yac_compute_weights.c.
|
static |
Definition at line 836 of file yac_compute_weights.c.
| struct yac_interp_stack_config * yac_yaml_parse_interp_stack_config_string | ( | char const * | interp_stack_config, |
| int | parse_flags ) |
Parse a "0"-terminated string that contains an interpolation stack configuration
| [in] | interp_stack_config | string containing interpolation stack configuration |
| [in] | parse_flags | flags to be used for parsing the string |
Definition at line 2886 of file config_yaml.c.


|
static |
Definition at line 21 of file yac_compute_weights.c.
|
static |
Definition at line 198 of file yac_compute_weights.c.
|
extern |
assume JSON format
Definition at line 70 of file config_yaml.c.