1.3.0
CCC
 
CalcSimuTurningBands.hpp File Reference
#include "gstlearn_export.hpp"
#include "Simulation/TurningBandDirection.hpp"
#include "Simulation/ACalcSimulation.hpp"
#include "Model/Model.hpp"
#include "Basic/VectorNumT.hpp"
#include "geoslib_define.h"

Classes

class  CalcSimuTurningBands
 

Functions

GSTLEARN_EXPORT int simtub (Db *dbin=nullptr, Db *dbout=nullptr, Model *model=nullptr, ANeigh *neigh=nullptr, int nbsimu=1, int seed=43431, int nbtuba=100, bool flag_dgm=false, bool flag_check=false, const NamingConvention &namconv=NamingConvention("Simu"))
 
GSTLEARN_EXPORT int simbayes (Db *dbin, Db *dbout, Model *model, ANeigh *neigh, int nbsimu=1, int seed=132141, const VectorDouble &dmean=VectorDouble(), const MatrixSquareSymmetric &dcov=MatrixSquareSymmetric(), int nbtuba=100, bool flag_check=false, const NamingConvention &namconv=NamingConvention("SimBayes"))
 

Function Documentation

GSTLEARN_EXPORT int simbayes ( Db dbin,
Db dbout,
Model model,
ANeigh neigh,
int  nbsimu,
int  seed,
const VectorDouble dmean,
const MatrixSquareSymmetric dcov,
int  nbtuba,
bool  flag_check,
const NamingConvention namconv 
)

Perform the conditional or non-conditional simulation with Bayesian Drift

Returns
Error return code
Parameters
[in]dbinInput Db structure (optional)
[in]dboutOutput Db structure
[in]modelModel structure
[in]neighANeigh structure (optional)
[in]nbsimuNumber of simulations
[in]seedSeed for random number generator
[in]dmeanArray giving the prior means for the drift terms
[in]dcovArray containing the prior covariance matrix for the drift terms
[in]nbtubaNumber of turning bands
[in]flag_check1 to check the proximity in Gaussian scale
[in]namconvNaming convention
Remarks
The arguments 'dbout' and 'neigh' are optional: they must
be defined only for conditional simulations
GSTLEARN_EXPORT int simtub ( Db dbin,
Db dbout,
Model model,
ANeigh neigh,
int  nbsimu,
int  seed,
int  nbtuba,
bool  flag_dgm,
bool  flag_check,
const NamingConvention namconv 
)

Perform the conditional or non-conditional simulation

Returns
Error return code
Parameters
[in]dbinInput Db structure (optional)
[in]dboutOutput Db structure
[in]modelModel structure
[in]neighANeigh structure (optional)
[in]nbsimuNumber of simulations
[in]seedSeed for random number generator
[in]nbtubaNumber of turning bands
[in]flag_dgm1 for Direct Block Simulation
[in]flag_check1 to check the proximity in Gaussian scale
[in]namconvNaming convention
Remarks
The arguments 'dbout' and 'neigh' are optional: they must
be defined only for conditional simulations