#include "cs_defs.h"#include <assert.h>#include <math.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "bft_mem.h"#include "cs_air_props.h"#include "cs_base.h"#include "cs_math.h"#include "cs_physical_constants.h"#include "cs_intprf.h"Functions | |
| cs_real_t | cs_intprf (int nprofz, int nproft, const cs_real_t profz[], const cs_real_t proft[], const cs_real_t profv[], cs_real_t xz, cs_real_t t) |
| Temporal and z-axis interpolation for meteorological profiles. | |
| void | cs_intprz (int nprofz, const cs_real_t profz[], const cs_real_t profv[], cs_real_t xz, int *z_lv, cs_real_t *var) |
| Z-axis interpolation for meteorological profiles. | |
Temporal and z-axis interpolation for meteorological profiles
| cs_real_t cs_intprf | ( | int | nprofz, |
| int | nproft, | ||
| const cs_real_t | profz[], | ||
| const cs_real_t | proft[], | ||
| const cs_real_t | profv[], | ||
| cs_real_t | xz, | ||
| cs_real_t | t ) |
Temporal and z-axis interpolation for meteorological profiles.
An optimized linear interpolation is used.
| [in] | nprofz | total number of measure points |
| [in] | nproft | total number of time values |
| [in] | profz | z coordinates of measure points |
| [in] | proft | physical times of dataset acquisition |
| [in] | profv | measured values |
| [in] | xz | interpolation elevation |
| [in] | t | interpolation time |
| void cs_intprz | ( | int | nprofz, |
| const cs_real_t | profz[], | ||
| const cs_real_t | profv[], | ||
| cs_real_t | xz, | ||
| int * | z_lv, | ||
| cs_real_t * | var ) |
Z-axis interpolation for meteorological profiles.
An optimized linear interpolation is used.
| [in] | nprofz | total number of measure points |
| [in] | profz | z coordinates of measure points |
| [in] | profv | measured values |
| [in] | xz | interpolation elevation |
| [out] | z_lv | index of lower and upel level (optional, size 2), or NULL |
| [out] | var | interpolated value |