|
| CellData (GridView grid_view) |
|
std::unique_ptr< CellData< typename GV::Grid::LeafGridView, T > > | makeLeafGridViewCellData () const |
| creates a cell data object with a copy data for the leaf grid view
|
|
std::size_t | capacity () const noexcept |
| Number of elements per entity that the container has currently allocated space for.
|
|
std::size_t | size () const noexcept |
| Number of elements per entity in the container.
|
|
std::size_t | max_size () const noexcept |
| Number of elements per entity that the container can ever hold container.
|
|
std::size_t | gridview_size () const noexcept |
| The size of the gridview - This gives the number of elements in the grid view.
|
|
const std::vector< std::string > & | keys () const noexcept |
| Return the keys of the cell data.
|
|
void | reserve (std::size_t new_cap) |
| Reservers new_cap elements per entity in the container.
|
|
void | shrink_to_fit () |
|
template<std::ranges::input_range R, class Proj = std::identity, std::indirect_unary_predicate< std::projected< std::ranges::iterator_t< R >, Proj > > Pred>
requires std::assignable_from<T&, std::ranges::range_value_t<R>> |
void | addData (std::string_view key, R &&r, Pred pred, Proj proj={}) |
|
template<std::ranges::input_range R>
requires std::assignable_from<T&, std::ranges::range_value_t<R>> |
void | addData (std::string_view key, R &&r) |
|
template<std::ranges::input_range R, class Proj = std::identity, std::indirect_unary_predicate< std::projected< std::ranges::iterator_t< R >, Proj > > Pred>
requires std::assignable_from<T&, std::tuple_element_t<1, std::ranges::range_value_t<R>>> |
void | addData (std::string_view key, R &&r, Pred pred, Proj proj={}) |
|
template<std::ranges::input_range R>
requires std::assignable_from<T&, std::tuple_element_t<1, std::ranges::range_value_t<R>>> |
void | addData (std::string_view key, R &&r) |
|
void | getData (const Concept::IndexableEntity< IndexSet > auto &entity, std::vector< T > &cell_data, std::vector< bool > &cell_mask) const |
|
std::optional< T > | getData (std::size_t id, const Concept::IndexableEntity< IndexSet > auto &entity) const |
|
std::optional< T > | getData (std::string_view key, const Concept::IndexableEntity< IndexSet > auto &entity) const |
|
template<Dune::Concept::GridView GV,
class T>
class Dune::Copasi::CellData< GV, T >
Container for cell data of a grid view.
- Template Parameters
-
GV | The grid view type |
T | The data type to store |