1.5.1
CCC
 
SimuBoolean.hpp File Reference
#include "gstlearn_export.hpp"
#include "geoslib_define.h"
#include "Simulation/ACalcSimulation.hpp"
#include "Simulation/SimuBooleanParam.hpp"
#include "Boolean/ModelBoolean.hpp"
#include "Basic/AStringable.hpp"

Classes

class  SimuBoolean
 

Functions

GSTLEARN_EXPORT int simbool (Db *dbin, DbGrid *dbout, ModelBoolean *tokens, const SimuBooleanParam &boolparam=SimuBooleanParam(), int seed=432431, bool flag_simu=true, bool flag_rank=true, bool verbose=false, const NamingConvention &namconv=NamingConvention("Boolean"))
 

Function Documentation

◆ simbool()

GSTLEARN_EXPORT int simbool ( Db dbin,
DbGrid dbout,
ModelBoolean tokens,
const SimuBooleanParam boolparam,
int  seed,
bool  flag_simu,
bool  flag_rank,
bool  verbose,
const NamingConvention namconv 
)

Performs the boolean simulation

Returns
Error return code
Parameters
[in]dbinDb structure containing the data (optional)
[in]dboutDbGrid structure containing the simulated grid
[in]tokensTokens structure
[in]boolparamSimuBooleanParam structure
[in]seedSeed for the random number generator
[in]flag_simuStore the boolean simulation
[in]flag_rankStore the object rank
[in]verbose1 for a verbose output
[in]namconvNaming convention