#include <FracList.hpp>
Public Member Functions | |
| FracList (int 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 () |
| virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| Interface for AStringable. More... | |
| int | getNFracs () const |
| int | simulate (const FracEnviron &envir, bool flag_sim_layer, bool flag_sim_fract, int seed, bool verbose, const VectorDouble &elevations=VectorDouble()) |
| void | addDescription (const FracDesc &description=FracDesc()) |
| MatrixRectangular | fractureExport () const |
| MatrixRectangular | layinfoExport () const |
| int | fractureToBlock (DbGrid *dbgrid, double xmax, VectorDouble &permtab, double perm_mat, double perm_bench, int ndisc=1000., bool verbose=false, const NamingConvention &namconv=NamingConvention("Fractures")) |
| VectorDouble | fractureToWell (int nval, const VectorDouble &well, double xmax, const VectorDouble &permtab, int *nint, int *ncol) |
| int | fractureWellToBlock (DbGrid *dbgrid, int col_perm, int col_fluid, int flag_fluid, double val_fluid, const VectorDouble &wellout, int nval, int ndisc=1000., bool verbose=false) |
| VectorDouble | fractureExtractLength (int ifam, double cote, double dcote) |
| VectorDouble | fractureExtractDist (int ifam, double cote, double dcote) |
| void | setFamily (int i, int ifam) |
| void | setOrient (int i, double orient) |
| void | addPoint (int i, double xx, double yy) |
Public Member Functions inherited from 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 (int level) const final |
Static Public Member Functions | |
| static FracList * | fractureImport (const VectorDouble &frac_segs, const VectorDouble &layinfo=VectorDouble(), int nfamilies=0) |
| FracList::FracList | ( | int | ndisc = 1000, |
| bool | flag_check = true, |
||
| double | low0 = EPSILON8, |
||
| double | low1 = EPSILON6, |
||
| double | eps = EPSILON3 |
||
| ) |
| FracList::FracList | ( | const FracList & | r | ) |
|
virtual |
|
inline |
| MatrixRectangular FracList::fractureExport | ( | ) | const |
Export the Fractures
| VectorDouble FracList::fractureExtractDist | ( | int | 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 |
| VectorDouble FracList::fractureExtractLength | ( | int | 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 |
|
static |
| int FracList::fractureToBlock | ( | DbGrid * | dbgrid, |
| double | xmax, | ||
| VectorDouble & | permtab, | ||
| double | perm_mat, | ||
| double | perm_bench, | ||
| int | 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 |
| VectorDouble FracList::fractureToWell | ( | int | nval, |
| const VectorDouble & | well, | ||
| double | xmax, | ||
| const VectorDouble & | permtab, | ||
| int * | nint, | ||
| int * | 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 |
| int FracList::fractureWellToBlock | ( | DbGrid * | dbgrid, |
| int | col_perm, | ||
| int | col_fluid, | ||
| int | flag_fluid, | ||
| double | val_fluid, | ||
| const VectorDouble & | wellout, | ||
| int | nval, | ||
| int | 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 |
|
inline |
| int FracList::simulate | ( | const FracEnviron & | envir, |
| bool | flag_sim_layer, | ||
| bool | flag_sim_fract, | ||
| int | seed, | ||
| bool | verbose, | ||
| const VectorDouble & | elevations = VectorDouble() |
||
| ) |
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 AStringable.