|
YAC 3.12.0
Yet Another Coupler
|
#include <stdlib.h>#include <stdio.h>#include <math.h>#include <unistd.h>#include <string.h>#include <mpi.h>#include "tests.h"#include "test_common.h"#include "weight_file_common.h"#include "dist_grid_utils.h"#include "grids/dist_grid.h"#include "interpolation/interp_grid.h"#include "geometry.h"#include "interpolation/interp_weights.h"#include "interpolation/methods/interp_method_avg.h"#include "interpolation/methods/interp_method_file.h"
Go to the source code of this file.
Macros | |
| #define | YAC_RAD (0.01745329251994329576923690768489) |
| #define | NUM_CELLS_X 128 |
| #define | NUM_CELLS_Y 128 |
| #define | NUM_CELLS_X_2 64 |
| #define | NUM_CELLS_Y_2 64 |
Variables | |
| unsigned | num_links_file = 4*NUM_CELLS_X_2*NUM_CELLS_Y_2 |
| int | src_address_file [NUM_CELLS_Y_2][NUM_CELLS_X_2][4] |
| int | tgt_address_file [NUM_CELLS_Y_2][NUM_CELLS_X_2][4] |
| double | weights_file [NUM_CELLS_Y_2][NUM_CELLS_X_2][4] |
| char const | weight_file_in [] |
| char const | weight_file_out [] |
| char const | src_grid_name [] = "src_grid" |
| char const | tgt_grid_name [] = "tgt_grid" |
| unsigned | ref_num_links = 4*NUM_CELLS_X*NUM_CELLS_Y |
| int | ref_src_address [NUM_CELLS_Y][NUM_CELLS_X][4] |
| int | ref_tgt_address [NUM_CELLS_Y][NUM_CELLS_X][4] |
| double | ref_weights [NUM_CELLS_Y][NUM_CELLS_X][4] |
| int const * | ref_tgt_address_fixed = NULL |
| double const * | ref_fixed_values = NULL |
| int const * | ref_num_tgt_per_fixed_value = NULL |
| unsigned | ref_num_fixed_values = 0 |
| unsigned | cyclic [2] = {0,0} |
| double | global_coordinates_x [NUM_CELLS_X+1] |
| double | global_coordinates_y [NUM_CELLS_X+1] |
| int | with_halo = 1 |
Definition in file test_interpolation_parallel4.c.
| #define NUM_CELLS_X 128 |
Definition at line 32 of file test_interpolation_parallel4.c.
| #define NUM_CELLS_X_2 64 |
Definition at line 34 of file test_interpolation_parallel4.c.
| #define NUM_CELLS_Y 128 |
Definition at line 33 of file test_interpolation_parallel4.c.
| #define NUM_CELLS_Y_2 64 |
Definition at line 35 of file test_interpolation_parallel4.c.
| #define YAC_RAD (0.01745329251994329576923690768489) |
Definition at line 29 of file test_interpolation_parallel4.c.
| unsigned cyclic[2] = {0,0} |
Definition at line 73 of file test_interpolation_parallel4.c.
| double global_coordinates_x[NUM_CELLS_X+1] |
Definition at line 74 of file test_interpolation_parallel4.c.
| double global_coordinates_y[NUM_CELLS_X+1] |
Definition at line 75 of file test_interpolation_parallel4.c.
| unsigned num_links_file = 4*NUM_CELLS_X_2*NUM_CELLS_Y_2 |
Definition at line 48 of file test_interpolation_parallel4.c.
| double const* ref_fixed_values = NULL |
Definition at line 68 of file test_interpolation_parallel4.c.
| unsigned ref_num_fixed_values = 0 |
Definition at line 70 of file test_interpolation_parallel4.c.
| unsigned ref_num_links = 4*NUM_CELLS_X*NUM_CELLS_Y |
Definition at line 61 of file test_interpolation_parallel4.c.
| int const* ref_num_tgt_per_fixed_value = NULL |
Definition at line 69 of file test_interpolation_parallel4.c.
| int ref_src_address[NUM_CELLS_Y][NUM_CELLS_X][4] |
Definition at line 63 of file test_interpolation_parallel4.c.
| int ref_tgt_address[NUM_CELLS_Y][NUM_CELLS_X][4] |
Definition at line 64 of file test_interpolation_parallel4.c.
| int const* ref_tgt_address_fixed = NULL |
Definition at line 67 of file test_interpolation_parallel4.c.
| double ref_weights[NUM_CELLS_Y][NUM_CELLS_X][4] |
Definition at line 65 of file test_interpolation_parallel4.c.
| int src_address_file[NUM_CELLS_Y_2][NUM_CELLS_X_2][4] |
Definition at line 49 of file test_interpolation_parallel4.c.
| char const src_grid_name[] = "src_grid" |
Definition at line 57 of file test_interpolation_parallel4.c.
| int tgt_address_file[NUM_CELLS_Y_2][NUM_CELLS_X_2][4] |
Definition at line 50 of file test_interpolation_parallel4.c.
| char const tgt_grid_name[] = "tgt_grid" |
Definition at line 58 of file test_interpolation_parallel4.c.
| char const weight_file_in[] |
Definition at line 53 of file test_interpolation_parallel4.c.
| char const weight_file_out[] |
Definition at line 55 of file test_interpolation_parallel4.c.
| double weights_file[NUM_CELLS_Y_2][NUM_CELLS_X_2][4] |
Definition at line 51 of file test_interpolation_parallel4.c.
| int with_halo = 1 |
Definition at line 76 of file test_interpolation_parallel4.c.