|
YAC 3.14.0
Yet Another Coupler
|
#include <stdio.h>#include <math.h>#include <mpi.h>#include <yaxt.h>#include "tests.h"#include "dist_grid_utils.h"#include "interpolation/interp_stack_config.h"#include "interpolation/methods/interp_method_spmap.h"#include "geometry.h"
Go to the source code of this file.
Macros | |
| #define | ARGS(...) __VA_ARGS__ |
| #define | _GET_NTH_ARG(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, N, ...) N |
| #define | EXPAND(x) x |
| #define | FOREACH(name, ...) |
| #define | FOREACH_ENUM(name, values, ...) |
| #define | FOREACH_TYPE(name, type, values, ...) |
| #define | FOREACH_INT(name, values, ...) FOREACH_TYPE(name, int, ARGS(values), __VA_ARGS__) |
| #define | FOREACH_DBLE(name, values, ...) FOREACH_TYPE(name, double, ARGS(values), __VA_ARGS__) |
| #define | FOREACH_BOOL(name, ...) FOREACH_INT(name, ARGS(0, 1), __VA_ARGS__) |
| #define | FOREACH_STRING(name, values, ...) FOREACH_TYPE(name, ARGS(char const *), ARGS(values), __VA_ARGS__) |
| #define | FOREACH_STRUCT(name, struct_name, values, ...) FOREACH_TYPE(name, ARGS(struct struct_name), ARGS(values), __VA_ARGS__) |
| #define | _CHECK_STACKS(interp_name, config) |
| #define | _CONFIG_ARGS1(arg_name) arg_name[arg_name ## _idx[config_idx]] |
| #define | _CONFIG_ARGS2(arg_name, ...) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS1(__VA_ARGS__) |
| #define | _CONFIG_ARGS3(arg_name, ...) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS2(__VA_ARGS__) |
| #define | _CONFIG_ARGS4(arg_name, ...) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS3(__VA_ARGS__) |
| #define | _CONFIG_ARGS5(arg_name, ...) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS4(__VA_ARGS__) |
| #define | _CONFIG_ARGS6(arg_name, ...) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS5(__VA_ARGS__) |
| #define | _CONFIG_ARGS7(arg_name, ...) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS6(__VA_ARGS__) |
| #define | _CONFIG_ARGS8(arg_name, ...) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS7(__VA_ARGS__) |
| #define | _CONFIG_ARGS9(arg_name, ...) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS8(__VA_ARGS__) |
| #define | _CONFIG_ARGS10(arg_name, ...) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS9(__VA_ARGS__) |
| #define | _CONFIG_ARGS11(arg_name, ...) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS10(__VA_ARGS__) |
| #define | _CONFIG_ARGS12(arg_name, ...) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS11(__VA_ARGS__) |
| #define | CHECK_STACKS(interp_name, ...) |
Functions | |
| static void | yac_interp_stack_config_add_spmap_ (struct yac_interp_stack_config *interp_stack_config, double spread_distance, double max_search_distance, enum yac_interp_spmap_weight_type weight_type, enum yac_interp_spmap_scale_type scale_type, struct yac_spmap_cell_area_config *src_cell_area_config, struct yac_spmap_cell_area_config *tgt_cell_area_config) |
| static void | yac_interp_stack_config_add_spmap_ext_ (struct yac_interp_stack_config *interp_stack_config, struct yac_interp_spmap_config *default_config, struct yac_spmap_overwrite_config **overwrite_configs) |
Definition in file test_interp_stack_config.c.
| #define _CHECK_STACKS | ( | interp_name, | |
| config ) |
Definition at line 56 of file test_interp_stack_config.c.
| #define _CONFIG_ARGS1 | ( | arg_name | ) | arg_name[arg_name ## _idx[config_idx]] |
Definition at line 65 of file test_interp_stack_config.c.
| #define _CONFIG_ARGS10 | ( | arg_name, | |
| ... ) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS9(__VA_ARGS__) |
Definition at line 82 of file test_interp_stack_config.c.
| #define _CONFIG_ARGS11 | ( | arg_name, | |
| ... ) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS10(__VA_ARGS__) |
Definition at line 84 of file test_interp_stack_config.c.
| #define _CONFIG_ARGS12 | ( | arg_name, | |
| ... ) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS11(__VA_ARGS__) |
Definition at line 86 of file test_interp_stack_config.c.
| #define _CONFIG_ARGS2 | ( | arg_name, | |
| ... ) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS1(__VA_ARGS__) |
Definition at line 66 of file test_interp_stack_config.c.
| #define _CONFIG_ARGS3 | ( | arg_name, | |
| ... ) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS2(__VA_ARGS__) |
Definition at line 68 of file test_interp_stack_config.c.
| #define _CONFIG_ARGS4 | ( | arg_name, | |
| ... ) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS3(__VA_ARGS__) |
Definition at line 70 of file test_interp_stack_config.c.
| #define _CONFIG_ARGS5 | ( | arg_name, | |
| ... ) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS4(__VA_ARGS__) |
Definition at line 72 of file test_interp_stack_config.c.
| #define _CONFIG_ARGS6 | ( | arg_name, | |
| ... ) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS5(__VA_ARGS__) |
Definition at line 74 of file test_interp_stack_config.c.
| #define _CONFIG_ARGS7 | ( | arg_name, | |
| ... ) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS6(__VA_ARGS__) |
Definition at line 76 of file test_interp_stack_config.c.
| #define _CONFIG_ARGS8 | ( | arg_name, | |
| ... ) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS7(__VA_ARGS__) |
Definition at line 78 of file test_interp_stack_config.c.
| #define _CONFIG_ARGS9 | ( | arg_name, | |
| ... ) _CONFIG_ARGS1(arg_name), _CONFIG_ARGS8(__VA_ARGS__) |
Definition at line 80 of file test_interp_stack_config.c.
Definition at line 21 of file test_interp_stack_config.c.
| #define ARGS | ( | ... | ) | __VA_ARGS__ |
Definition at line 20 of file test_interp_stack_config.c.
| #define CHECK_STACKS | ( | interp_name, | |
| ... ) |
Definition at line 88 of file test_interp_stack_config.c.
| #define EXPAND | ( | x | ) | x |
Definition at line 22 of file test_interp_stack_config.c.
| #define FOREACH | ( | name, | |
| ... ) |
Definition at line 23 of file test_interp_stack_config.c.
| #define FOREACH_BOOL | ( | name, | |
| ... ) FOREACH_INT(name, ARGS(0, 1), __VA_ARGS__) |
Definition at line 51 of file test_interp_stack_config.c.
| #define FOREACH_DBLE | ( | name, | |
| values, | |||
| ... ) FOREACH_TYPE(name, double, ARGS(values), __VA_ARGS__) |
Definition at line 49 of file test_interp_stack_config.c.
| #define FOREACH_ENUM | ( | name, | |
| values, | |||
| ... ) |
Definition at line 37 of file test_interp_stack_config.c.
| #define FOREACH_INT | ( | name, | |
| values, | |||
| ... ) FOREACH_TYPE(name, int, ARGS(values), __VA_ARGS__) |
Definition at line 47 of file test_interp_stack_config.c.
| #define FOREACH_STRING | ( | name, | |
| values, | |||
| ... ) FOREACH_TYPE(name, ARGS(char const *), ARGS(values), __VA_ARGS__) |
Definition at line 52 of file test_interp_stack_config.c.
| #define FOREACH_STRUCT | ( | name, | |
| struct_name, | |||
| values, | |||
| ... ) FOREACH_TYPE(name, ARGS(struct struct_name), ARGS(values), __VA_ARGS__) |
Definition at line 54 of file test_interp_stack_config.c.
Definition at line 42 of file test_interp_stack_config.c.
|
static |
Definition at line 534 of file test_interp_stack_config.c.

|
static |
Definition at line 617 of file test_interp_stack_config.c.
