1.2.2
CCC
 
CalcSimuTurningBands.cpp File Reference
#include "geoslib_old_f.h"
#include "geoslib_f_private.h"
#include "Simulation/ACalcSimulation.hpp"
#include "Simulation/TurningDirection.hpp"
#include "Simulation/CalcSimuTurningBands.hpp"
#include "Model/Model.hpp"
#include "Anamorphosis/AAnam.hpp"
#include "Anamorphosis/AnamHermite.hpp"
#include "Covariances/CovAniso.hpp"
#include "Geometry/GeometryHelper.hpp"
#include "Matrix/AMatrix.hpp"
#include "Basic/Law.hpp"
#include "Basic/MathFunc.hpp"
#include "Basic/OptDbg.hpp"
#include "Db/Db.hpp"
#include "Db/DbGrid.hpp"
#include <math.h>

Functions

bool isCovValidForTurningBands (const ECov &type)
 TODO : To be moved in ACovFunc. More...
 
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)
 
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)
 

Function Documentation

bool isCovValidForTurningBands ( const ECov &  type)

TODO : To be moved in ACovFunc.

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
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