1.8.0
CCC
 
Loading...
Searching...
No Matches
gstlrn::KrigingSystemSimpleCase Class Reference

#include <KrigingSystemSimpleCase.hpp>

Public Member Functions

 KrigingSystemSimpleCase (Db *dbin, Db *dbout, const ModelGeneric *model, ANeigh *neigh)
 
 KrigingSystemSimpleCase (const KrigingSystemSimpleCase &m)=delete
 
KrigingSystemSimpleCaseoperator= (const KrigingSystemSimpleCase &m)=delete
 
virtual ~KrigingSystemSimpleCase ()
 
Id setKrigOptCalcul (const EKrigOpt &calcul)
 
Id setKrigOptDataWeights (Id iptrWeights, bool flagSet=true)
 
Id setKrigOptFlagGlobal (bool flag_global)
 
Id setKrigOptFlagLTerm (bool flag_lterm)
 
Id updKrigOptEstim (Id iptrEst, Id iptrStd, Id iptrVarZ, bool forceNoDual=false)
 
bool isReady (1 &tabwork)
 
void updateLHS (KrigingAlgebraSimpleCase &algebra, ModelGeneric &model, 1 &tabwork)
 
Id estimate (Id iechout, SpacePoint &pin, SpacePoint &pout, 1 &tabwork, KrigingAlgebraSimpleCase &algebra, ModelGeneric &model, ANeigh *neigh=nullptr)
 
void conclusion ()
 
KrigingAlgebraSimpleCasegetAlgebra ()
 
Id getNDim () const
 
Id getNVar () const
 
 getSampleCoordinates (KrigingAlgebraSimpleCase &algebra, Id iechout) const
 
double getLTerm () const
 
ModelGenericgetModel () const
 

Static Public Member Functions

static MatrixDense getWeights (KrigingAlgebraSimpleCase &algebra)
 
static MatrixDense getMu (KrigingAlgebraSimpleCase &algebra)
 

Constructor & Destructor Documentation

◆ KrigingSystemSimpleCase() [1/2]

gstlrn::KrigingSystemSimpleCase::KrigingSystemSimpleCase ( Db dbin,
Db dbout,
const ModelGeneric model,
ANeigh neigh 
)

◆ KrigingSystemSimpleCase() [2/2]

gstlrn::KrigingSystemSimpleCase::KrigingSystemSimpleCase ( const KrigingSystemSimpleCase m)
delete

◆ ~KrigingSystemSimpleCase()

gstlrn::KrigingSystemSimpleCase::~KrigingSystemSimpleCase ( )
virtual

Member Function Documentation

◆ conclusion()

void gstlrn::KrigingSystemSimpleCase::conclusion ( )

This method closes the use of a KrigingSystemSimpleCase sequence

◆ estimate()

Id gstlrn::KrigingSystemSimpleCase::estimate ( Id  iechout,
SpacePoint pin,
SpacePoint pout,
1 &  tabwork,
KrigingAlgebraSimpleCase algebra,
ModelGeneric model,
ANeigh neigh = nullptr 
)

◆ getAlgebra()

KrigingAlgebraSimpleCase & gstlrn::KrigingSystemSimpleCase::getAlgebra ( )
inline

◆ getLTerm()

double gstlrn::KrigingSystemSimpleCase::getLTerm ( ) const
inline

◆ getModel()

ModelGeneric * gstlrn::KrigingSystemSimpleCase::getModel ( ) const
inline

◆ getMu()

MatrixDense gstlrn::KrigingSystemSimpleCase::getMu ( KrigingAlgebraSimpleCase algebra)
static

◆ getNDim()

Id gstlrn::KrigingSystemSimpleCase::getNDim ( ) const
inline

◆ getNVar()

Id gstlrn::KrigingSystemSimpleCase::getNVar ( ) const
inline

◆ getSampleCoordinates()

gstlrn::KrigingSystemSimpleCase::getSampleCoordinates ( KrigingAlgebraSimpleCase algebra,
Id  iechout 
) const

Returns the coordinates of the neighboring samples

Returns
Array organized by Coordinate (minor) then by Sample (major)

◆ getWeights()

MatrixDense gstlrn::KrigingSystemSimpleCase::getWeights ( KrigingAlgebraSimpleCase algebra)
static

◆ isReady()

bool gstlrn::KrigingSystemSimpleCase::isReady ( 1 &  tabwork)

Performs the last operations before launching the loop on Estimations

Returns

◆ operator=()

KrigingSystemSimpleCase & gstlrn::KrigingSystemSimpleCase::operator= ( const KrigingSystemSimpleCase m)
delete

◆ setKrigOptCalcul()

Id gstlrn::KrigingSystemSimpleCase::setKrigOptCalcul ( const EKrigOpt &  calcul)

◆ setKrigOptDataWeights()

Id gstlrn::KrigingSystemSimpleCase::setKrigOptDataWeights ( Id  iptrWeights,
bool  flagSet = true 
)

◆ setKrigOptFlagGlobal()

Id gstlrn::KrigingSystemSimpleCase::setKrigOptFlagGlobal ( bool  flag_global)

◆ setKrigOptFlagLTerm()

Id gstlrn::KrigingSystemSimpleCase::setKrigOptFlagLTerm ( bool  flag_lterm)

Ask for the specific calculation of Z * A-1 * Z

Parameters
flag_ltermFlag for asking this specific calculation
Returns
Remarks
The calculated value can be retrieved using _getLTerm() method

◆ updateLHS()

void gstlrn::KrigingSystemSimpleCase::updateLHS ( KrigingAlgebraSimpleCase algebra,
ModelGeneric model,
1 &  tabwork 
)

◆ updKrigOptEstim()

Id gstlrn::KrigingSystemSimpleCase::updKrigOptEstim ( Id  iptrEst,
Id  iptrStd,
Id  iptrVarZ,
bool  forceNoDual = false 
)

Set the calculation options

Parameters
iptrEstUID for storing the estimation(s)
iptrStdUID for storing the Standard deviations(s)
iptrVarZUID for storing the Variance(s) of estimator
forceNoDualForce that the algebra is not using the Dual option
Returns
Error returned code
Remarks
If a term must not be calculated, its UID must be negative

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