Flumy [Free API]
Process based model for meandering chanelized systems
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GridReal Class Reference

Base class for 2D grid containing real values. More...

Inheritance diagram for GridReal:
GridParams Topo

Detailed Description

Base class for 2D grid containing real values.

This class stores real values for each node of a grid.

Public Member Functions

 GridReal ()
 Default constructor. More...
 
 GridReal (const MP_real &dx, const MP_real &dy, const MP_int &nx, const MP_int &ny, const MP_real &ox=0., const MP_real &oy=0., const MP_real &val=MP_UNKNOWN_REAL_VALUE)
 Constructor from 2D grid parameters which fills the grid with the given real value. More...
 
 GridReal (const MP_real &dx, const MP_real &dy, const MP_real &dz, const MP_int &nx, const MP_int &ny, const MP_int &nz, const MP_real &ox=0., const MP_real &oy=0., const MP_real &oz=0., const MP_real &val=MP_UNKNOWN_REAL_VALUE)
 Constructor from 3D grid parameters which fills the grid with the given real value. More...
 
 GridReal (const std::vector< std::vector< MP_real > > &values)
 Constructor from a 2D array of real values. More...
 
 GridReal (const GridParams &grid)
 Constructor build from another grid (use it to copy another grid parameters).
This is not a copy constructor! More...
 
 GridReal (const GridParams &grid, const MP_real &val)
 Constructor build from another grid (use it to copy another grid parameters).
This is not a copy constructor! More...
 
 GridReal (const GridReal &grid)
 Copy constructor. More...
 
virtual ~GridReal ()
 Destructor. More...
 
GridRealoperator= (const GridReal &gridc)
 Assignment operator. More...
 
virtual void reset (const GridParams &grid) override
 Reset 2D grid parameters to new values. More...
 
virtual void reset (const MP_real &dx, const MP_real &dy, const MP_int &nx, const MP_int &ny, const MP_real &ox=0., const MP_real &oy=0., const MP_real &val=MP_UNKNOWN_REAL_VALUE)
 Reset 2D grid parameters to new values and fill the grid with a new real value. More...
 
virtual void reset (const MP_real &dx, const MP_real &dy, const MP_real &dz, const MP_int &nx, const MP_int &ny, const MP_int &nz, const MP_real &ox=0., const MP_real &oy=0., const MP_real &oz=0., const MP_real &val=MP_UNKNOWN_REAL_VALUE)
 Reset 3D grid parameters to new values and fill the grid with a new real value. More...
 
virtual bool check (MP_real &val, bool correct=true) const
 Check the input value (and correct it if needed) More...
 
virtual void fill (const MP_real &val)
 Fill the grid with a new real value. More...
 
virtual void fill_2D (const std::vector< std::vector< MP_real > > &values)
 Fill the grid with a 2D array of real values. More...
 
virtual void fill_yxz (const MP_int size, const MP_real values[])
 Fill the grid with an array of real values (sorted by z then x then y, e.g. iy increasing first) Size of the array must be equal to nx * ny * nz. More...
 
virtual void fill_zyx (const MP_int size, const MP_real values[])
 Fill the grid with an array of real values (sorted by y then x then z, e.g. iz increasing first) Size of the array must be equal to nx * ny * nz. More...
 
virtual bool get_at (MP_int &size, MP_real values[]) const
 Retrieve the grid values in an array of real values (sorted by z then x then y) Size of the array must be equal to nx * ny * nz. More...
 
virtual bool set_at (const MP_int &ix, const MP_int &iy, const MP_real &val)
 Set the node[ix,iy] value of the grid (if grid is 3D, fill all pillar nodes) More...
 
virtual bool set_at (const MP_int &ix, const MP_int &iy, const MP_int &iz, const MP_real &val)
 Set the node[ix,iy,iz] value of the grid. More...
 
virtual bool get_at (const MP_int &ix, const MP_int &iy, MP_real &val) const
 Retrieve the node[ix,iy] value of the grid (if grid is 3D, retrieve first pillar node) More...
 
virtual bool get_at (const MP_int &ix, const MP_int &iy, RealList &val) const
 Retrieve the vertical values list at node [ix,iy]. More...
 
virtual bool get_at (const MP_int &ix, const MP_int &iy, const MP_int &iz, MP_real &val) const
 Retrieve the node[ix,iy,iz] value of the grid. More...
 
virtual bool write (const MP_string &filename, const iTracer *tracer, const GridFileFormat &format=GFF_F2G, const MP_string &order=MP_DEFAULT_CELLS_ORDER) const
 Write all grid node values into a file (see User Manual Appendices for the file format) More...
 
virtual bool read (const MP_string &filename)
 Read all grid node values from a file (see User Manual Appendices for the file format) More...
 
const RealList & get_values () const
 Retrieve all grid values in a vector (order is +X +Y +Z, e.g. ix increasing first) More...
 
RealList get_values_zyx () const
 Retrieve all grid values in a vector (order is +Z +Y +X, e.g. iz increasing first) (same as getRegular) More...
 
MP_real get_mean () const
 Retrieve the grid mean value. More...
 
MP_real get_min () const
 Retrieve the grid min value (keep get_ prefix to avoid conflict under windows) More...
 
MP_real get_max () const
 Retrieve the grid max value (keep get_ prefix to avoid conflict under windows) More...
 
MP_real get_min (MP_int &ix, MP_int &iy) const
 Retrieve the grid min value and location (keep get_ prefix to avoid conflict under windows) More...
 
MP_real get_max (MP_int &ix, MP_int &iy) const
 Retrieve the grid max value and location (keep get_ prefix to avoid conflict under windows) More...
 
MP_int get_nb_positive () const
 Retrieve the number of positive cells. More...
 
MP_int get_nb_negative () const
 Retrieve the number of negative cells. More...
 
bool add_variable (GridReal *aux)
 Add an auxiliary variable to the current grid (grids must be compatible) More...
 
void set_name (const MP_string &name)
 Set the variable name. More...
 
const MP_string & get_name () const
 Return the name of the variable. More...
 
void set_undef_string (const MP_string &undef)
 Set the undefined string. More...
 
const MP_string & get_undef_string () const
 Return the undefined string of the variable. More...
 
void set_undef_value (const MP_real undef)
 Set the undefined value. More...
 
const MP_real & get_undef_value () const
 Return the undefined value of the variable. More...
 
const MP_string & last_error () const
 Return last error message. More...
 
- Public Member Functions inherited from GridParams
 GridParams ()
 Default constructor. More...
 
 GridParams (const MP_real &dx, const MP_real &dy, const MP_int &nx, const MP_int &ny, const MP_real &ox=0., const MP_real &oy=0.)
 Constructor from 2D grid parameters. More...
 
 GridParams (const MP_real &dx, const MP_real &dy, const MP_real &dz, const MP_int &nx, const MP_int &ny, const MP_int &nz, const MP_real &ox=0., const MP_real &oy=0., const MP_real &oz=0.)
 Constructor from 3D grid parameters. More...
 
 GridParams (const GridParams &grid)
 Copy constructor. More...
 
virtual ~GridParams ()
 Destructor. More...
 
GridParamsoperator= (const GridParams &)
 Operator =. More...
 
void reset (const MP_real &dx, const MP_real &dy, const MP_int &nx, const MP_int &ny, const MP_real &ox=0., const MP_real &oy=0.)
 Reset 2D grid parameters to new values. More...
 
void reset (const MP_real &dx, const MP_real &dy, const MP_real &dz, const MP_int &nx, const MP_int &ny, const MP_int &nz, const MP_real &ox=0., const MP_real &oy=0., const MP_real &oz=0.)
 Reset 3D grid parameters to new values. More...
 
MP_real getDx () const
 Assessor get to protected member variable _dx. More...
 
MP_real getDy () const
 Assessor get to protected member variable _dy. More...
 
MP_real getDz () const
 Assessor get to protected member variable _dz. More...
 
MP_int getNx () const
 Assessor get to protected member variable _nx. More...
 
MP_int getNy () const
 Assessor get to protected member variable _ny. More...
 
MP_int getNz () const
 Assessor get to protected member variable _nz. More...
 
MP_real getOx () const
 Assessor get to protected member variable _ox. More...
 
MP_real getOy () const
 Assessor get to protected member variable _oy. More...
 
MP_real getOz () const
 Assessor get to protected member variable _oz. More...
 
Point2D getOrigin () const
 Assessor get to origin 2D point _ox,_oy. More...
 
MP_int getNbNodes () const
 Return the number of grid nodes. More...
 
void getApexRel (Point2D &p1, Point2D &p2, Point2D &p3, Point2D &p4) const
 Return the 4 apex relative points. More...
 
void setLocation (const MP_real &x, const MP_real &y, const MP_real &z=0.)
 Localize the grid in the geographical system. More...
 
void setLocation (const Point3D &location)
 Localize the grid in the geographical system. More...
 
void setLocation (const Point2D &location)
 Localize the grid in the geographical system. More...
 
const Point3D & getLocation () const
 Return the location of the grid. More...
 
MP_real getZLoc () const
 Assessor get location elevation. More...
 
void setRotation (const MP_real &rot)
 Rotate the grid around z-axis in the geographical system. More...
 
MP_real getRotation () const
 
MP_real getLength () const
 Return total length of the grid (in meters).
It corresponds to the grid size along abscissa axis Ox. More...
 
MP_real getWidth () const
 Return total width of the grid (in meters).
It corresponds to the grid size along ordinate axis Oy. More...
 
MP_real getHeight () const
 Return total height of the grid (in meters).
It corresponds to the grid size along elevation axis Oz. More...
 
bool is3D () const
 Return true if the grid has 3 dimensions (nz > 1 and dz < MP_MAX_REAL_VALUE) More...
 
bool isCompatibleWith (const GridParams &grid, bool check_geo=false) const
 Return true if the given grid has same parameters. More...
 
Point2Drel2Geo (Point2D &point) const
 
Point2Drel2Grid (Point2D &point, bool round=true) const
 
Point2Dgeo2Rel (Point2D &point) const
 
Point2Dgeo2Grid (Point2D &point, bool round=true) const
 
Point2Dgrid2Rel (Point2D &point) const
 
Point2D grid2Rel (const MP_int &ix, const MP_int &iy) const
 
Point2D grid2Geo (const MP_int &ix, const MP_int &iy) const
 
Point3D & rel2Geo (Point3D &point) const
 
Point3D & geo2Rel (Point3D &point) const
 
ConvexPolyedra2D & rel2Grid (ConvexPolyedra2D &polyedra) const
 
ConvexPolyedra2D & grid2Rel (ConvexPolyedra2D &polyedra) const
 
bool is_on_grid (const Point2D &point) const
 
bool is_on_grid_nearest (const Point2D &point) const
 

Static Public Member Functions

static bool is_order_valid (const MP_string &order)
 Test if an "order string" is valid. More...
 
static bool is_order_valid (const MP_string &order, MP_string &order1, MP_string &order2, MP_string &order3)
 Test if an "order string" is valid. More...
 
static bool is_order_valid (const MP_string &order1, const MP_string &order2, const MP_string &order3)
 Test if an "order string" is valid. More...
 
static GridFileFormat get_format (const MP_string &filename)
 Return the Ascii format of the given grid file. More...
 
static MP_string get_format_label (const GridFileFormat &format)
 Return the Ascii format label for the given format id. More...
 

Protected Member Functions

bool write_gslib (const MP_string &filename, const iTracer *tracer) const
 Write all grid node values into an GSLIB formated file (see User Manual Appendices for the file format) More...
 
bool write_ascii (const MP_string &filename, const iTracer *tracer) const
 Write all grid node values into an ASCII formated file (see User Manual Appendices for the file format) More...
 
bool write_f2g (const MP_string &filename, const iTracer *tracer, const MP_string &order=MP_DEFAULT_CELLS_ORDER) const
 Write all grid node values into an F2F formated file (see User Manual Appendices for the file format) More...
 
bool write_values (std::ofstream &os, const iTracer *tracer, const MP_string &order=MP_DEFAULT_CELLS_ORDER) const
 Write values in the given output stream and in the given order. More...
 
bool read_cps3 (const MP_string &filename)
 Read all grid node values from a CPS-3 formated file (see User Manual Appendices for the file format) More...
 
bool read_gslib (const MP_string &filename)
 Read all grid node values from a GSLIB formated file (see User Manual Appendices for the file format) More...
 
bool read_ascii (const MP_string &filename)
 Read all grid node values from an ASCII formated file (see User Manual Appendices for the file format) More...
 
bool read_f2g (const MP_string &filename)
 Read all grid node values from an F2G formatted file (see User Manual Appendices for the file format) More...
 

Protected Attributes

RealList _values
 Grid values (at any time, vector size should be _nx*_ny*_nz) More...
 
MP_real _min
 Minimum and maximum of values. More...
 
MP_real _max
 
MP_int _ixmin
 Minimum and maximum location. More...
 
MP_int _iymin
 
MP_int _ixmax
 
MP_int _iymax
 
std::vector< GridReal * > _aux
 Auxiliary grids (at any time, these grids must contain the same number of elements) More...
 
MP_string _name
 Variable name. More...
 
MP_string _undef_string
 Undefined string. More...
 
MP_real _undef_value
 Undefined value. More...
 
MP_string _last_error
 Last error message. More...
 
- Protected Attributes inherited from GridParams
MP_real _dx
 Mesh size (m) along abscissa axis Ox (must be greater than 0) More...
 
MP_real _dy
 Mesh size (m) along ordinate axis Oy (must be greater than 0) More...
 
MP_real _dz
 Mesh size (m) along elevation axis Oz (must be greater than 0) More...
 
MP_int _nx
 Number of nodes along abscissa axis Ox (must be greater than 0) More...
 
MP_int _ny
 Number of nodes along ordinate axis Oy (must be greater than 0) More...
 
MP_int _nz
 Number of nodes along elevation axis Oz (must be greater than 0) More...
 
MP_real _ox
 Origin offset along x-axis (m) More...
 
MP_real _oy
 Origin offset along y-axis (m) More...
 
MP_real _oz
 Origin offset along z-axis (m) More...
 
Point3D _location
 Front bottom left corner (m) of the grid (Geographical Location) More...
 
MP_real _rotation
 
MP_real _cosrot
 
MP_real _sinrot
 

Constructor & Destructor Documentation

◆ GridReal() [1/7]

GridReal::GridReal ( )

Default constructor.

◆ GridReal() [2/7]

GridReal::GridReal ( const MP_real &  dx,
const MP_real &  dy,
const MP_int &  nx,
const MP_int &  ny,
const MP_real &  ox = 0.,
const MP_real &  oy = 0.,
const MP_real &  val = MP_UNKNOWN_REAL_VALUE 
)

Constructor from 2D grid parameters which fills the grid with the given real value.

◆ GridReal() [3/7]

GridReal::GridReal ( const MP_real &  dx,
const MP_real &  dy,
const MP_real &  dz,
const MP_int &  nx,
const MP_int &  ny,
const MP_int &  nz,
const MP_real &  ox = 0.,
const MP_real &  oy = 0.,
const MP_real &  oz = 0.,
const MP_real &  val = MP_UNKNOWN_REAL_VALUE 
)

Constructor from 3D grid parameters which fills the grid with the given real value.

◆ GridReal() [4/7]

GridReal::GridReal ( const std::vector< std::vector< MP_real > > &  values)

Constructor from a 2D array of real values.

◆ GridReal() [5/7]

GridReal::GridReal ( const GridParams grid)

Constructor build from another grid (use it to copy another grid parameters).
This is not a copy constructor!

◆ GridReal() [6/7]

GridReal::GridReal ( const GridParams grid,
const MP_real &  val 
)

Constructor build from another grid (use it to copy another grid parameters).
This is not a copy constructor!

◆ GridReal() [7/7]

GridReal::GridReal ( const GridReal grid)

Copy constructor.

◆ ~GridReal()

virtual GridReal::~GridReal ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ add_variable()

bool GridReal::add_variable ( GridReal aux)

Add an auxiliary variable to the current grid (grids must be compatible)

◆ check()

virtual bool GridReal::check ( MP_real &  val,
bool  correct = true 
) const
virtual

Check the input value (and correct it if needed)

◆ fill()

virtual void GridReal::fill ( const MP_real &  val)
virtual

Fill the grid with a new real value.

◆ fill_2D()

virtual void GridReal::fill_2D ( const std::vector< std::vector< MP_real > > &  values)
virtual

Fill the grid with a 2D array of real values.

◆ fill_yxz()

virtual void GridReal::fill_yxz ( const MP_int  size,
const MP_real  values[] 
)
virtual

Fill the grid with an array of real values (sorted by z then x then y, e.g. iy increasing first) Size of the array must be equal to nx * ny * nz.

◆ fill_zyx()

virtual void GridReal::fill_zyx ( const MP_int  size,
const MP_real  values[] 
)
virtual

Fill the grid with an array of real values (sorted by y then x then z, e.g. iz increasing first) Size of the array must be equal to nx * ny * nz.

◆ get_at() [1/4]

virtual bool GridReal::get_at ( const MP_int &  ix,
const MP_int &  iy,
const MP_int &  iz,
MP_real &  val 
) const
virtual

Retrieve the node[ix,iy,iz] value of the grid.

◆ get_at() [2/4]

virtual bool GridReal::get_at ( const MP_int &  ix,
const MP_int &  iy,
MP_real &  val 
) const
virtual

Retrieve the node[ix,iy] value of the grid (if grid is 3D, retrieve first pillar node)

◆ get_at() [3/4]

virtual bool GridReal::get_at ( const MP_int &  ix,
const MP_int &  iy,
RealList &  val 
) const
virtual

Retrieve the vertical values list at node [ix,iy].

◆ get_at() [4/4]

virtual bool GridReal::get_at ( MP_int &  size,
MP_real  values[] 
) const
virtual

Retrieve the grid values in an array of real values (sorted by z then x then y) Size of the array must be equal to nx * ny * nz.

◆ get_format()

static GridFileFormat GridReal::get_format ( const MP_string &  filename)
static

Return the Ascii format of the given grid file.

◆ get_format_label()

static MP_string GridReal::get_format_label ( const GridFileFormat &  format)
static

Return the Ascii format label for the given format id.

◆ get_max() [1/2]

MP_real GridReal::get_max ( ) const
inline

Retrieve the grid max value (keep get_ prefix to avoid conflict under windows)

◆ get_max() [2/2]

MP_real GridReal::get_max ( MP_int &  ix,
MP_int &  iy 
) const

Retrieve the grid max value and location (keep get_ prefix to avoid conflict under windows)

◆ get_mean()

MP_real GridReal::get_mean ( ) const

Retrieve the grid mean value.

◆ get_min() [1/2]

MP_real GridReal::get_min ( ) const
inline

Retrieve the grid min value (keep get_ prefix to avoid conflict under windows)

◆ get_min() [2/2]

MP_real GridReal::get_min ( MP_int &  ix,
MP_int &  iy 
) const

Retrieve the grid min value and location (keep get_ prefix to avoid conflict under windows)

◆ get_name()

const MP_string& GridReal::get_name ( ) const
inline

Return the name of the variable.

◆ get_nb_negative()

MP_int GridReal::get_nb_negative ( ) const

Retrieve the number of negative cells.

◆ get_nb_positive()

MP_int GridReal::get_nb_positive ( ) const

Retrieve the number of positive cells.

◆ get_undef_string()

const MP_string& GridReal::get_undef_string ( ) const
inline

Return the undefined string of the variable.

◆ get_undef_value()

const MP_real& GridReal::get_undef_value ( ) const
inline

Return the undefined value of the variable.

◆ get_values()

const RealList& GridReal::get_values ( ) const
inline

Retrieve all grid values in a vector (order is +X +Y +Z, e.g. ix increasing first)

◆ get_values_zyx()

RealList GridReal::get_values_zyx ( ) const

Retrieve all grid values in a vector (order is +Z +Y +X, e.g. iz increasing first) (same as getRegular)

◆ is_order_valid() [1/3]

static bool GridReal::is_order_valid ( const MP_string &  order)
static

Test if an "order string" is valid.

◆ is_order_valid() [2/3]

static bool GridReal::is_order_valid ( const MP_string &  order,
MP_string &  order1,
MP_string &  order2,
MP_string &  order3 
)
static

Test if an "order string" is valid.

◆ is_order_valid() [3/3]

static bool GridReal::is_order_valid ( const MP_string &  order1,
const MP_string &  order2,
const MP_string &  order3 
)
static

Test if an "order string" is valid.

◆ last_error()

const MP_string& GridReal::last_error ( ) const
inline

Return last error message.

◆ operator=()

GridReal& GridReal::operator= ( const GridReal gridc)

Assignment operator.

◆ read()

virtual bool GridReal::read ( const MP_string &  filename)
virtual

Read all grid node values from a file (see User Manual Appendices for the file format)

◆ read_ascii()

bool GridReal::read_ascii ( const MP_string &  filename)
protected

Read all grid node values from an ASCII formated file (see User Manual Appendices for the file format)

◆ read_cps3()

bool GridReal::read_cps3 ( const MP_string &  filename)
protected

Read all grid node values from a CPS-3 formated file (see User Manual Appendices for the file format)

◆ read_f2g()

bool GridReal::read_f2g ( const MP_string &  filename)
protected

Read all grid node values from an F2G formatted file (see User Manual Appendices for the file format)

◆ read_gslib()

bool GridReal::read_gslib ( const MP_string &  filename)
protected

Read all grid node values from a GSLIB formated file (see User Manual Appendices for the file format)

◆ reset() [1/3]

virtual void GridReal::reset ( const GridParams grid)
overridevirtual

Reset 2D grid parameters to new values.

Reimplemented from GridParams.

◆ reset() [2/3]

virtual void GridReal::reset ( const MP_real &  dx,
const MP_real &  dy,
const MP_int &  nx,
const MP_int &  ny,
const MP_real &  ox = 0.,
const MP_real &  oy = 0.,
const MP_real &  val = MP_UNKNOWN_REAL_VALUE 
)
virtual

Reset 2D grid parameters to new values and fill the grid with a new real value.

◆ reset() [3/3]

virtual void GridReal::reset ( const MP_real &  dx,
const MP_real &  dy,
const MP_real &  dz,
const MP_int &  nx,
const MP_int &  ny,
const MP_int &  nz,
const MP_real &  ox = 0.,
const MP_real &  oy = 0.,
const MP_real &  oz = 0.,
const MP_real &  val = MP_UNKNOWN_REAL_VALUE 
)
virtual

Reset 3D grid parameters to new values and fill the grid with a new real value.

◆ set_at() [1/2]

virtual bool GridReal::set_at ( const MP_int &  ix,
const MP_int &  iy,
const MP_int &  iz,
const MP_real &  val 
)
virtual

Set the node[ix,iy,iz] value of the grid.

◆ set_at() [2/2]

virtual bool GridReal::set_at ( const MP_int &  ix,
const MP_int &  iy,
const MP_real &  val 
)
virtual

Set the node[ix,iy] value of the grid (if grid is 3D, fill all pillar nodes)

◆ set_name()

void GridReal::set_name ( const MP_string &  name)
inline

Set the variable name.

◆ set_undef_string()

void GridReal::set_undef_string ( const MP_string &  undef)
inline

Set the undefined string.

◆ set_undef_value()

void GridReal::set_undef_value ( const MP_real  undef)
inline

Set the undefined value.

◆ write()

virtual bool GridReal::write ( const MP_string &  filename,
const iTracer *  tracer,
const GridFileFormat &  format = GFF_F2G,
const MP_string &  order = MP_DEFAULT_CELLS_ORDER 
) const
virtual

Write all grid node values into a file (see User Manual Appendices for the file format)

◆ write_ascii()

bool GridReal::write_ascii ( const MP_string &  filename,
const iTracer *  tracer 
) const
protected

Write all grid node values into an ASCII formated file (see User Manual Appendices for the file format)

◆ write_f2g()

bool GridReal::write_f2g ( const MP_string &  filename,
const iTracer *  tracer,
const MP_string &  order = MP_DEFAULT_CELLS_ORDER 
) const
protected

Write all grid node values into an F2F formated file (see User Manual Appendices for the file format)

◆ write_gslib()

bool GridReal::write_gslib ( const MP_string &  filename,
const iTracer *  tracer 
) const
protected

Write all grid node values into an GSLIB formated file (see User Manual Appendices for the file format)

◆ write_values()

bool GridReal::write_values ( std::ofstream &  os,
const iTracer *  tracer,
const MP_string &  order = MP_DEFAULT_CELLS_ORDER 
) const
protected

Write values in the given output stream and in the given order.

Member Data Documentation

◆ _aux

std::vector<GridReal*> GridReal::_aux
protected

Auxiliary grids (at any time, these grids must contain the same number of elements)

◆ _ixmax

MP_int GridReal::_ixmax
protected

◆ _ixmin

MP_int GridReal::_ixmin
protected

Minimum and maximum location.

◆ _iymax

MP_int GridReal::_iymax
protected

◆ _iymin

MP_int GridReal::_iymin
protected

◆ _last_error

MP_string GridReal::_last_error
mutableprotected

Last error message.

◆ _max

MP_real GridReal::_max
protected

◆ _min

MP_real GridReal::_min
protected

Minimum and maximum of values.

◆ _name

MP_string GridReal::_name
protected

Variable name.

◆ _undef_string

MP_string GridReal::_undef_string
protected

Undefined string.

◆ _undef_value

MP_real GridReal::_undef_value
protected

Undefined value.

◆ _values

RealList GridReal::_values
protected

Grid values (at any time, vector size should be _nx*_ny*_nz)