YetAnotherCoupler 3.4.0
|
#include "interp_method.h"
Go to the source code of this file.
Macros | |
#define | YAC_INTERP_CONSERV_ORDER_DEFAULT (1) |
#define | YAC_INTERP_CONSERV_ENFORCED_CONSERV_DEFAULT (0) |
#define | YAC_INTERP_CONSERV_PARTIAL_COVERAGE_DEFAULT (0) |
#define | YAC_INTERP_CONSERV_NORMALISATION_DEFAULT (0) |
Enumerations | |
enum | yac_interp_method_conserv_normalisation { YAC_INTERP_CONSERV_DESTAREA = 0 , YAC_INTERP_CONSERV_FRACAREA = 1 } |
Functions | |
struct interp_method * | yac_interp_method_conserv_new (int order, int enforced_conserv, int partial_coverage, enum yac_interp_method_conserv_normalisation normalisation) |
#define YAC_INTERP_CONSERV_ENFORCED_CONSERV_DEFAULT (0) |
Definition at line 30 of file interp_method_conserv.h.
#define YAC_INTERP_CONSERV_NORMALISATION_DEFAULT (0) |
Definition at line 32 of file interp_method_conserv.h.
#define YAC_INTERP_CONSERV_ORDER_DEFAULT (1) |
Definition at line 29 of file interp_method_conserv.h.
#define YAC_INTERP_CONSERV_PARTIAL_COVERAGE_DEFAULT (0) |
Definition at line 31 of file interp_method_conserv.h.
normalisation options for conservative interpolation
(see SCRIP user manual for a more detailed description of the options)
Definition at line 20 of file interp_method_conserv.h.
struct interp_method * yac_interp_method_conserv_new | ( | int | order, |
int | enforced_conserv, | ||
int | partial_coverage, | ||
enum yac_interp_method_conserv_normalisation | normalisation ) |
constructor for a interpolation method of type interp_method_conserv
[in] | order | 1st or 2nd order remapping |
[in] | enforced_conserv | enforce conservation by correcting truncation errors |
[in] | partial_coverage | if == 0, target cells that are not completely covered by non-masked source cells will not be interpolated (this is the default option) if != 0, for target cells that are only partially covered by non-mask source cells the interpolation value will be determined by the contributions of the respective source cells |
[in] | normalisation | specifies how to do the normalisation |
Definition at line 1223 of file interp_method_conserv.c.