1.5.1
CCC
 
VMap.cpp File Reference
#include "geoslib_old_f.h"
#include "geoslib_define.h"
#include "Variogram/VMap.hpp"
#include "Db/Db.hpp"
#include "Db/DbGrid.hpp"
#include "Model/Model.hpp"
#include "Variogram/VarioParam.hpp"
#include "Basic/Utilities.hpp"
#include "Basic/AStringable.hpp"
#include "Stats/Classical.hpp"
#include "Anamorphosis/AAnam.hpp"
#include "Anamorphosis/AnamHermite.hpp"
#include "Morpho/Morpho.hpp"
#include "Core/fftn.hpp"

Macros

#define ADD(ix, iy, iz, nx)   ((iz) + nx[2] * ((iy) + nx[1] * (ix)))
 
#define OPP(idim, i)   (dims[idim] - i - 1)
 

Functions

DbGriddb_vmap (Db *db, const ECalcVario &calcul_type, const VectorInt &nxx, const VectorDouble &dxx, int radius, bool flag_FFT, const NamingConvention &namconv)
 

Variables

static int IPTV
 
static int IPTW
 

Macro Definition Documentation

◆ ADD

#define ADD (   ix,
  iy,
  iz,
  nx 
)    ((iz) + nx[2] * ((iy) + nx[1] * (ix)))

◆ OPP

#define OPP (   idim,
 
)    (dims[idim] - i - 1)

Function Documentation

◆ db_vmap()

DbGrid* db_vmap ( Db db,
const ECalcVario &  calcul_type,
const VectorInt nxx,
const VectorDouble dxx,
int  radius,
bool  flag_FFT,
const NamingConvention namconv 
)

Calculate the variogram map (integrated function)

Returns
Error return code
Parameters
[in]dbDb containing the data
[in]calcul_typeType of calculation (ECalcVario)
[in]nxxVector of (Half-) number of nodes for Vmap (def:20)
[in]dxxVector of mesh for Vmap (see details)
[in]radiusDilation radius (mooth resulting maps) only on points
[in]flag_FFTUse FFT method (only valid on grid)
[in]namconvNaming convention
Remarks
For calculating the default values:
- for nx: it is set to 20 in all directions
- for dx:
. If 'Db' is a grid, the mesh of the grid is used
- Otherwise, the mesh is set to the field extension / nx

Variable Documentation

◆ IPTV

int IPTV
static

◆ IPTW

int IPTW
static