|
YAC 3.20.0
Yet Another Coupler
|
#include <mpi.h>#include <stdlib.h>#include <stdio.h>#include <unistd.h>#include <math.h>#include <string.h>#include "tests.h"#include "yac.h"#include "yac_core.h"#include "io_utils.h"
Go to the source code of this file.
Macros | |
| #define | YAC_RAD (0.01745329251994329576923690768489) |
Functions | |
| static void | gen_weight_file (void) |
| 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) |
Variables | |
| int | n_cells [2] = {32, 16} |
| int | n_corners [2] = {32+1, 16+1} |
| int | cyclic [2] = {0, 0} |
| double * | data |
| double * | corner_lon |
| double * | corner_lat |
| double * | cell_lon |
| double * | cell_lat |
| int | timestep_counter |
| char const * | weight_file_name = "test_dynamic_config_c.nc" |
| char const * | weight_file_name_dummy = "test_dynamic_config_dummy_c.nc" |
| int | comp_id |
| int | point_id |
| char const * | test_config_filename_yaml |
| char const * | test_config_filename_json |
| char const * | grid_output_filename = "test_dynamic_config_c_grids.nc" |
Definition in file test_dynamic_config_c.c.
| #define YAC_RAD (0.01745329251994329576923690768489) |
Definition at line 22 of file test_dynamic_config_c.c.
| 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 ) |
Definition at line 59 of file test_dynamic_config_c.c.
|
static |
| double * cell_lat |
Definition at line 46 of file test_dynamic_config_c.c.
| double * cell_lon |
Definition at line 46 of file test_dynamic_config_c.c.
| int comp_id |
Definition at line 50 of file test_dynamic_config_c.c.
| double * corner_lat |
Definition at line 46 of file test_dynamic_config_c.c.
| double * corner_lon |
Definition at line 46 of file test_dynamic_config_c.c.
| int cyclic[2] = {0, 0} |
Definition at line 45 of file test_dynamic_config_c.c.
| double* data |
Definition at line 46 of file test_dynamic_config_c.c.
| char const* grid_output_filename = "test_dynamic_config_c_grids.nc" |
Definition at line 57 of file test_dynamic_config_c.c.
| int n_cells[2] = {32, 16} |
Definition at line 43 of file test_dynamic_config_c.c.
| int n_corners[2] = {32+1, 16+1} |
Definition at line 44 of file test_dynamic_config_c.c.
| int point_id |
Definition at line 50 of file test_dynamic_config_c.c.
| char const* test_config_filename_json |
Definition at line 54 of file test_dynamic_config_c.c.
| char const* test_config_filename_yaml |
Definition at line 52 of file test_dynamic_config_c.c.
| int timestep_counter |
Definition at line 47 of file test_dynamic_config_c.c.
| char const* weight_file_name = "test_dynamic_config_c.nc" |
Definition at line 48 of file test_dynamic_config_c.c.
| char const* weight_file_name_dummy = "test_dynamic_config_dummy_c.nc" |
Definition at line 49 of file test_dynamic_config_c.c.