![]() |
YAC 3.7.0
Yet Another Coupler
|
#include "interp_method.h"
Go to the source code of this file.
Macros | |
#define | YAC_WEIGHT_FILE_VERSION_STRING "yac weight file 1.0" |
#define | YAC_INTERP_FILE_WEIGHT_FILE_NAME_DEFAULT (NULL) |
#define | YAC_INTERP_FILE_ON_MISSING_FILE_DEFAULT (YAC_INTERP_FILE_MISSING_ERROR) |
#define | YAC_INTERP_FILE_ON_SUCCESS_DEFAULT (YAC_INTERP_FILE_SUCCESS_CONT) |
Enumerations | |
enum | yac_interp_file_on_missing_file { YAC_INTERP_FILE_MISSING_ERROR = 0 , YAC_INTERP_FILE_MISSING_CONT = 1 } |
enum | yac_interp_file_on_success { YAC_INTERP_FILE_SUCCESS_STOP = 0 , YAC_INTERP_FILE_SUCCESS_CONT = 1 } |
Functions | |
struct interp_method * | yac_interp_method_file_new (char const *weight_file_name, enum yac_interp_file_on_missing_file on_missing_file, enum yac_interp_file_on_success on_success) |
#define YAC_INTERP_FILE_ON_MISSING_FILE_DEFAULT (YAC_INTERP_FILE_MISSING_ERROR) |
Definition at line 31 of file interp_method_file.h.
#define YAC_INTERP_FILE_ON_SUCCESS_DEFAULT (YAC_INTERP_FILE_SUCCESS_CONT) |
Definition at line 32 of file interp_method_file.h.
#define YAC_INTERP_FILE_WEIGHT_FILE_NAME_DEFAULT (NULL) |
Definition at line 30 of file interp_method_file.h.
#define YAC_WEIGHT_FILE_VERSION_STRING "yac weight file 1.0" |
Definition at line 28 of file interp_method_file.h.
Enumerator | |
---|---|
YAC_INTERP_FILE_MISSING_ERROR | abort on missing file |
YAC_INTERP_FILE_MISSING_CONT | continue on missing file |
Definition at line 16 of file interp_method_file.h.
Definition at line 21 of file interp_method_file.h.
struct interp_method * yac_interp_method_file_new | ( | char const * | weight_file_name, |
enum yac_interp_file_on_missing_file | on_missing_file, | ||
enum yac_interp_file_on_success | on_success ) |
Construtor for an interpolation method that reads in a weight file
[in] | weight_file_name | name of the weight file |
[in] | on_missing_file | specifies how YAC should behave if no file was found |
[in] | on_success | specifies how YAC should behave in case a weight file was successfully read |
Definition at line 1583 of file interp_method_file.c.