1.6.0
CCC
 
Loading...
Searching...
No Matches
CorGneiting Class Reference

This class describes the Gneiting correlation function. More...

#include <CorGneiting.hpp>

Inheritance diagram for CorGneiting:
ACor ICloneable ASpaceObject AStringable

Detailed Description

This class describes the Gneiting correlation function.

Public Member Functions

 CorGneiting (const CovAniso *covS, const CovAniso *covTemp, double separability=1.0)
 
 CorGneiting (const CorGneiting &r)
 
CorGneitingoperator= (const CorGneiting &r)
 
virtual ~CorGneiting ()
 
bool isConsistent (const ASpace *space) const override
 Indicate if I am consistent with the provided space.
 
virtual double eval (const SpacePoint &p1, const SpacePoint &p2, int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const override
 ACov Interface.
 
virtual int getNVariables () const override
 ACor Interface.
 
void optimizationSetTargetByIndex (int iech) const
 
- Public Member Functions inherited from ACor
 ACor (const CovContext &ctxt)
 
 ACor (const ACor &r)
 
ACoroperator= (const ACor &r)
 
virtual ~ACor ()
 
void setContext (const CovContext &ctxt)
 
virtual double eval0 (int ivar=0, int jvar=0, const CovCalcMode *mode=nullptr) const
 Calculate the covariance between two variables for 0-distance (stationary case)
 
virtual void copyCovContext (const CovContext &ctxt)
 
virtual void updateFromContext ()
 
virtual int makeElemNoStat (const EConsElem &econs, int iv1, int iv2, const AFunctional *func=nullptr, const Db *db=nullptr, const String &namecol=String())
 
const CovContextgetContext () const
 
CovContext getContextCopy () const
 
virtual void initFromContext ()
 
virtual void optimizationPreProcess (const std::vector< SpacePoint > &p, std::vector< SpacePoint > &p1As) const
 
virtual double evalCovOnSphere (double alpha, int degree=50, bool flagScaleDistance=false, const CovCalcMode *mode=nullptr) const
 
bool _checkDims (int idim, int jdim) const
 
virtual VectorDouble evalSpectrumOnSphere (int n, bool flagNormDistance=false, bool flagCumul=false) const
 
void attachNoStatDb (const Db *db)
 
virtual double evalSpectrum (const VectorDouble &freq, int ivar, int jvar) const
 
bool checkAndManageNoStatDb (const Db *&db, const String &namecol)
 
virtual void updateCovByMesh (int imesh, bool aniso=true)
 
virtual double getValue (const EConsElem &econs, int iv1, int iv2) const
 
virtual void makeStationary ()
 
void createNoStatTab ()
 
void informMeshByMesh (const AMesh *amesh) const
 
void informMeshByApex (const AMesh *amesh) const
 
VectorDouble informCoords (const VectorVectorDouble &coords, const EConsElem &econs, int iv1=0, int iv2=0) const
 
void informDbIn (const Db *dbin) const
 
void informDbOut (const Db *dbout) const
 
virtual void updateCovByPoints (int icas1, int iech1, int icas2, int iech2)
 
void manage (const Db *db1, const Db *db2) const
 
int getDimensionNumber () const
 
- Public Member Functions inherited from ASpaceObject
 ASpaceObject (const ASpace *space=nullptr)
 
 ASpaceObject (const ASpace &space)
 
 ASpaceObject (const ASpaceObject &r)
 
ASpaceObjectoperator= (const ASpaceObject &r)
 
virtual ~ASpaceObject ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 AStringable interface.
 
const ASpacegetSpace () const
 Accessor to the current object space context.
 
bool isConsistent () const
 Indicate if I am consistent with my current space context.
 
VectorDouble getUnitaryVector () const
 Return unitary vector for the current space context.
 
unsigned int getNDim (int ispace=-1) const
 Shortcuts to ASpace methods.
 
const VectorDoublegetOrigin (int ispace=-1) const
 Return the current space context origin coordinates.
 
double getDistance (const SpacePoint &p1, const SpacePoint &p2, int ispace=0) const
 Return the distance between two space points for the current space context.
 
VectorDouble getDistances (const SpacePoint &p1, const SpacePoint &p2) const
 Return all the distances (space composits) between two space points for the current space context.
 
VectorDouble getIncrement (const SpacePoint &p1, const SpacePoint &p2, int ispace=0) const
 Return the increment vector between two space points for the current space context.
 
- 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
 

Constructor & Destructor Documentation

◆ CorGneiting() [1/2]

CorGneiting::CorGneiting ( const CovAniso covS,
const CovAniso covTemp,
double  separability = 1.0 
)

◆ CorGneiting() [2/2]

CorGneiting::CorGneiting ( const CorGneiting r)

◆ ~CorGneiting()

CorGneiting::~CorGneiting ( )
virtual

Member Function Documentation

◆ eval()

double CorGneiting::eval ( const SpacePoint p1,
const SpacePoint p2,
int  ivar = 0,
int  jvar = 0,
const CovCalcMode mode = nullptr 
) const
overridevirtual

ACov Interface.

Implements ACor.

◆ getNVariables()

virtual int CorGneiting::getNVariables ( ) const
inlineoverridevirtual

ACor Interface.

Reimplemented from ACor.

◆ isConsistent()

bool CorGneiting::isConsistent ( const ASpace space) const
inlineoverridevirtual

Indicate if I am consistent with the provided space.

Implements ASpaceObject.

◆ operator=()

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

◆ optimizationSetTargetByIndex()

void CorGneiting::optimizationSetTargetByIndex ( int  iech) const

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