30template <
typename T, MeshLib::MeshItemType MeshItemType>
44 std::map<
int, std::vector<double>>
58 :
static_cast<int>(
_vec_values.begin()->second.size());
70 OGS_FATAL(
"No data found for the group index {:d}", index);
72 auto const& values = v->second;
83 template <MeshLib::MeshItemType ITEM_TYPE>
107 std::string
const& name,
std::optional< std::size_t > getNodeID() const
std::optional< std::size_t > getElementID() const
std::unique_ptr< ParameterBase > createGroupBasedParameter(std::string const &name, BaseLib::ConfigTree const &config, MeshLib::Mesh const &mesh)
std::map< int, std::vector< T > > const _vec_values
GroupBasedParameter(std::string const &name_, MeshLib::Mesh const &mesh, MeshLib::PropertyVector< int > const &property, std::map< int, std::vector< double > > vec_values)
static std::optional< std::size_t > getMeshItemID(SpatialPosition const &pos, type< MeshLib::MeshItemType::Node >)
MeshLib::PropertyVector< int > const & _property_index
static std::optional< std::size_t > getMeshItemID(SpatialPosition const &pos, type< MeshLib::MeshItemType::Cell >)
bool isTimeDependent() const override
std::vector< T > operator()(double const, SpatialPosition const &pos) const override
Returns the parameter value at the given time and position.
int getNumberOfGlobalComponents() const override
MeshLib::Mesh const * mesh() const
std::vector< double > rotateWithCoordinateSystem(std::vector< double > const &values, SpatialPosition const &pos) const
std::optional< CoordinateSystem > _coordinate_system