Class for performing Boolean simulation. More...
#include <SimuBoolean.hpp>
Class for performing Boolean simulation.
A Boolean simulation results in drawing random object into a Field conditionally to existing samples or not These objects are called tokens and are generated according to:
The samples (used for conditional simulations) are defined in input Db (as Z Locator variable) and are set to 0 (pore) or 1 (grain) If the proportion is variable, it uses Proportion locator in output DbGrid
Public Member Functions | |
| SimuBoolean (Id nbsimu=0, Id seed=4324324) | |
| SimuBoolean (const SimuBoolean &r)=delete | |
| SimuBoolean & | operator= (const SimuBoolean &r)=delete |
| virtual | ~SimuBoolean () |
| String | toString (const AStringFormat *strfmt=nullptr) const override |
| Interface to AStringable. | |
| Id | simulate (Db *dbin, DbGrid *dbout, ModelBoolean *tokens, const SimuBooleanParam &boolparam, Id iptr_simu, Id iptr_rank, Id iptr_cover, bool verbose=false) |
| extractObjects () const | |
Public Member Functions inherited from gstlrn::ACalcSimulation | |
| ACalcSimulation (Id nbsimu, Id seed=4324324) | |
| ACalcSimulation (const ACalcSimulation &r)=delete | |
| ACalcSimulation & | operator= (const ACalcSimulation &r)=delete |
| virtual | ~ACalcSimulation () |
| Id | getSeed () const |
| Id | getNbSimu () const |
| void | setSeed (Id seed) |
| void | setNbSimu (Id nbsimu) |
Public Member Functions inherited from gstlrn::ACalcInterpolator | |
| ACalcInterpolator () | |
| ACalcInterpolator (const ACalcInterpolator &r)=delete | |
| ACalcInterpolator & | operator= (const ACalcInterpolator &r)=delete |
| virtual | ~ACalcInterpolator () |
| void | setModel (ModelGeneric *model) |
| void | setNeigh (ANeigh *neigh) |
| void | setKrigopt (const KrigOpt &krigopt) |
| ModelGeneric * | getModel () const |
| ANeigh * | getNeigh () const |
| const KrigOpt & | getKrigopt () const |
| bool | hasModel (bool verbose=true) const |
| bool | hasNeigh (bool verbose=true) const |
Public Member Functions inherited from gstlrn::ACalcDbToDb | |
| ACalcDbToDb (bool mustShareSameSpaceDimension=true) | |
| ACalcDbToDb (const ACalcDbToDb &r)=delete | |
| ACalcDbToDb & | operator= (const ACalcDbToDb &r)=delete |
| virtual | ~ACalcDbToDb () |
| void | setDbin (Db *dbin) |
| void | setDbout (Db *dbout) |
| void | setNamingConvention (const NamingConvention &namconv) |
| void | setMustShareSpaceDimension (bool mustShareSpaceDimension) |
| Db * | getDbin () const |
| Db * | getDbout () const |
| DbGrid * | getGridin () const |
| DbGrid * | getGridout () const |
| const NamingConvention & | getNamingConvention () const |
| bool | hasDbin (bool verbose=true) const |
| bool | hasDbout (bool verbose=true) const |
| bool | isGridIn (bool verbose=true) const |
| bool | isGridOut (bool verbose=true) const |
Public Member Functions inherited from gstlrn::ACalculator | |
| ACalculator () | |
| ACalculator (const ACalculator &r)=delete | |
| ACalculator & | operator= (const ACalculator &r)=delete |
| virtual | ~ACalculator () |
| bool | run () |
Public Member Functions inherited from gstlrn::AStringable | |
| AStringable () | |
| AStringable (const AStringable &r) | |
| AStringable & | operator= (const AStringable &r) |
| virtual | ~AStringable () |
| virtual void | display (const AStringFormat *strfmt=nullptr) const final |
| virtual void | display (Id level) const final |
|
delete |
|
virtual |
| gstlrn::SimuBoolean::extractObjects | ( | ) | const |
|
delete |
| Id gstlrn::SimuBoolean::simulate | ( | Db * | dbin, |
| DbGrid * | dbout, | ||
| ModelBoolean * | tokens, | ||
| const SimuBooleanParam & | boolparam, | ||
| Id | iptr_simu, | ||
| Id | iptr_rank, | ||
| Id | iptr_cover, | ||
| bool | verbose = false |
||
| ) |
|
overridevirtual |
Interface to AStringable.
Reimplemented from gstlrn::AStringable.