#include "gstlearn_export.hpp"#include "Enum/ERule.hpp"#include "LithoRule/Node.hpp"#include "LithoRule/PropDef.hpp"#include "Basic/VectorNumT.hpp"#include "Basic/AStringable.hpp"#include "Basic/ASerializable.hpp"Classes | |
| class | Rule |
Functions | |
| GSTLEARN_EXPORT void | set_rule_mode (int rule_mode) |
| GSTLEARN_EXPORT int | get_rule_mode (void) |
| GSTLEARN_EXPORT double | get_rule_extreme (int mode) |
| GSTLEARN_EXPORT Rule * | rule_free (const Rule *rule) |
| GSTLEARN_EXPORT Model * | model_rule_combine (const Model *model1, const Model *model2, const Rule *rule) |
| GSTLEARN_EXPORT int | db_rule_shadow (Db *db, Db *dbprop, RuleShadow *rule, Model *model1, const VectorDouble &props, int flag_stat, int nfacies) |
| GSTLEARN_EXPORT int db_rule_shadow | ( | Db * | db, |
| Db * | dbprop, | ||
| RuleShadow * | rule, | ||
| Model * | model, | ||
| const VectorDouble & | props, | ||
| int | flag_stat, | ||
| int | nfacies | ||
| ) |
Apply the Rule transformation to the GRFs of a Db (Shadow case)
| [in] | db | Output Db structure |
| [in] | dbprop | Db structure used for proportions (non-stationary case) |
| [in] | rule | Lithotype Rule definition |
| [in] | model | First Model structure (only for SHIFT) |
| [in] | props | Array of proportions for the facies |
| [in] | flag_stat | 1 for stationary; 0 otherwise |
| [in] | nfacies | Number of facies |
| GSTLEARN_EXPORT double get_rule_extreme | ( | int | mode | ) |
Get the lower or upper bound
| [in] | mode | <0 for lower bound; >0 for upper bound |
| GSTLEARN_EXPORT int get_rule_mode | ( | void | ) |
Get the current Rule Mode
| GSTLEARN_EXPORT void set_rule_mode | ( | int | rule_mode | ) |
Set the Rule Mode
| [in] | rule_mode | 1 for Gaussian; 0 for absence of conversion |