OGS
|
Definition at line 18 of file RasterParameter.h.
#include <RasterParameter.h>
Public Member Functions | |
RasterParameter (std::string const &name_, GeoLib::NamedRaster const &named_raster) | |
bool | isTimeDependent () const override |
int | getNumberOfGlobalComponents () const override |
std::vector< double > | operator() (double const, SpatialPosition const &pos) const override |
Returns the parameter value at the given time and position. | |
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > | getNodalValuesOnElement (MeshLib::Element const &element, double const t) const override |
Returns a matrix of values for all nodes of the given element. | |
Public Member Functions inherited from ParameterLib::Parameter< double > | |
~Parameter () override=default | |
ParameterBase (std::string name_, MeshLib::Mesh const *mesh=nullptr) | |
Public Member Functions inherited from ParameterLib::ParameterBase | |
ParameterBase (std::string name_, MeshLib::Mesh const *mesh=nullptr) | |
virtual | ~ParameterBase ()=default |
void | setCoordinateSystem (CoordinateSystem const &coordinate_system) |
virtual void | initialize (std::vector< std::unique_ptr< ParameterBase > > const &) |
MeshLib::Mesh const * | mesh () const |
Private Attributes | |
GeoLib::NamedRaster const & | _named_raster |
Additional Inherited Members | |
Public Attributes inherited from ParameterLib::ParameterBase | |
std::string const | name |
Protected Member Functions inherited from ParameterLib::ParameterBase | |
std::vector< double > | rotateWithCoordinateSystem (std::vector< double > const &values, SpatialPosition const &pos) const |
Protected Attributes inherited from ParameterLib::ParameterBase | |
std::optional< CoordinateSystem > | _coordinate_system |
MeshLib::Mesh const * | _mesh |
|
inlineexplicit |
Definition at line 20 of file RasterParameter.h.
|
inlineoverridevirtual |
Returns a matrix of values for all nodes of the given element.
Reimplemented from ParameterLib::Parameter< double >.
Definition at line 43 of file RasterParameter.h.
References MeshLib::Element::getNodes(), getNumberOfGlobalComponents(), MeshLib::Element::getNumberOfNodes(), operator()(), and ParameterLib::SpatialPosition::setCoordinates().
|
inlineoverridevirtual |
Returns the number of components this Parameter has at every position and point in time.
Implements ParameterLib::Parameter< double >.
Definition at line 28 of file RasterParameter.h.
Referenced by getNodalValuesOnElement().
|
inlineoverridevirtual |
Implements ParameterLib::ParameterBase.
Definition at line 26 of file RasterParameter.h.
|
inlineoverridevirtual |
Returns the parameter value at the given time and position.
Implements ParameterLib::Parameter< double >.
Definition at line 30 of file RasterParameter.h.
References _named_raster, ParameterLib::SpatialPosition::getCoordinates(), OGS_FATAL, and GeoLib::NamedRaster::raster.
Referenced by getNodalValuesOnElement().
|
private |
Definition at line 65 of file RasterParameter.h.
Referenced by operator()().