YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
interp_method_spmap.h File Reference
Include dependency graph for interp_method_spmap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define YAC_INTERP_SPMAP_SPREAD_DISTANCE_DEFAULT   (0.0)
 
#define YAC_INTERP_SPMAP_MAX_SEARCH_DISTANCE_DEFAULT   (0.0)
 
#define YAC_INTERP_SPMAP_WEIGHTED_DEFAULT   (YAC_INTERP_SPMAP_AVG)
 
#define YAC_INTERP_SPMAP_SCALE_TYPE_DEFAULT   (YAC_INTERP_SPMAP_NONE)
 
#define YAC_INTERP_SPMAP_SPHERE_RADIUS_DEFAULT   (1.0)
 
#define YAC_INTERP_SPMAP_FILENAME_DEFAULT   (NULL)
 
#define YAC_INTERP_SPMAP_VARNAME_DEFAULT   (NULL)
 
#define YAC_INTERP_SPMAP_MIN_GLOBAL_ID_DEFAULT   (0)
 
#define YAC_INTERP_SPMAP_CELL_AREA_CONFIG_DEFAULT   (NULL)
 
#define YAC_INTERP_SPMAP_SCALE_CONFIG_DEFAULT   (NULL)
 
#define YAC_INTERP_SPMAP_DEFAULT_CONFIG   (NULL)
 
#define YAC_INTERP_SPMAP_OVERWRITE_DEFAULT   (NULL)
 

Enumerations

enum  yac_interp_spmap_weight_type { YAC_INTERP_SPMAP_AVG = 0 , YAC_INTERP_SPMAP_DIST = 1 }
 
enum  yac_interp_spmap_scale_type { YAC_INTERP_SPMAP_NONE = 0 , YAC_INTERP_SPMAP_SRCAREA = 1 , YAC_INTERP_SPMAP_INVTGTAREA = 2 , YAC_INTERP_SPMAP_FRACAREA = 3 }
 
enum  yac_interp_spmap_cell_area_provider { YAC_INTERP_SPMAP_CELL_AREA_FILE = 0 , YAC_INTERP_SPMAP_CELL_AREA_YAC = 1 }
 

Functions

struct interp_method * yac_interp_method_spmap_new (struct yac_interp_spmap_config const *default_config, struct yac_spmap_overwrite_config const *const *overwrite_configs)
 
struct yac_interp_spmap_config * yac_interp_spmap_config_new (double spread_distance, double max_search_distance, enum yac_interp_spmap_weight_type weight_type, struct yac_spmap_scale_config const *scale_config)
 
void yac_interp_spmap_config_delete (struct yac_interp_spmap_config *spmap_config)
 
double yac_interp_spmap_config_get_spread_distance (struct yac_interp_spmap_config const *spmap_config)
 
double yac_interp_spmap_config_get_max_search_distance (struct yac_interp_spmap_config const *spmap_config)
 
enum yac_interp_spmap_weight_type yac_interp_spmap_config_get_weight_type (struct yac_interp_spmap_config const *spmap_config)
 
struct yac_spmap_scale_config const * yac_interp_spmap_config_get_scale_config (struct yac_interp_spmap_config const *spmap_config)
 
struct yac_spmap_scale_config * yac_spmap_scale_config_new (enum yac_interp_spmap_scale_type scale_type, struct yac_spmap_cell_area_config const *source_cell_area_config, struct yac_spmap_cell_area_config const *target_cell_area_config)
 
void yac_spmap_scale_config_delete (struct yac_spmap_scale_config *scale_config)
 
enum yac_interp_spmap_scale_type yac_spmap_scale_config_get_type (struct yac_spmap_scale_config const *scale_config)
 
struct yac_spmap_cell_area_config const * yac_spmap_scale_config_get_src_cell_area_config (struct yac_spmap_scale_config const *scale_config)
 
struct yac_spmap_cell_area_config const * yac_spmap_scale_config_get_tgt_cell_area_config (struct yac_spmap_scale_config const *scale_config)
 
struct yac_spmap_cell_area_config * yac_spmap_cell_area_config_yac_new (double sphere_radius)
 
struct yac_spmap_cell_area_config * yac_spmap_cell_area_config_file_new (char const *filename, char const *varname, yac_int min_global_id)
 
void yac_spmap_cell_area_config_delete (struct yac_spmap_cell_area_config *cell_area_config)
 
enum yac_interp_spmap_cell_area_provider yac_spmap_cell_area_config_get_type (struct yac_spmap_cell_area_config const *cell_area_config)
 
double yac_spmap_cell_area_config_get_sphere_radius (struct yac_spmap_cell_area_config const *cell_area_config)
 
char const * yac_spmap_cell_area_config_get_filename (struct yac_spmap_cell_area_config const *cell_area_config)
 
char const * yac_spmap_cell_area_config_get_varname (struct yac_spmap_cell_area_config const *cell_area_config)
 
yac_int yac_spmap_cell_area_config_get_min_global_id (struct yac_spmap_cell_area_config const *cell_area_config)
 
struct yac_spmap_overwrite_config * yac_spmap_overwrite_config_new (struct yac_point_selection const *src_point_selection, struct yac_interp_spmap_config const *config)
 
void yac_spmap_overwrite_config_delete (struct yac_spmap_overwrite_config *overwrite_config)
 
void yac_spmap_overwrite_configs_delete (struct yac_spmap_overwrite_config **overwrite_configs)
 
struct yac_point_selection const * yac_spmap_overwrite_config_get_src_point_selection (struct yac_spmap_overwrite_config const *overwrite_config)
 
struct yac_interp_spmap_config const * yac_spmap_overwrite_config_get_spmap_config (struct yac_spmap_overwrite_config const *overwrite_config)
 
struct yac_interp_spmap_config * yac_interp_spmap_config_copy (struct yac_interp_spmap_config const *spmap_config)
 
struct yac_spmap_overwrite_config ** yac_spmap_overwrite_configs_copy (struct yac_spmap_overwrite_config const *const *overwrite_configs)
 
int yac_interp_spmap_config_compare (struct yac_interp_spmap_config const *a, struct yac_interp_spmap_config const *b)
 
int yac_spmap_overwrite_config_compare (struct yac_spmap_overwrite_config const *a, struct yac_spmap_overwrite_config const *b)
 
size_t yac_interp_spmap_config_get_pack_size (struct yac_interp_spmap_config const *spmap_config, MPI_Comm comm)
 
size_t yac_spmap_overwrite_configs_get_pack_size (struct yac_spmap_overwrite_config const *const *overwrite_configs, MPI_Comm comm)
 
void yac_interp_spmap_config_pack (struct yac_interp_spmap_config const *spmap_config, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
void yac_spmap_overwrite_configs_pack (struct yac_spmap_overwrite_config const *const *overwrite_configs, void *buffer, int buffer_size, int *position, MPI_Comm comm)
 
struct yac_interp_method_config * yac_interp_method_config_default_spmap_new (void)
 Creates a source-point-mapping interpolation method configuration with default parameters.
 

Macro Definition Documentation

◆ YAC_INTERP_SPMAP_CELL_AREA_CONFIG_DEFAULT

#define YAC_INTERP_SPMAP_CELL_AREA_CONFIG_DEFAULT   (NULL)

Definition at line 50 of file interp_method_spmap.h.

◆ YAC_INTERP_SPMAP_DEFAULT_CONFIG

#define YAC_INTERP_SPMAP_DEFAULT_CONFIG   (NULL)

Definition at line 52 of file interp_method_spmap.h.

◆ YAC_INTERP_SPMAP_FILENAME_DEFAULT

#define YAC_INTERP_SPMAP_FILENAME_DEFAULT   (NULL)

Definition at line 47 of file interp_method_spmap.h.

◆ YAC_INTERP_SPMAP_MAX_SEARCH_DISTANCE_DEFAULT

#define YAC_INTERP_SPMAP_MAX_SEARCH_DISTANCE_DEFAULT   (0.0)

Definition at line 43 of file interp_method_spmap.h.

◆ YAC_INTERP_SPMAP_MIN_GLOBAL_ID_DEFAULT

#define YAC_INTERP_SPMAP_MIN_GLOBAL_ID_DEFAULT   (0)

Definition at line 49 of file interp_method_spmap.h.

◆ YAC_INTERP_SPMAP_OVERWRITE_DEFAULT

#define YAC_INTERP_SPMAP_OVERWRITE_DEFAULT   (NULL)

Definition at line 53 of file interp_method_spmap.h.

◆ YAC_INTERP_SPMAP_SCALE_CONFIG_DEFAULT

#define YAC_INTERP_SPMAP_SCALE_CONFIG_DEFAULT   (NULL)

Definition at line 51 of file interp_method_spmap.h.

◆ YAC_INTERP_SPMAP_SCALE_TYPE_DEFAULT

#define YAC_INTERP_SPMAP_SCALE_TYPE_DEFAULT   (YAC_INTERP_SPMAP_NONE)

Definition at line 45 of file interp_method_spmap.h.

◆ YAC_INTERP_SPMAP_SPHERE_RADIUS_DEFAULT

#define YAC_INTERP_SPMAP_SPHERE_RADIUS_DEFAULT   (1.0)

Definition at line 46 of file interp_method_spmap.h.

◆ YAC_INTERP_SPMAP_SPREAD_DISTANCE_DEFAULT

#define YAC_INTERP_SPMAP_SPREAD_DISTANCE_DEFAULT   (0.0)

Definition at line 42 of file interp_method_spmap.h.

◆ YAC_INTERP_SPMAP_VARNAME_DEFAULT

#define YAC_INTERP_SPMAP_VARNAME_DEFAULT   (NULL)

Definition at line 48 of file interp_method_spmap.h.

◆ YAC_INTERP_SPMAP_WEIGHTED_DEFAULT

#define YAC_INTERP_SPMAP_WEIGHTED_DEFAULT   (YAC_INTERP_SPMAP_AVG)

Definition at line 44 of file interp_method_spmap.h.

Enumeration Type Documentation

◆ yac_interp_spmap_cell_area_provider

Enumerator
YAC_INTERP_SPMAP_CELL_AREA_FILE 
YAC_INTERP_SPMAP_CELL_AREA_YAC 

Definition at line 31 of file interp_method_spmap.h.

◆ yac_interp_spmap_scale_type

Enumerator
YAC_INTERP_SPMAP_NONE 

weights are not scaled

YAC_INTERP_SPMAP_SRCAREA 

weights are multiplied by the area of the associated source cell

YAC_INTERP_SPMAP_INVTGTAREA 

weights are muliplied by the inverse of the area of the associated target cell

YAC_INTERP_SPMAP_FRACAREA 

weights are multiplied by the area of the associated source cell and the inverse of the area of the associated target cell

Definition at line 18 of file interp_method_spmap.h.

◆ yac_interp_spmap_weight_type

Enumerator
YAC_INTERP_SPMAP_AVG 
YAC_INTERP_SPMAP_DIST 

Definition at line 13 of file interp_method_spmap.h.

Function Documentation

◆ yac_interp_method_config_default_spmap_new()

struct yac_interp_method_config * yac_interp_method_config_default_spmap_new ( void )

Creates a source-point-mapping interpolation method configuration with default parameters.

Returns
Pointer to the created yac_interp_method_config structure

Definition at line 2326 of file interp_method_spmap.c.

Here is the call graph for this function:

◆ yac_interp_method_spmap_new()

struct interp_method * yac_interp_method_spmap_new ( struct yac_interp_spmap_config const * default_config,
struct yac_spmap_overwrite_config const *const * overwrite_configs )

Constructor for an interpolation method of type interp_method_spmap
This method searches for each unmasked source point the closest unmasked target point.
If the maximum search distance is > 0.0, only target points that are within this distance from the source points are being considered. If spread_distance is > 0.0, the method uses the previously found target points as a starting point. Around each starting point, a bounding circle is generated. Afterwards for each starting point all target cells whose bounding circles intersect with the generated one are put into a list. Out of this list all target cells connected directly or indirectly through other cells from this list to the target cell of the starting are selected for the interpolation. Then a weighting method is applied to the selected target cells to generate the weights. Afterwards the weights are scaled.
The default configuration can be overwritten for selected source cells. An arbitrary number of alternative configuration along with selection criteria can be provided. These configurations will be processed one-by-one starting with the first entry in the array. Any source cell which has already been processed previously will be ignored by any further configuration. Once all alternative configurations are processed the default configuration is applied to the remaining source points.

Parameters
[in]default_configdefault configuration
[in]overwrite_configsalternative configurations along with source cell selection criteria
Remarks
* the unit for the spread and maximum search distance is Radian
  • if (overwrite_configs != NULL) the last entry in the array has to be NULL

Definition at line 1261 of file interp_method_spmap.c.

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

◆ yac_interp_spmap_config_compare()

int yac_interp_spmap_config_compare ( struct yac_interp_spmap_config const * a,
struct yac_interp_spmap_config const * b )

Definition at line 1710 of file interp_method_spmap.c.

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

◆ yac_interp_spmap_config_copy()

struct yac_interp_spmap_config * yac_interp_spmap_config_copy ( struct yac_interp_spmap_config const * spmap_config)

Definition at line 1215 of file interp_method_spmap.c.

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

◆ yac_interp_spmap_config_delete()

void yac_interp_spmap_config_delete ( struct yac_interp_spmap_config * spmap_config)

Destructor for a Source to Target mapping configuration object

Parameters
[in]spmap_configSource to Target mapping configuration object

Definition at line 1551 of file interp_method_spmap.c.

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

◆ yac_interp_spmap_config_get_max_search_distance()

double yac_interp_spmap_config_get_max_search_distance ( struct yac_interp_spmap_config const * spmap_config)

Returns maximum search distance distance of Source to Target mapping configuration object

Parameters
[in]spmap_configSource to Target mapping configuration object
Returns
maximum search distance

Definition at line 1569 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_interp_spmap_config_get_pack_size()

size_t yac_interp_spmap_config_get_pack_size ( struct yac_interp_spmap_config const * spmap_config,
MPI_Comm comm )

◆ yac_interp_spmap_config_get_scale_config()

struct yac_spmap_scale_config const * yac_interp_spmap_config_get_scale_config ( struct yac_interp_spmap_config const * spmap_config)

Returns scaling configuration of Source to Target mapping configuration object

Parameters
[in]spmap_configSource to Target mapping configuration object
Returns
scaling configuration

Definition at line 1585 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_interp_spmap_config_get_spread_distance()

double yac_interp_spmap_config_get_spread_distance ( struct yac_interp_spmap_config const * spmap_config)

Returns spread distance of Source to Target mapping configuration object

Parameters
[in]spmap_configSource to Target mapping configuration object
Returns
spread distance

Definition at line 1561 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_interp_spmap_config_get_weight_type()

enum yac_interp_spmap_weight_type yac_interp_spmap_config_get_weight_type ( struct yac_interp_spmap_config const * spmap_config)

Returns weight type of Source to Target mapping configuration object

Parameters
[in]spmap_configSource to Target mapping configuration object
Returns
spread distance

Definition at line 1577 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_interp_spmap_config_new()

struct yac_interp_spmap_config * yac_interp_spmap_config_new ( double spread_distance,
double max_search_distance,
enum yac_interp_spmap_weight_type weight_type,
struct yac_spmap_scale_config const * scale_config )

Constructs a Source to Target mapping configuration object

Parameters
[in]spread_distancespread distance
[in]max_search_distancemaximum search distance
[in]weight_typeweightening type
[in]scale_configscaling configuration
Returns
Source to Target mapping configuration object
Remarks
see Source to Target mapping for more information

Definition at line 1500 of file interp_method_spmap.c.

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

◆ yac_interp_spmap_config_pack()

void yac_interp_spmap_config_pack ( struct yac_interp_spmap_config const * spmap_config,
void * buffer,
int buffer_size,
int * position,
MPI_Comm comm )

◆ yac_spmap_cell_area_config_delete()

void yac_spmap_cell_area_config_delete ( struct yac_spmap_cell_area_config * cell_area_config)

Destructor for a Source to Target mapping cell area configuration object

Parameters
[in]cell_area_configSource to Target mapping cell area configuration object

Definition at line 1331 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_spmap_cell_area_config_file_new()

struct yac_spmap_cell_area_config * yac_spmap_cell_area_config_file_new ( char const * filename,
char const * varname,
yac_int min_global_id )

Constructs a Source to Target mapping cell area configuration object

This type enable reading of cell areas from a netCDF file.

Parameters
[in]filenamename of the file containing the cell areas
[in]varnamename of the variable containing the cell areas
[in]min_global_idminimum global cell id (usually "0" or "1")
Returns
Source to Target mapping cell area configuration object
Remarks
Cell area for cell with global id X is assumed to be at (using C indexing; starting at "0"): varname[X-min_global_id]

Definition at line 1294 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_spmap_cell_area_config_get_filename()

char const * yac_spmap_cell_area_config_get_filename ( struct yac_spmap_cell_area_config const * cell_area_config)

Gets the file name of a cell area configuration object

Parameters
[in]cell_area_configcell area configuration object
Returns
file name
Remarks
this call is only valid for cell area configuration objects of type YAC_INTERP_SPMAP_CELL_AREA_FILE

Definition at line 1374 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_spmap_cell_area_config_get_min_global_id()

yac_int yac_spmap_cell_area_config_get_min_global_id ( struct yac_spmap_cell_area_config const * cell_area_config)

Gets the minimum global id of a cell area configuration object

Parameters
[in]cell_area_configcell area configuration object
Returns
minimum global id
Remarks
this call is only valid for cell area configuration objects of type YAC_INTERP_SPMAP_CELL_AREA_FILE

Definition at line 1400 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_spmap_cell_area_config_get_sphere_radius()

double yac_spmap_cell_area_config_get_sphere_radius ( struct yac_spmap_cell_area_config const * cell_area_config)

Gets the sphere radius of a cell area configuration object

Parameters
[in]cell_area_configcell area configuration object
Returns
sphere radius
Remarks
this call is only valid for cell area configuration objects of type YAC_INTERP_SPMAP_CELL_AREA_YAC

Definition at line 1361 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_spmap_cell_area_config_get_type()

enum yac_interp_spmap_cell_area_provider yac_spmap_cell_area_config_get_type ( struct yac_spmap_cell_area_config const * cell_area_config)

Gets the type of a cell area configuration object

Parameters
[in]cell_area_configcell area configuration object
Returns
cell area configuration type

Definition at line 1353 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_spmap_cell_area_config_get_varname()

char const * yac_spmap_cell_area_config_get_varname ( struct yac_spmap_cell_area_config const * cell_area_config)

Gets the variable name of a cell area configuration object

Parameters
[in]cell_area_configcell area configuration object
Returns
variable name
Remarks
this call is only valid for cell area configuration objects of type YAC_INTERP_SPMAP_CELL_AREA_FILE

Definition at line 1387 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_spmap_cell_area_config_yac_new()

struct yac_spmap_cell_area_config * yac_spmap_cell_area_config_yac_new ( double sphere_radius)

Constructs a Source to Target mapping cell area configuration object

This type enable internal computation of cell areas.

Parameters
[in]sphere_radiussets sphere radius to be used for area computation
Returns
Source to Target mapping cell area configuration object

Definition at line 1278 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_spmap_overwrite_config_compare()

int yac_spmap_overwrite_config_compare ( struct yac_spmap_overwrite_config const * a,
struct yac_spmap_overwrite_config const * b )

Definition at line 1721 of file interp_method_spmap.c.

Here is the call graph for this function:

◆ yac_spmap_overwrite_config_delete()

void yac_spmap_overwrite_config_delete ( struct yac_spmap_overwrite_config * overwrite_config)

Destructor for an alternative Source to Target mapping configuration

Parameters
[in]overwrite_configAlternative Source to Target mapping configuration

Definition at line 1609 of file interp_method_spmap.c.

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

◆ yac_spmap_overwrite_config_get_spmap_config()

struct yac_interp_spmap_config const * yac_spmap_overwrite_config_get_spmap_config ( struct yac_spmap_overwrite_config const * overwrite_config)

Gets the configuration of an alternative Source to Target mapping configuration

Parameters
[in]overwrite_configAlternative Source to Target mapping configurations
Returns
configuration

Definition at line 1638 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_spmap_overwrite_config_get_src_point_selection()

struct yac_point_selection const * yac_spmap_overwrite_config_get_src_point_selection ( struct yac_spmap_overwrite_config const * overwrite_config)

Gets the source point selection method of an alternative Source to Target mapping configuration

Parameters
[in]overwrite_configAlternative Source to Target mapping configurations
Returns
source point selection method

Definition at line 1629 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_spmap_overwrite_config_new()

struct yac_spmap_overwrite_config * yac_spmap_overwrite_config_new ( struct yac_point_selection const * src_point_selection,
struct yac_interp_spmap_config const * config )

Constructs an alternative Source to Target mapping configuration

Parameters
[in]src_point_selectionSpecifies source points the alternative configuration is to be appied to
[in]configAlternative configuration to be used

Definition at line 1593 of file interp_method_spmap.c.

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

◆ yac_spmap_overwrite_configs_copy()

struct yac_spmap_overwrite_config ** yac_spmap_overwrite_configs_copy ( struct yac_spmap_overwrite_config const *const * overwrite_configs)

Definition at line 1242 of file interp_method_spmap.c.

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

◆ yac_spmap_overwrite_configs_delete()

void yac_spmap_overwrite_configs_delete ( struct yac_spmap_overwrite_config ** overwrite_configs)

Destructor for an array of alternative Source to Target mapping configurations

Parameters
[in]overwrite_configsArray of alternative Source to Target mapping configurations

Definition at line 1619 of file interp_method_spmap.c.

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

◆ yac_spmap_overwrite_configs_get_pack_size()

size_t yac_spmap_overwrite_configs_get_pack_size ( struct yac_spmap_overwrite_config const *const * overwrite_configs,
MPI_Comm comm )

◆ yac_spmap_overwrite_configs_pack()

void yac_spmap_overwrite_configs_pack ( struct yac_spmap_overwrite_config const *const * overwrite_configs,
void * buffer,
int buffer_size,
int * position,
MPI_Comm comm )

◆ yac_spmap_scale_config_delete()

void yac_spmap_scale_config_delete ( struct yac_spmap_scale_config * scale_config)

Destructor for a Source to Target mapping scaling configuration object

Parameters
[in]scale_configscaling configuration

Definition at line 1463 of file interp_method_spmap.c.

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

◆ yac_spmap_scale_config_get_src_cell_area_config()

struct yac_spmap_cell_area_config const * yac_spmap_scale_config_get_src_cell_area_config ( struct yac_spmap_scale_config const * scale_config)

Gets source cell area configuration of a Source to Target mapping scaling configuration object

Parameters
[in]scale_configscaling configuration
Returns
source cell area configuration

Definition at line 1483 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_spmap_scale_config_get_tgt_cell_area_config()

struct yac_spmap_cell_area_config const * yac_spmap_scale_config_get_tgt_cell_area_config ( struct yac_spmap_scale_config const * scale_config)

Gets target cell area configuration of a Source to Target mapping scaling configuration object

Parameters
[in]scale_configscaling configuration
Returns
target cell area configuration

Definition at line 1492 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_spmap_scale_config_get_type()

enum yac_interp_spmap_scale_type yac_spmap_scale_config_get_type ( struct yac_spmap_scale_config const * scale_config)

Gets type of a Source to Target mapping scaling configuration object

Parameters
[in]scale_configscaling configuration
Returns
scaling configuration type

Definition at line 1474 of file interp_method_spmap.c.

Here is the caller graph for this function:

◆ yac_spmap_scale_config_new()

struct yac_spmap_scale_config * yac_spmap_scale_config_new ( enum yac_interp_spmap_scale_type scale_type,
struct yac_spmap_cell_area_config const * source_cell_area_config,
struct yac_spmap_cell_area_config const * target_cell_area_config )

Constructs a Source to Target mapping scaling configuration object

Parameters
[in]scale_typescaling type
[in]source_cell_area_configsource cell area configuration
[in]target_cell_area_configtarget cell area configuration
Returns
Source to Target mapping scaling configuration object
Remarks
see Source to Target mapping for more information

Definition at line 1421 of file interp_method_spmap.c.

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