#include "geoslib_old_f.h"#include "Db/DbHelper.hpp"#include "Db/Db.hpp"#include "Db/DbGrid.hpp"#include "Skin/Skin.hpp"#include "Basic/Law.hpp"#include "Basic/Memory.hpp"#include "Core/Keypair.hpp"Classes | |
| class | LocalSkin |
Macros | |
| #define | R(i, j) (R[(i) * n + (j)]) |
Functions | |
| static int | st_code_comparable (const Db *db1, const Db *db2, int iech, int jech, int opt_code, int tolcode) |
| static void | st_grid_fill_neigh (int ipos, int ndim, int radius, int *nech_loc, int *tabind, double *tabval) |
| static int | st_grid_fill_calculate (int ipos, int mode, int nech, int *tabind, const double *tabval) |
| static void | st_write_active_sample (Db *db, int iech, int nvar, int *iatt, double *tab) |
| static int | st_read_active_sample (Db *db, int flag_zero, int iech, int nvar, int *iatt, double eps, double *tab) |
| static int | st_find_interval (double x, int ndef, const double *X) |
| static void | st_grid1D_interpolate_linear (Db *dbgrid, int ivar, int ndef, const double *X, const double *Y) |
| static int | st_grid1D_interpolate_spline (Db *dbgrid, int ivar, int ndef, const double *X, const double *Y) |
Variables | |
| static DbGrid * | DB_GRID_FILL |
| #define R | ( | i, | |
| j | |||
| ) | (R[(i) * n + (j)]) |
|
static |
Check if a pair must be kept according to code criterion
| [in] | db1 | First Db structure |
| [in] | db2 | Second Db structure |
| [in] | iech | Rank of the first sample |
| [in] | jech | Rank of the second sample |
| [in] | opt_code | code selection option
|
| [in] | tolcode | Code tolerance |
|
static |
Find the interval (among vector X) to which the sample (x) belongs
| [in] | x | Target coordinate |
| [in] | ndef | Number of defined samples |
| [in] | X | Vector of coordinate of valued samples |
|
static |
Fill an incomplete 1-D grid by linear interpolation from a set of valued samples
| [in] | dbgrid | Db grid structure |
| [in] | ivar | Rank of the variable to be filled |
| [in] | ndef | Number of defined samples |
| [in] | X | Vector of coordinate of valued samples |
| [in] | Y | Vector of values of valued samples |
|
static |
Fill an incomplete 1-D grid by spline interpolation from a set of valued samples
| [in] | dbgrid | Db grid structure |
| [in] | ivar | Rank of the variable to be filled |
| [in] | ndef | Number of defined samples |
| [in] | X | Vector of coordinate of valued samples |
| [in] | Y | Vector of values of valued samples |
|
static |
Calculate the extrapolation
| [in] | ipos | Absolute grid index of the input grid node |
| [in] | mode | Type of interpolation
|
| [in] | nech | Number of samples in the neighborhood |
| [in] | tabind | Index of the neighboring sample |
| [in] | tabval | Value of the neighboring sample |
|
static |
Find the neighborhood of the current cell
| [in] | ipos | Absolute grid index of the input grid node |
| [in] | ndim | Space dimension |
| [in] | radius | Radius of the neighborhood |
| [out] | nech_loc | Number of samples in the neighborhood |
| [out] | tabind | Index of the neighboring sample |
| [out] | tabval | Value of the neighboring sample |
|
static |
Check if a sample must be kept or not
|
static |
|
static |