26 namespace unstructured_impl {
34 template<
size_t DIMENSION,
typename REAL_TYPE =
double>
39 using connectivity_t = std::vector<std::vector<size_t>>;
74 virtual std::vector<size_t>
75 entities(
size_t from_dimension,
size_t to_dimension,
size_t id)
const = 0;
86 virtual const connectivity_t &
entities(
size_t from_dimension,
87 size_t to_dimension)
const = 0;
100 virtual std::set<size_t>
101 entities_set(
size_t from_dimension,
size_t to_dimension,
size_t id)
const {
102 auto vvec =
entities(from_dimension, to_dimension,
id);
103 return std::set<size_t>(vvec.begin(), vvec.end());
Definition: definition.hh:35
virtual std::set< size_t > entities_set(size_t from_dimension, size_t to_dimension, size_t id) const
Definition: definition.hh:101
virtual std::vector< size_t > entities(size_t from_dimension, size_t to_dimension, size_t id) const =0
Definition: dimensioned_array.hh:58
virtual size_t num_entities(size_t dimension) const =0
Definition: control.hh:31
static constexpr size_t dimension()
Definition: definition.hh:51