#include <SimuBoolean.hpp>
|
virtual bool | _run () override |
|
void | _clearAllObjects () |
|
int | _getNObjects (int mode=0) const |
|
int | _getRankUncovered (const Db *db, int rank) |
|
int | _getObjectRank (int mode, int rank) |
|
int | _deleteObject (int mode, Db *dbin) |
|
int | _getAverageCount (const DbGrid *dbout, const ModelBoolean *tokens, const SimuBooleanParam &boolparam) const |
|
int | _countConditioningPore (const Db *db) |
|
int | _countConditioningGrain (const Db *db) |
|
int | _generatePrimary (Db *dbin, DbGrid *dbout, const ModelBoolean *tokens, const SimuBooleanParam &boolparam, bool verbose=false) |
|
int | _generateSecondary (Db *dbin, DbGrid *dbout, const ModelBoolean *tokens, const SimuBooleanParam &boolparam, bool verbose=false) |
|
void | _projectToGrid (DbGrid *dbout, const SimuBooleanParam &boolparam, int iptr_simu, int iptr_rank) |
|
|
virtual bool | _check () override |
|
virtual bool | _preprocess () override |
|
virtual int | _getNDim () const override |
|
virtual int | _getNVar () const override |
|
virtual int | _getNCova () const |
|
int | _centerDataToGrid (DbGrid *dbgrid) |
|
int | _addVariableDb (int whichDb, int status, const ELoc &locatorType, int locatorIndex=0, int number=1, double valinit=0.) |
|
void | _renameVariable (int whichDb, const VectorString &names, const ELoc &locatorType, int nvar, int iptr, const String &name, int count, bool flagSetLocator=true, int shift=0) |
|
void | _storeInVariableList (int whichDb, int status, const VectorInt &iuids) |
|
int | _expandInformation (int mode, const ELoc &locatorType) |
|
void | _cleanVariableDb (int status) |
|
Db * | _whichDb (int whichDb) |
|
String | _identifyVariable (int iuid) const |
|
virtual bool | _postprocess () |
|
virtual void | _rollback () |
|
◆ SimuBoolean() [1/2]
SimuBoolean::SimuBoolean |
( |
int |
nbsimu = 0 , |
|
|
int |
seed = 4324324 |
|
) |
| |
◆ SimuBoolean() [2/2]
◆ ~SimuBoolean()
SimuBoolean::~SimuBoolean |
( |
| ) |
|
|
virtual |
◆ _clearAllObjects()
void SimuBoolean::_clearAllObjects |
( |
| ) |
|
|
private |
◆ _countConditioningGrain()
int SimuBoolean::_countConditioningGrain |
( |
const Db * |
db | ) |
|
|
private |
◆ _countConditioningPore()
int SimuBoolean::_countConditioningPore |
( |
const Db * |
db | ) |
|
|
private |
◆ _deleteObject()
int SimuBoolean::_deleteObject |
( |
int |
mode, |
|
|
Db * |
dbin |
|
) |
| |
|
private |
Attempts to delete an object (primary or secondary)
- Returns
- Error return code: 1 if the object cannot be deleted; 0 otherwise
- Parameters
-
[in] | mode | 0 for primary tokens; 1 for secondary tokens |
[in] | dbin | Db structure |
◆ _generatePrimary()
◆ _generateSecondary()
◆ _getAverageCount()
◆ _getNObjects()
int SimuBoolean::_getNObjects |
( |
int |
mode = 0 | ) |
const |
|
private |
◆ _getObjectRank()
int SimuBoolean::_getObjectRank |
( |
int |
mode, |
|
|
int |
rank |
|
) |
| |
|
private |
◆ _getRankUncovered()
int SimuBoolean::_getRankUncovered |
( |
const Db * |
db, |
|
|
int |
rank |
|
) |
| |
|
private |
◆ _projectToGrid()
void SimuBoolean::_projectToGrid |
( |
DbGrid * |
dbout, |
|
|
const SimuBooleanParam & |
boolparam, |
|
|
int |
iptr_simu, |
|
|
int |
iptr_rank |
|
) |
| |
|
private |
Project the objects on the output grid
- Parameters
-
[in] | dbout | Ouput grid file |
[in] | boolparam | SimuBooleanParam structure |
[in] | iptr_simu | Pointer for storing the Boolean simulation (or <0) |
[in] | iptr_rank | Pointer for storing the object ranks (or <0) |
◆ _run()
bool SimuBoolean::_run |
( |
| ) |
|
|
overrideprivatevirtual |
◆ extractObjects()
◆ operator=()
◆ simulate()
int SimuBoolean::simulate |
( |
Db * |
dbin, |
|
|
DbGrid * |
dbout, |
|
|
ModelBoolean * |
tokens, |
|
|
const SimuBooleanParam & |
boolparam, |
|
|
int |
iptr_simu, |
|
|
int |
iptr_rank, |
|
|
int |
iptr_cover, |
|
|
bool |
verbose = false |
|
) |
| |
◆ toString()
◆ _iptrCover
int SimuBoolean::_iptrCover |
|
mutableprivate |
◆ _objlist
The documentation for this class was generated from the following files: