YetAnotherCoupler 3.4.0
Loading...
Searching...
No Matches
interp_stack_config.h File Reference
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 max_search_distance, 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)
 
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 *max_search_distance, 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)
 
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 983 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 1210 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 1083 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 1243 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 1200 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 1164 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 1012 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 max_search_distance,
double scale )

Definition at line 1040 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 1115 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 1253 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 )

Definition at line 1185 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 285 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 85 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 964 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 1296 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 1402 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 1342 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 1415 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 1390 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 1310 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 * max_search_distance,
double * scale )

Definition at line 1324 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 1358 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 1290 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 1427 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 )

Definition at line 1378 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 304 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 1277 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 526 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 1270 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 955 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 715 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 929 of file interp_stack_config.c.

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