YetAnotherCoupler 3.2.0_a
Loading...
Searching...
No Matches
Macros | Enumerations | Functions
interp_stack_config.h File Reference
#include "interp_method_avg.h"
#include "interp_method_check.h"
#include "interp_method_conserv.h"
#include "interp_method_creep.h"
#include "interp_method_ncc.h"
#include "interp_method_nnn.h"
#include "interp_method_fixed.h"
#include "interp_method_file.h"
#include "interp_method_hcsbb.h"
#include "interp_method_spmap.h"
#include "interp_method_callback.h"
Include dependency graph for interp_stack_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define YAC_MAX_ROUTINE_NAME_LENGTH   (256)
 
#define YAC_MAX_FILE_NAME_LENGTH   (512)
 

Enumerations

enum  yac_interpolation_list {
  YAC_UNDEFINED = 0 , YAC_AVERAGE = 1 , YAC_N_NEAREST_NEIGHBOR = 2 , YAC_CONSERVATIVE = 3 ,
  YAC_SOURCE_TO_TARGET_MAP = 4 , YAC_FIXED_VALUE = 5 , YAC_USER_FILE = 6 , YAC_CHECK = 7 ,
  YAC_BERNSTEIN_BEZIER = 8 , YAC_RADIAL_BASIS_FUNCTION = 9 , YAC_CREEP = 10 , YAC_USER_CALLBACK = 11 ,
  YAC_NEAREST_CORNER_CELLS = 12
}
 

Functions

struct yac_interp_stack_configyac_interp_stack_config_new ()
 
void yac_interp_stack_config_delete (struct yac_interp_stack_config *interp_stack_config)
 
struct yac_interp_stack_configyac_interp_stack_config_copy (struct yac_interp_stack_config *interp_stack)
 
void yac_interp_stack_config_add_average (struct yac_interp_stack_config *interp_stack_config, enum yac_interp_avg_weight_type reduction_type, int partial_coverage)
 
void yac_interp_stack_config_add_ncc (struct yac_interp_stack_config *interp_stack_config, enum yac_interp_ncc_weight_type type, int partial_coverage)
 
void yac_interp_stack_config_add_nnn (struct yac_interp_stack_config *interp_stack_config, enum yac_interp_nnn_weight_type type, size_t n, double scale)
 
void yac_interp_stack_config_add_conservative (struct yac_interp_stack_config *interp_stack_config, int order, int enforced_conserv, int partial_coverage, enum yac_interp_method_conserv_normalisation normalisation)
 
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, double src_sphere_radius, double tgt_sphere_radius)
 
void yac_interp_stack_config_add_hcsbb (struct yac_interp_stack_config *interp_stack_config)
 
void yac_interp_stack_config_add_user_file (struct yac_interp_stack_config *interp_stack_config, char const *filename, char const *src_grid_name, char const *tgt_grid_name)
 
void yac_interp_stack_config_add_fixed (struct yac_interp_stack_config *interp_stack_config, double value)
 
void yac_interp_stack_config_add_check (struct yac_interp_stack_config *interp_stack_config, char const *constructor_key, char const *do_search_key)
 
void yac_interp_stack_config_add_creep (struct yac_interp_stack_config *interp_stack_config, int creep_distance)
 
void yac_interp_stack_config_add_user_callback (struct yac_interp_stack_config *interp_stack_config, char const *func_compute_weights_key)
 
int yac_interp_stack_config_compare (void const *a, void const *b)
 
struct interp_method ** yac_interp_stack_config_generate (struct yac_interp_stack_config *interp_stack)
 
size_t yac_interp_stack_config_get_pack_size (struct yac_interp_stack_config *interp_stack, MPI_Comm comm)
 
void yac_interp_stack_config_pack (struct yac_interp_stack_config *interp_stack, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
struct yac_interp_stack_configyac_interp_stack_config_unpack (void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
size_t yac_interp_stack_config_get_size (struct yac_interp_stack_config *interp_stack)
 
union yac_interp_stack_config_entry const * yac_interp_stack_config_get_entry (struct yac_interp_stack_config *interp_stack, size_t interp_stack_idx)
 
enum yac_interpolation_list yac_interp_stack_config_entry_get_type (union yac_interp_stack_config_entry const *interp_stack_entry)
 
void yac_interp_stack_config_entry_get_average (union yac_interp_stack_config_entry const *interp_stack_entry, enum yac_interp_avg_weight_type *reduction_type, int *partial_coverage)
 
void yac_interp_stack_config_entry_get_ncc (union yac_interp_stack_config_entry const *interp_stack_entry, enum yac_interp_ncc_weight_type *type, int *partial_coverage)
 
void yac_interp_stack_config_entry_get_nnn (union yac_interp_stack_config_entry const *interp_stack_entry, enum yac_interp_nnn_weight_type *type, size_t *n, double *scale)
 
void yac_interp_stack_config_entry_get_conservative (union yac_interp_stack_config_entry const *interp_stack_entry, int *order, int *enforced_conserv, int *partial_coverage, enum yac_interp_method_conserv_normalisation *normalisation)
 
void yac_interp_stack_config_entry_get_spmap (union yac_interp_stack_config_entry const *interp_stack_entry, double *spread_distance, double *max_search_distance, enum yac_interp_spmap_weight_type *weight_type, enum yac_interp_spmap_scale_type *scale_type, double *src_sphere_radius, double *tgt_sphere_radius)
 
void yac_interp_stack_config_entry_get_user_file (union yac_interp_stack_config_entry const *interp_stack_entry, char const **filename, char const **src_grid_name, char const **tgt_grid_name)
 
void yac_interp_stack_config_entry_get_fixed (union yac_interp_stack_config_entry const *interp_stack_entry, double *value)
 
void yac_interp_stack_config_entry_get_check (union yac_interp_stack_config_entry const *interp_stack_entry, char const **constructor_key, char const **do_search_key)
 
void yac_interp_stack_config_entry_get_creep (union yac_interp_stack_config_entry const *interp_stack_entry, int *creep_distance)
 
void yac_interp_stack_config_entry_get_user_callback (union yac_interp_stack_config_entry const *interp_stack_entry, char const **func_compute_weights_key)
 

Macro Definition Documentation

◆ YAC_MAX_FILE_NAME_LENGTH

#define YAC_MAX_FILE_NAME_LENGTH   (512)

Definition at line 23 of file interp_stack_config.h.

◆ YAC_MAX_ROUTINE_NAME_LENGTH

#define YAC_MAX_ROUTINE_NAME_LENGTH   (256)

Definition at line 22 of file interp_stack_config.h.

Enumeration Type Documentation

◆ yac_interpolation_list

Enumerator
YAC_UNDEFINED 
YAC_AVERAGE 
YAC_N_NEAREST_NEIGHBOR 
YAC_CONSERVATIVE 
YAC_SOURCE_TO_TARGET_MAP 
YAC_FIXED_VALUE 
YAC_USER_FILE 
YAC_CHECK 
YAC_BERNSTEIN_BEZIER 
YAC_RADIAL_BASIS_FUNCTION 
YAC_CREEP 
YAC_USER_CALLBACK 
YAC_NEAREST_CORNER_CELLS 

Definition at line 25 of file interp_stack_config.h.

Function Documentation

◆ yac_interp_stack_config_add_average()

void yac_interp_stack_config_add_average ( struct yac_interp_stack_config interp_stack_config,
enum yac_interp_avg_weight_type  reduction_type,
int  partial_coverage 
)

Definition at line 993 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_add_check()

void yac_interp_stack_config_add_check ( struct yac_interp_stack_config interp_stack_config,
char const *  constructor_key,
char const *  do_search_key 
)

Definition at line 1224 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_add_conservative()

void yac_interp_stack_config_add_conservative ( struct yac_interp_stack_config interp_stack_config,
int  order,
int  enforced_conserv,
int  partial_coverage,
enum yac_interp_method_conserv_normalisation  normalisation 
)

Definition at line 1088 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_add_creep()

void yac_interp_stack_config_add_creep ( struct yac_interp_stack_config interp_stack_config,
int  creep_distance 
)

Definition at line 1257 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_add_fixed()

void yac_interp_stack_config_add_fixed ( struct yac_interp_stack_config interp_stack_config,
double  value 
)

Definition at line 1214 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_add_hcsbb()

void yac_interp_stack_config_add_hcsbb ( struct yac_interp_stack_config interp_stack_config)

Definition at line 1169 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_add_ncc()

void yac_interp_stack_config_add_ncc ( struct yac_interp_stack_config interp_stack_config,
enum yac_interp_ncc_weight_type  type,
int  partial_coverage 
)

Definition at line 1022 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_add_nnn()

void yac_interp_stack_config_add_nnn ( struct yac_interp_stack_config interp_stack_config,
enum yac_interp_nnn_weight_type  type,
size_t  n,
double  scale 
)

Definition at line 1050 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_add_spmap()

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,
double  src_sphere_radius,
double  tgt_sphere_radius 
)

Definition at line 1120 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_add_user_callback()

void yac_interp_stack_config_add_user_callback ( struct yac_interp_stack_config interp_stack_config,
char const *  func_compute_weights_key 
)

Definition at line 1267 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_add_user_file()

void yac_interp_stack_config_add_user_file ( struct yac_interp_stack_config interp_stack_config,
char const *  filename,
char const *  src_grid_name,
char const *  tgt_grid_name 
)

Definition at line 1190 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_compare()

int yac_interp_stack_config_compare ( void const *  a,
void const *  b 
)

Definition at line 286 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_copy()

struct yac_interp_stack_config * yac_interp_stack_config_copy ( struct yac_interp_stack_config interp_stack)

Definition at line 87 of file interp_stack_config.c.

Here is the caller graph for this function:

◆ yac_interp_stack_config_delete()

void yac_interp_stack_config_delete ( struct yac_interp_stack_config interp_stack_config)

Definition at line 974 of file interp_stack_config.c.

Here is the caller graph for this function:

◆ yac_interp_stack_config_entry_get_average()

void yac_interp_stack_config_entry_get_average ( union yac_interp_stack_config_entry const *  interp_stack_entry,
enum yac_interp_avg_weight_type reduction_type,
int *  partial_coverage 
)

Definition at line 1310 of file interp_stack_config.c.

◆ yac_interp_stack_config_entry_get_check()

void yac_interp_stack_config_entry_get_check ( union yac_interp_stack_config_entry const *  interp_stack_entry,
char const **  constructor_key,
char const **  do_search_key 
)

Definition at line 1416 of file interp_stack_config.c.

◆ yac_interp_stack_config_entry_get_conservative()

void yac_interp_stack_config_entry_get_conservative ( union yac_interp_stack_config_entry const *  interp_stack_entry,
int *  order,
int *  enforced_conserv,
int *  partial_coverage,
enum yac_interp_method_conserv_normalisation normalisation 
)

Definition at line 1353 of file interp_stack_config.c.

◆ yac_interp_stack_config_entry_get_creep()

void yac_interp_stack_config_entry_get_creep ( union yac_interp_stack_config_entry const *  interp_stack_entry,
int *  creep_distance 
)

Definition at line 1429 of file interp_stack_config.c.

◆ yac_interp_stack_config_entry_get_fixed()

void yac_interp_stack_config_entry_get_fixed ( union yac_interp_stack_config_entry const *  interp_stack_entry,
double *  value 
)

Definition at line 1404 of file interp_stack_config.c.

◆ yac_interp_stack_config_entry_get_ncc()

void yac_interp_stack_config_entry_get_ncc ( union yac_interp_stack_config_entry const *  interp_stack_entry,
enum yac_interp_ncc_weight_type type,
int *  partial_coverage 
)

Definition at line 1324 of file interp_stack_config.c.

◆ yac_interp_stack_config_entry_get_nnn()

void yac_interp_stack_config_entry_get_nnn ( union yac_interp_stack_config_entry const *  interp_stack_entry,
enum yac_interp_nnn_weight_type type,
size_t *  n,
double *  scale 
)

Definition at line 1338 of file interp_stack_config.c.

◆ yac_interp_stack_config_entry_get_spmap()

void yac_interp_stack_config_entry_get_spmap ( union yac_interp_stack_config_entry const *  interp_stack_entry,
double *  spread_distance,
double *  max_search_distance,
enum yac_interp_spmap_weight_type weight_type,
enum yac_interp_spmap_scale_type scale_type,
double *  src_sphere_radius,
double *  tgt_sphere_radius 
)

Definition at line 1369 of file interp_stack_config.c.

◆ yac_interp_stack_config_entry_get_type()

enum yac_interpolation_list yac_interp_stack_config_entry_get_type ( union yac_interp_stack_config_entry const *  interp_stack_entry)

Definition at line 1304 of file interp_stack_config.c.

Here is the caller graph for this function:

◆ yac_interp_stack_config_entry_get_user_callback()

void yac_interp_stack_config_entry_get_user_callback ( union yac_interp_stack_config_entry const *  interp_stack_entry,
char const **  func_compute_weights_key 
)

Definition at line 1441 of file interp_stack_config.c.

◆ yac_interp_stack_config_entry_get_user_file()

void yac_interp_stack_config_entry_get_user_file ( union yac_interp_stack_config_entry const *  interp_stack_entry,
char const **  filename,
char const **  src_grid_name,
char const **  tgt_grid_name 
)

Definition at line 1389 of file interp_stack_config.c.

◆ yac_interp_stack_config_generate()

struct interp_method ** yac_interp_stack_config_generate ( struct yac_interp_stack_config interp_stack)

Definition at line 305 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_get_entry()

union yac_interp_stack_config_entry const * yac_interp_stack_config_get_entry ( struct yac_interp_stack_config interp_stack,
size_t  interp_stack_idx 
)

Definition at line 1291 of file interp_stack_config.c.

Here is the caller graph for this function:

◆ yac_interp_stack_config_get_pack_size()

size_t yac_interp_stack_config_get_pack_size ( struct yac_interp_stack_config interp_stack,
MPI_Comm  comm 
)

Definition at line 535 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_get_size()

size_t yac_interp_stack_config_get_size ( struct yac_interp_stack_config interp_stack)

Definition at line 1284 of file interp_stack_config.c.

Here is the caller graph for this function:

◆ yac_interp_stack_config_new()

struct yac_interp_stack_config * yac_interp_stack_config_new ( )

Definition at line 965 of file interp_stack_config.c.

Here is the caller graph for this function:

◆ yac_interp_stack_config_pack()

void yac_interp_stack_config_pack ( struct yac_interp_stack_config interp_stack,
void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)

Definition at line 724 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yac_interp_stack_config_unpack()

struct yac_interp_stack_config * yac_interp_stack_config_unpack ( void *  buffer,
int  buffer_size,
int *  position,
MPI_Comm  comm 
)

Definition at line 939 of file interp_stack_config.c.

Here is the call graph for this function:
Here is the caller graph for this function: