#include <FracList.hpp>
Public Member Functions | |
| FracList (Id ndisc=1000, bool flag_check=true, double low0=EPSILON8, double low1=EPSILON6, double eps=EPSILON3) | |
| FracList (const FracList &r) | |
| FracList & | operator= (const FracList &r) |
| virtual | ~FracList () |
| String | toString (const AStringFormat *strfmt=nullptr) const override |
| Interface for AStringable. | |
| Id | getNFracs () const |
| Id | simulate (const FracEnviron &envir, bool flag_sim_layer, bool flag_sim_fract, Id seed, bool verbose, const 1 &elevations=1()) |
| void | addDescription (const FracDesc &description=FracDesc()) |
| MatrixDense | fractureExport () const |
| MatrixDense | layinfoExport () const |
| Id | fractureToBlock (DbGrid *dbgrid, double xmax, 1 &permtab, double perm_mat, double perm_bench, Id ndisc=1000., bool verbose=false, const NamingConvention &namconv=NamingConvention("Fractures")) |
| fractureToWell (Id nval, const 1 &well, double xmax, const 1 &permtab, Id *nint, Id *ncol) | |
| Id | fractureWellToBlock (DbGrid *dbgrid, Id col_perm, Id col_fluid, Id flag_fluid, double val_fluid, const 1 &wellout, Id nval, Id ndisc=1000., bool verbose=false) |
| fractureExtractLength (Id ifam, double cote, double dcote) | |
| fractureExtractDist (Id ifam, double cote, double dcote) | |
| void | setFamily (Id i, Id ifam) |
| void | setOrient (Id i, double orient) |
| void | addPoint (Id i, double xx, double yy) |
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 |
Static Public Member Functions | |
| static FracList * | fractureImport (const 1 &frac_segs, const 1 &layinfo=1(), Id nfamilies=0) |
| gstlrn::FracList::FracList | ( | Id | ndisc = 1000, |
| bool | flag_check = true, |
||
| double | low0 = EPSILON8, |
||
| double | low1 = EPSILON6, |
||
| double | eps = EPSILON3 |
||
| ) |
| gstlrn::FracList::FracList | ( | const FracList & | r | ) |
|
virtual |
|
inline |
| MatrixDense gstlrn::FracList::fractureExport | ( | ) | const |
Export the Fractures
| gstlrn::FracList::fractureExtractDist | ( | Id | ifam, |
| double | cote, | ||
| double | dcote | ||
| ) |
Extract the fracture interdistances
| [in] | ifam | Rank of the family or ITEST for all |
| [in] | cote | Selected layer or TEST for all layers |
| [in] | dcote | Tolerance on the layer elevation |
| gstlrn::FracList::fractureExtractLength | ( | Id | ifam, |
| double | cote, | ||
| double | dcote | ||
| ) |
Extract the array of fracture lengths
| [in] | ifam | Rank of the family or ITEST for all |
| [in] | cote | Selected layer or TEST for all layers |
| [in] | dcote | Tolerance on the layer elevation |
| Id gstlrn::FracList::fractureToBlock | ( | DbGrid * | dbgrid, |
| double | xmax, | ||
| 1 & | permtab, | ||
| double | perm_mat, | ||
| double | perm_bench, | ||
| Id | ndisc = 1000., |
||
| bool | verbose = false, |
||
| const NamingConvention & | namconv = NamingConvention("Fractures") |
||
| ) |
Plunge a subset of the simulated fractures into a block
| [in,out] | dbgrid | Db structure |
| [in] | xmax | Maximum extension along horizontal axis |
| [in] | permtab | Permabilities per family (starting from 0) |
| [in] | perm_mat | Permability for the matrix |
| [in] | perm_bench | Permability along the bench edge |
| [in] | ndisc | Number of discretization steps |
| [in] | verbose | Verbose flag |
| [in] | namconv | Naming convention |
| gstlrn::FracList::fractureToWell | ( | Id | nval, |
| const 1 & | well, | ||
| double | xmax, | ||
| const 1 & | permtab, | ||
| Id * | nint, | ||
| Id * | ncol | ||
| ) |
Plunge a well line in a set of fractures
| [in] | nval | Number of well information |
| [in] | well | Array giving the well trajectory |
| [in] | xmax | Maximum extension along horizontal axis |
| [in] | permtab | Permabilities per family (starting from 0) Optional |
| [out] | nint | Number of intersections |
| [out] | ncol | Number of attributes per intersection |
| Id gstlrn::FracList::fractureWellToBlock | ( | DbGrid * | dbgrid, |
| Id | col_perm, | ||
| Id | col_fluid, | ||
| Id | flag_fluid, | ||
| double | val_fluid, | ||
| const 1 & | wellout, | ||
| Id | nval, | ||
| Id | ndisc = 1000., |
||
| bool | verbose = false |
||
| ) |
Plunge a line trajectory and the modified permeabilities within an existing block
| [in,out] | dbgrid | Db structure |
| [in] | col_perm | Existing attribute for permeability (or ITEST) |
| [in] | col_fluid | Existing attribute for fluid (or ITEST) |
| [in] | flag_fluid | 1 for performing the Fluid filling |
| [in] | val_fluid | Value assigned to the fluid |
| [in] | wellout | Pointer to the new wellout information |
| [in] | nval | Number of values for wellout informations |
| [in] | ndisc | Number of discretization steps |
| [in] | verbose | Verbose flag |
|
inline |
|
inline |
|
inline |
| Id gstlrn::FracList::simulate | ( | const FracEnviron & | envir, |
| bool | flag_sim_layer, | ||
| bool | flag_sim_fract, | ||
| Id | seed, | ||
| bool | verbose, | ||
| const 1 & | elevations = 1() |
||
| ) |
Simulate a set of fractures
| [in] | envir | Environ structure |
| [in] | flag_sim_layer | TRUE for simulating layers FALSE if they are read |
| [in] | flag_sim_fract | TRUE for simulating the fractures FALSE establish the layers and the main faults |
| [in] | elevations | Array of elevations (used if flag_sim_layer=F) |
| [in] | seed | Seed for the random number generator |
| [in] | verbose | Verbose option |
|
overridevirtual |
Interface for AStringable.
Reimplemented from gstlrn::AStringable.