1.2.0
CCC
 
NoStatFunctional Class Reference

#include <NoStatFunctional.hpp>

Inheritance diagram for NoStatFunctional:
ANoStat AStringable ICloneable

Public Member Functions

 NoStatFunctional (const VectorString &code={"A"})
 
 NoStatFunctional (const AFunctional *func, const VectorString &code={"A"})
 
 NoStatFunctional (const NoStatFunctional &m)
 
NoStatFunctionaloperator= (const NoStatFunctional &m)
 
virtual ~NoStatFunctional ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 ICloneable interface. More...
 
int attachToMesh (const AMesh *mesh, bool verbose=false) const override
 
int attachToDb (Db *db, int icas, bool verbose=false) const override
 
double getValue (const EConsElem &type, int icas, int rank, int icov=0, int iv1=-1, int iv2=-1, int igrf=-1) const override
 
double getValueByParam (int ipar, int icas, int rank) const override
 
- Public Member Functions inherited from ANoStat
 ANoStat ()
 
 ANoStat (const VectorString &codes)
 
 ANoStat (const ANoStat &m)
 
ANoStatoperator= (const ANoStat &m)
 
virtual ~ANoStat ()
 
bool isNotEmpty () const
 
bool isDefinedByCov (int icov=-1, int igrf=-1) const
 
bool isDefinedByType (const EConsElem &type, int igrf=-1) const
 
bool isDefinedByCovType (const EConsElem &type, int icov=-1, int igrf=-1) const
 
bool isDefined (const EConsElem &type, int icov=0, int iv1=-1, int iv2=-1, int igrf=-1) const
 
bool isDefinedforAnisotropy (int icov=-1, int igrf=-1) const
 
bool isDefinedforRotation (int icov=-1, int igrf=-1) const
 
virtual void detachFromMesh () const
 
virtual void detachFromDb (Db *db, int icas) const
 
int manageInfo (int mode, Db *dbin, Db *dbout)
 
int addNoStatElem (int igrf, int icov, const EConsElem &type, int iv1, int iv2)
 
int addNoStatElemByItem (const CovParamId &item)
 
int addNoStatElems (const VectorString &codes)
 
void deleteNoStatElem (int ipar)
 
void deleteAllNoStatElem ()
 
int getRank (const EConsElem &type, int icov, int iv1=-1, int iv2=-1, int igrf=-1) const
 
int getIGrf (int ipar) const
 
int getICov (int ipar) const
 
const EConsElem & getType (int ipar) const
 
int getIV1 (int ipar) const
 
int getIV2 (int ipar) const
 
int getNoStatElemNumber () const
 
const std::vector< CovParamId > & getNoStats () const
 
const CovParamId getNoStat (int ipar) const
 
int attachModel (const Model *model)
 
bool matchIGrf (int ipar, int igrf0) const
 
bool matchICov (int ipar, int icov0) const
 
bool matchType (int ipar, const EConsElem &type0) const
 
bool matchIV1 (int ipar, int iv10) const
 
bool matchIV2 (int ipar, int iv20) const
 
const std::vector< CovParamId > & getAllItems () const
 
const CovParamId getItems (int ipar) const
 
bool getInfoFromDb (int ipar, int icas1, int iech1, int icas2, int iech2, double *val1, double *val2) const
 
- 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
 

Detailed Description

This class concerns the non-stationarity defined as a function (hence its name). It can be considered as an example of a 2-D implementation of a spiral with a single non-stationary parameter (Example: the angle)

Constructor & Destructor Documentation

NoStatFunctional::NoStatFunctional ( const VectorString code = {"A"})
NoStatFunctional::NoStatFunctional ( const AFunctional func,
const VectorString code = {"A"} 
)
NoStatFunctional::NoStatFunctional ( const NoStatFunctional m)
NoStatFunctional::~NoStatFunctional ( )
virtual

Member Function Documentation

int NoStatFunctional::attachToDb ( Db db,
int  icas,
bool  verbose = false 
) const
overridevirtual

Reimplemented from ANoStat.

int NoStatFunctional::attachToMesh ( const AMesh mesh,
bool  verbose = false 
) const
overridevirtual

Reimplemented from ANoStat.

double NoStatFunctional::getValue ( const EConsElem &  type,
int  icas,
int  rank,
int  icov = 0,
int  iv1 = -1,
int  iv2 = -1,
int  igrf = -1 
) const
overridevirtual

Returns the value of a non-stationary parameter at a target sample

Parameters
typeType of non-stationary element (EConsElem)
icasAdditional identifier (0 for Meshing; 1 for Dbin; 2 for Dbout)
rankRank of the target (in Meshing (0); in Dbin (1) or in Dbout (2)
icovRank of the Covariance
iv1Rank of the first variable (optional)
iv2Rank of the second variable (optional)
igrfRank of the GRF
Returns

Implements ANoStat.

double NoStatFunctional::getValueByParam ( int  ipar,
int  icas,
int  rank 
) const
overridevirtual

Return the value of the non-stationary parameter (ipar) at target (rank)

Parameters
iparRank of the non-stationary parameter
icasAdditional identifier
rankRank of the target
Returns

Implements ANoStat.

NoStatFunctional & NoStatFunctional::operator= ( const NoStatFunctional m)
String NoStatFunctional::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

ICloneable interface.

AStringable Interface

Reimplemented from ANoStat.


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