YetAnotherCoupler 3.5.2
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, char const *src_filename, char const *src_varname, int src_min_global_id, double tgt_sphere_radius, char const *tgt_filename, char const *tgt_varname, int tgt_min_global_id)
 
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, char const **src_filename, char const **src_varname, int *src_min_global_id, double *tgt_sphere_radius, char const **tgt_filename, char const **tgt_varname, int *tgt_min_global_id)
 
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 1170 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 1465 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 1270 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 1498 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 1455 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 1419 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 1199 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 1227 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,
char const * src_filename,
char const * src_varname,
int src_min_global_id,
double tgt_sphere_radius,
char const * tgt_filename,
char const * tgt_varname,
int tgt_min_global_id )

Definition at line 1352 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 1508 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 1440 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 332 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 103 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_delete()

void yac_interp_stack_config_delete ( struct yac_interp_stack_config * interp_stack_config)

Definition at line 1149 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_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 1551 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 1672 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 1597 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 1685 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 1660 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 1565 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 1579 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,
char const ** src_filename,
char const ** src_varname,
int * src_min_global_id,
double * tgt_sphere_radius,
char const ** tgt_filename,
char const ** tgt_varname,
int * tgt_min_global_id )

Definition at line 1613 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 1545 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 1697 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 1648 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 351 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 1532 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 602 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 1525 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 1128 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 826 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 1102 of file interp_stack_config.c.

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