1.5.0
CCC
 
VMap Class Reference

Class containing the Variogram Map which uses an DbGrid provided by the user This function simply calculate and add the results as new field in this DbGrid. More...

#include <VMap.hpp>

Inheritance diagram for VMap:
AVario AStringable ICloneable

Detailed Description

Class containing the Variogram Map which uses an DbGrid provided by the user This function simply calculate and add the results as new field in this DbGrid.

Public Member Functions

 VMap (DbGrid *dbmap)
 
 VMap (const VMap &r)
 
VMapoperator= (const VMap &r)
 
virtual ~VMap ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 AStringable Interface. More...
 
double _getIVAR (const Db *db, int iech, int ivar) const override
 AVMap Interface. More...
 
void _setResult (int iech1, int iech2, int nvar, int ipas, int ivar, int jvar, int orient, double ww, double dist, double value) override
 
int compute (Db *db, const ECalcVario &calcul_type, int radius, bool flag_FFT=true, const NamingConvention &namconv=NamingConvention("VMAP"))
 
- Public Member Functions inherited from AVario
 AVario ()
 
 AVario (const AVario &r)
 
AVariooperator= (const AVario &r)
 
virtual ~AVario ()
 
const ECalcVario & getCalcul () const
 
void setCalcul (const ECalcVario &calcul)
 
void setCalculByName (const String &calcul_name)
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 
- Public Member Functions inherited from ICloneable
 ICloneable ()
 
virtual ~ICloneable ()
 
virtual ICloneableclone () const =0
 

Public Attributes

 DECLARE_TOTL
 ICloneable interface. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from AVario
static ECalcVario getCalculType (const String &calcul_name)
 

Constructor & Destructor Documentation

◆ VMap() [1/2]

VMap::VMap ( DbGrid dbmap)

◆ VMap() [2/2]

VMap::VMap ( const VMap r)

◆ ~VMap()

VMap::~VMap ( )
virtual

Member Function Documentation

◆ _getIVAR()

double VMap::_getIVAR ( const Db db,
int  iech,
int  ivar 
) const
overridevirtual

AVMap Interface.

Implements AVario.

◆ _setResult()

void VMap::_setResult ( int  iech1,
int  iech2,
int  nvar,
int  ipas,
int  ivar,
int  jvar,
int  orient,
double  ww,
double  dist,
double  value 
)
overridevirtual

Internal function for setting a VMAP value

Parameters
[in]iech1Rank of the first sample
[in]iech2Rank of the second sample
[in]nvarNumber of variables
[in]ipasRank of the variogram lag
[in]ivarIndex of the first variable
[in]jvarIndex of the second variable
[in]orientOrientation
[in]wwWeight
[in]distDistance
[in]valueVariogram value

Implements AVario.

◆ compute()

int VMap::compute ( Db db,
const ECalcVario &  calcul_type,
int  radius,
bool  flag_FFT = true,
const NamingConvention namconv = NamingConvention("VMAP") 
)

Calculate the variogram map

Returns
Error return code
Parameters
[in]dbDb containing the data
[in]calcul_typeType of calculation (ECalcVario)
[in]radiusDilation radius (mooth resulting maps) only on points
[in]flag_FFTUse FFT method (only valid on grid)
[in]namconvNaming convention

◆ operator=()

VMap & VMap::operator= ( const VMap r)

◆ toString()

String VMap::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

AStringable Interface.

Reimplemented from AStringable.

Member Data Documentation

◆ DECLARE_TOTL

VMap::DECLARE_TOTL

ICloneable interface.

Has a specific implementation in the Target language


The documentation for this class was generated from the following files: