![]() |
Flumy [Free API]
Process based model for meandering chanelized systems
|
Interface class used to access Domain informations. More...
Interface class used to access Domain informations.
The domain object is returned by the method Flumy::getDomain.
A domain is a geometric 3D grid containing sediment deposited by the channel.
Raw vertical data are not regular (sample thicknesses of deposits can be different).
This is usually called a pillar grid.
The domain grid inherits from 2D grid but have some additional parameters:
The three last parameters are used to locate the domain into a geographical 3D referential system.
The origin of the 2D grid (_ox and _oy members) inherited from GridParams class is ignored (always 0,0).
This class provides some methods used to convert 2D points coordinates into the following referential systems:
Each domain grid node has a vertical collection of deposition units objects.
This class informs you about the vertical location of the sample stack (bottom, top)
Node sample stack can be read by two ways:
The getRegular* methods also permits to retrieve the whole block in one call.
Look at the User Manual for further details about domain geometry.
Public Member Functions | |
iDomain () | |
Default constructor. More... | |
virtual | ~iDomain () |
Destructor. More... | |
virtual MP_real | getSlope () const =0 |
Return global mean slope along flow direction (ratio positive decreasing) More... | |
virtual MP_real | getSlopeAlongX () const =0 |
Return global mean slope along X (ratio positive decreasing) More... | |
virtual MP_real | getSlopeAlongY () const =0 |
Return global mean slope along Y (ratio positive decreasing) More... | |
virtual MP_real | getZrefGeo () const =0 |
Return grid origin elevation (in meters) More... | |
virtual MP_real | getRotGridGeo () const =0 |
Return grid rotation (in degrees counterclockwise) relative to West-East direction (90° <=> South-North) More... | |
virtual MP_real | getRotFlowGeo () const =0 |
Return flow rotation (in degrees clockwise) relative to South-North direction (90° <=> West-East) More... | |
virtual Point2D | getOriginGeo () const =0 |
Return grid origin into the geographical referential system (in meters) More... | |
virtual MP_real | getErodMax () const =0 |
Return the maximum erodibility coefficient encountered inside the domain. More... | |
virtual MP_age | getOldestAge () const =0 |
Return the age (in number of iteration since the simulation beginning) of the oldest deposit encountered inside the domain. More... | |
virtual MP_real | getZMaxGeo () const =0 |
Return the highest elevation of the domain (in meters) (including elevation at origin but excluding mean slope) More... | |
virtual MP_real | getZMinGeo () const =0 |
Return the lowest elevation of the domain (in meters) (including elevation at origin but excluding mean slope) More... | |
virtual MP_real | getZMaxRel () const =0 |
Return the highest elevation of the domain (in meters) (excluding elevation at origin and mean slope) More... | |
virtual MP_real | getZMinRel () const =0 |
Return the lowest elevation of the domain (in meters) (excluding elevation at origin and mean slope) More... | |
virtual MP_real | getMeshX () const =0 |
Assessor get to protected member variable _dx. More... | |
virtual MP_real | getMeshY () const =0 |
Assessor get to protected member variable _dx. More... | |
virtual MP_int | getNbNodeX () const =0 |
Assessor get to protected member variable _nx. More... | |
virtual MP_int | getNbNodeY () const =0 |
Assessor get to protected member variable _nx. More... | |
virtual GridParams | getGrid () const =0 |
Return domain geometry in grid object. More... | |
virtual MP_real | getMinTopo (bool with_water_depth=true) const =0 |
Return domain min topography (geographic) More... | |
virtual MP_real | getMaxTopo (bool with_water_depth=true) const =0 |
Return domain max topography (geographic) More... | |
virtual MP_real | getMeanTopo (bool with_water_depth=true) const =0 |
Return domain mean topography (geographic) More... | |
virtual MP_real | getProportionFull (MP_stut fac, MP_real zmin=MP_UNKNOWN_REAL_VALUE, MP_real zmax=MP_UNKNOWN_REAL_VALUE) const =0 |
Return facies proportion between min and max geographical elevations. More... | |
virtual MP_real | getProportion (MP_stut fac, MP_int ix_min, MP_int ix_max, MP_int iy_min, MP_int iy_max, MP_real zmin=MP_UNKNOWN_REAL_VALUE, MP_real zmax=MP_UNKNOWN_REAL_VALUE) const =0 |
virtual Point2D | getGeoPointFromGrid (const MP_int &ix, const MP_int &iy) const =0 |
Return a point into the geographical referential system from a point into the grid referential system. More... | |
virtual Point2D | getGeoPointFromRel (const Point2D &relPoint) const =0 |
Return a point into the geographical referential system from a point into the relative referential system. More... | |
virtual Point2D | getRelPointFromGeo (const Point2D &geoPoint) const =0 |
Return a point into the relative referential system from a point into the geographical referential system. More... | |
virtual Point2D | getRelPointFromGrid (const MP_int &ix, const MP_int &iy) const =0 |
Retrieve relative point from a grid one. More... | |
virtual Point2D | getGridPointFromRel (const Point2D &relPoint) const =0 |
Retrieve grid point from relative one. More... | |
virtual Point2D | getGridPointFromGeo (const Point2D &geoPoint) const =0 |
Retrieve grid point from geographical one. More... | |
virtual bool | isValid (const MP_int &ix, const MP_int &iy) const =0 |
Return true if indices are valid grid indices. More... | |
virtual RealList | getAllThickness () const =0 |
Return all thicknesses / facies / grainsizes and ages. More... | |
virtual FaciesList | getAllFacies () const =0 |
virtual RealList | getAllGrainsize () const =0 |
virtual IntList | getAllGrainsizeClass () const =0 |
virtual AgeList | getAllAge () const =0 |
virtual DepositsList | getDeposits (MP_int ix, MP_int iy) const =0 |
Retrieve irregular vertical facies collection. More... | |
virtual bool | getIrregular (MP_int ix, MP_int iy, DepositsList *list) const =0 |
Retrieve irregular vertical facies collection. More... | |
virtual bool | getRegularPile (MP_int ix, MP_int iy, MP_real zStep, FaciesList *facies, AgeList *ages=NULL, RealList *granulo=NULL, MP_real *zBot=NULL, MP_int *nbSample=NULL) const =0 |
Retrieve regular vertical facies collection located at a domain grid node for a given elevation step. More... | |
virtual bool | getRegular (MP_int ix_min, MP_int ix_max, MP_int iy_min, MP_int iy_max, MP_real zStep, FaciesList *facies, AgeList *ages=NULL, RealList *granulo=NULL, MP_real *zBot=NULL, MP_int *nbSample=NULL) const =0 |
virtual FaciesList | getRegularFacies (MP_real zStep, MP_real zBot, MP_int nbSample) const =0 |
virtual RealList | getRegularGrain (MP_real zStep, MP_real zBot, MP_int nbSample) const =0 |
virtual AgeList | getRegularAge (MP_real zStep, MP_real zBot, MP_int nbSample) const =0 |
virtual bool | getTopo (Topo &topo, bool with_water=true, MP_age age_limit=MP_UNKNOWN_INT_VALUE) const =0 |
Retrieve current topography in geographical system (including grid elevation) More... | |
virtual bool | saveF2G (const MP_string &filename, MP_real dz, bool save_facies, bool save_grain, bool save_age, MP_real min_z=MP_UNKNOWN_REAL_VALUE, MP_real max_z=MP_UNKNOWN_REAL_VALUE, const MP_string &order=MP_DEFAULT_CELLS_ORDER) const =0 |
virtual std::vector< WellStat > | getCondStats () const =0 |
virtual bool | getCenterlineDisc (CenterlineDisc &cldisc, const iChannel *ch) const =0 |
|
inline |
Default constructor.
|
inlinevirtual |
Destructor.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Return all thicknesses / facies / grainsizes and ages.
|
pure virtual |
Retrieve the Centerline discretized into the domain grid. (only for Research version)
cldisc | Centerline discretized |
ch | Current channel to be put on the domain grid |
|
pure virtual |
Calculate the conditioning statistics for each well (only for Research version)
|
pure virtual |
Retrieve irregular vertical facies collection.
ix | i-index of the grid node |
iy | j-index of the grid node |
|
pure virtual |
Return the maximum erodibility coefficient encountered inside the domain.
|
pure virtual |
Return a point into the geographical referential system from a point into the grid referential system.
Return a point into the geographical referential system from a point into the relative referential system.
|
pure virtual |
Return domain geometry in grid object.
Retrieve grid point from geographical one.
Retrieve grid point from relative one.
|
pure virtual |
Retrieve irregular vertical facies collection.
ix | i-index of the grid node |
iy | j-index of the grid node |
list | Deposition list situated at (ix, iy) |
|
pure virtual |
Return domain max topography (geographic)
|
pure virtual |
Return domain mean topography (geographic)
|
pure virtual |
Assessor get to protected member variable _dx.
|
pure virtual |
Assessor get to protected member variable _dx.
|
pure virtual |
Return domain min topography (geographic)
|
pure virtual |
Assessor get to protected member variable _nx.
|
pure virtual |
Assessor get to protected member variable _nx.
|
pure virtual |
Return the age (in number of iteration since the simulation beginning) of the oldest deposit encountered inside the domain.
|
pure virtual |
Return grid origin into the geographical referential system (in meters)
|
pure virtual |
Return facies proportion between min and max geographical elevations for a certain number of grid cells (given by their grid indices)
|
pure virtual |
Return facies proportion between min and max geographical elevations.
|
pure virtual |
Same as iDomain::getRegularPile except that this method retrieve several pillars.
|
pure virtual |
Same as iDomain::getRegular except that this method retrieve all pillars for Age variable only (SWIG compliant function)
|
pure virtual |
Same as iDomain::getRegular except that this method retrieve all pillars for facies variable only (SWIG compliant function)
|
pure virtual |
Same as iDomain::getRegular except that this method retrieve all pillars for Grain size variable only (SWIG compliant function)
|
pure virtual |
Retrieve regular vertical facies collection located at a domain grid node for a given elevation step.
ix | i-index of the grid node |
iy | j-index of the grid node |
zStep | Elevation step in meters |
facies | Vector of facies to be filled (integer values defined in MCRCDefines.h ) |
ages | Optionally, provide age of each sample in a vector (total number of iterations since beginning) |
granulo | Optionally, provide granulometry rate of each sample [0=fine,1=coarse] |
zBot | If the bottom elevation is defined, the discretization starts from this bottom elevation. If not, starting elevation will be automatically calculated and zBot will contain its value (see below) |
nbSample | If the number of samples is defined, nbSample values will be returned. If not, the number of values will be automatically calculated and nbSample will contain its value (see below) |
Return a point into the relative referential system from a point into the geographical referential system.
|
pure virtual |
Retrieve relative point from a grid one.
|
pure virtual |
Return flow rotation (in degrees clockwise) relative to South-North direction (90° <=> West-East)
|
pure virtual |
Return grid rotation (in degrees counterclockwise) relative to West-East direction (90° <=> South-North)
|
pure virtual |
Return global mean slope along flow direction (ratio positive decreasing)
|
pure virtual |
Return global mean slope along X (ratio positive decreasing)
|
pure virtual |
Return global mean slope along Y (ratio positive decreasing)
|
pure virtual |
Retrieve current topography in geographical system (including grid elevation)
|
pure virtual |
Return the highest elevation of the domain (in meters) (including elevation at origin but excluding mean slope)
|
pure virtual |
Return the highest elevation of the domain (in meters) (excluding elevation at origin and mean slope)
|
pure virtual |
Return the lowest elevation of the domain (in meters) (including elevation at origin but excluding mean slope)
|
pure virtual |
Return the lowest elevation of the domain (in meters) (excluding elevation at origin and mean slope)
|
pure virtual |
Return grid origin elevation (in meters)
|
pure virtual |
Return true if indices are valid grid indices.
|
pure virtual |
Export the whole simulation into an ASCII file with F2G format (see the User Manual for F2G format description).
filename | file path where to save the simulation |
dz | vertical discretization step |
save_facies | true to store facies variable |
save_grain | true to store grain size variable |
save_age | true to store age variable |
min_z | minimum elevation of the 3D block |
max_z | maximum elevation of the 3D block |
order | order in which cells are dumped (default +Y +X +Z) |