gstlearn  1.0.0
CCC
CalcGlobal Class Reference

#include <CalcGlobal.hpp>

Inheritance diagram for CalcGlobal:
ACalcInterpolator ACalcDbToDb ACalculator

Public Member Functions

 CalcGlobal (int ivar0=0, bool verbose=false)
 
 CalcGlobal (const CalcGlobal &r)=delete
 
CalcGlobaloperator= (const CalcGlobal &r)=delete
 
virtual ~CalcGlobal ()
 
void setFlagArithmetic (bool flagArithmetic)
 
void setFlagKriging (bool flagKriging)
 
const Global_Result getGRes () const
 
- Public Member Functions inherited from ACalcInterpolator
 ACalcInterpolator ()
 
 ACalcInterpolator (const ACalcInterpolator &r)=delete
 
ACalcInterpolatoroperator= (const ACalcInterpolator &r)=delete
 
virtual ~ACalcInterpolator ()
 
void setModel (Model *model)
 
void setNeigh (ANeigh *neigh)
 
ModelgetModel () const
 
ANeighgetNeigh () const
 
bool hasModel (bool verbose=true) const
 
bool hasNeigh (bool verbose=true) const
 
- Public Member Functions inherited from ACalcDbToDb
 ACalcDbToDb (bool mustShareSameSpaceDimension=true)
 
 ACalcDbToDb (const ACalcDbToDb &r)=delete
 
ACalcDbToDboperator= (const ACalcDbToDb &r)=delete
 
virtual ~ACalcDbToDb ()
 
void setDbin (Db *dbin)
 
void setDbout (Db *dbout)
 
void setNamingConvention (const NamingConvention &namconv)
 
void setMustShareSpaceDimension (bool mustShareSpaceDimension)
 
DbgetDbin () const
 
DbgetDbout () const
 
DbGridgetGridin () const
 
DbGridgetGridout () const
 
bool hasDbin (bool verbose=true) const
 
bool hasDbout (bool verbose=true) const
 
bool isGridIn (bool verbose=true) const
 
bool isGridOut (bool verbose=true) const
 
- Public Member Functions inherited from ACalculator
 ACalculator ()
 
 ACalculator (const ACalculator &r)=delete
 
ACalculatoroperator= (const ACalculator &r)=delete
 
virtual ~ACalculator ()
 
bool run ()
 

Private Member Functions

virtual bool _check () override
 
virtual bool _preprocess () override
 
virtual bool _run () override
 
virtual bool _postprocess () override
 
virtual void _rollback () override
 
int _globalKriging ()
 
int _globalArithmetic ()
 

Private Attributes

bool _flagArithmetic
 
bool _flagKriging
 
int _ivar0
 
bool _verbose
 
Global_Result _gRes
 

Additional Inherited Members

- Protected Member Functions inherited from ACalcInterpolator
virtual int _getNDim () const override
 
virtual int _getNVar () const override
 
virtual int _getNCova () const
 
int _centerDataToGrid (DbGrid *dbgrid)
 
- Protected Member Functions inherited from ACalcDbToDb
int _addVariableDb (int whichDb, int status, const ELoc &locatorType, int locatorIndex=0, int number=1, double valinit=0.)
 
void _renameVariable (int whichDb, const VectorString &names, const ELoc &locatorType, int nvar, int iptr, const String &name, int count, bool flagSetLocator=true, int shift=0)
 
void _storeInVariableList (int whichDb, int status, const VectorInt &iuids)
 
int _expandInformation (int mode, const ELoc &locatorType)
 
void _cleanVariableDb (int status)
 
Db_whichDb (int whichDb)
 
String _identifyVariable (int iuid) const
 

Constructor & Destructor Documentation

◆ CalcGlobal() [1/2]

CalcGlobal::CalcGlobal ( int  ivar0 = 0,
bool  verbose = false 
)

◆ CalcGlobal() [2/2]

CalcGlobal::CalcGlobal ( const CalcGlobal r)
delete

◆ ~CalcGlobal()

CalcGlobal::~CalcGlobal ( )
virtual

Member Function Documentation

◆ _check()

bool CalcGlobal::_check ( )
overrideprivatevirtual

Reimplemented from ACalcInterpolator.

◆ _globalArithmetic()

int CalcGlobal::_globalArithmetic ( )
private

◆ _globalKriging()

int CalcGlobal::_globalKriging ( )
private

◆ _postprocess()

bool CalcGlobal::_postprocess ( )
overrideprivatevirtual

Reimplemented from ACalculator.

◆ _preprocess()

bool CalcGlobal::_preprocess ( )
overrideprivatevirtual

Reimplemented from ACalcInterpolator.

◆ _rollback()

void CalcGlobal::_rollback ( )
overrideprivatevirtual

Reimplemented from ACalculator.

◆ _run()

bool CalcGlobal::_run ( )
overrideprivatevirtual

Standard Kriging

Returns
Error return code

Implements ACalculator.

◆ getGRes()

const Global_Result CalcGlobal::getGRes ( ) const
inline

◆ operator=()

CalcGlobal& CalcGlobal::operator= ( const CalcGlobal r)
delete

◆ setFlagArithmetic()

void CalcGlobal::setFlagArithmetic ( bool  flagArithmetic)
inline

◆ setFlagKriging()

void CalcGlobal::setFlagKriging ( bool  flagKriging)
inline

Member Data Documentation

◆ _flagArithmetic

bool CalcGlobal::_flagArithmetic
private

◆ _flagKriging

bool CalcGlobal::_flagKriging
private

◆ _gRes

Global_Result CalcGlobal::_gRes
private

◆ _ivar0

int CalcGlobal::_ivar0
private

◆ _verbose

bool CalcGlobal::_verbose
private

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