1.5.1
CCC
 
CalcSimuPostPropByLayer.cpp File Reference

Functions

int simuPostPropByLayer (Db *dbin, DbGrid *dbout, const VectorString &names, bool flag_match, bool flag_topToBase, const EPostUpscale &upscale, const std::vector< EPostStat > &stats, bool verbose, const VectorInt &check_targets, int check_level, const NamingConvention &namconv)
 

Function Documentation

◆ simuPostPropByLayer()

int simuPostPropByLayer ( Db dbin,
DbGrid dbout,
const VectorString names,
bool  flag_match,
bool  flag_topToBase,
const EPostUpscale &  upscale,
const std::vector< EPostStat > &  stats,
bool  verbose,
const VectorInt check_targets,
int  check_level,
const NamingConvention namconv 
)

This is a particular use of Simulation Post-Processing functions. Its specificity comes from its transformation function.

It is assumed that each input variable corresponds to the thickness of ordered layers. This function receives a vector of multivariate information (for each combination of simulation outcome and for each sample of the input 'db').

If N designates the number of elements of the input vector, the transformation returns a vector of N+1 elements. This vector corresponds to the percentage of each layer within the target block

Remarks
: Coding Rule
: - code = 0 -Inf < z <= H1
: - code = 1 H1 < z <= H1 + H2
: - code = 2 H1 + H2 < z <= H1 + H2 + H3
: - code = 3 H1 + H2 + ... < z <= + Inf

For a detailed list of arguments, see simuPost