1.1.0
CCC
 
DriftFactory Class Reference

#include <DriftFactory.hpp>

Static Public Member Functions

static ADriftcreateDriftByRank (int rank, int rank_fex)
 
static ADriftcreateDriftBySymbol (const String &symbol)
 
static ADriftcreateDriftByIdentifier (const String &driftname)
 
static DriftListcreateDriftListFromIRF (int order=0, int nfex=0, const CovContext &ctxt=CovContext())
 
static DriftListcreateDriftListForGradients (const DriftList *inputlist, const CovContext &ctxt=CovContext())
 

Member Function Documentation

ADrift * DriftFactory::createDriftByIdentifier ( const String driftname)
static
ADrift * DriftFactory::createDriftByRank ( int  rank,
int  rank_fex 
)
static

This Drift identification is used for interpreting old serialized files where the drift function was encoded by its rank.

Parameters
rankRank of the drift function (in a deprecated Enum)
rank_fexRank of the External Drift variable
Returns
ADrift * DriftFactory::createDriftBySymbol ( const String symbol)
static

Create a Drift Item defined by a symbol This function is left for compatibility with RGeostats code.

Parameters
symbolName of the symbol
Returns
DriftList * DriftFactory::createDriftListForGradients ( const DriftList olddrifts,
const CovContext ctxt = CovContext() 
)
static

Create the list of drift functions for a Cokriging system starting from a list of initial drift functions It is implemented for ndim=1 or 2

Parameters
olddriftslist of drift funcitons
ctxtCovContext structure
Returns
DriftList * DriftFactory::createDriftListFromIRF ( int  order = 0,
int  nfex = 0,
const CovContext ctxt = CovContext() 
)
static

Creating the list of Drift functions correspondaing to the following constraints:

  • Rank of the IRF
  • Number of external drift functions
    Parameters
    orderRank of the IRF
    nfexNumber of external drift functions
    ctxtCov_context
    Returns
    Remarks
    : this function is limited to order<=2 and ndim<= 3

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