18 #if !defined(__FLECSI_PRIVATE__) 19 #error Do not include this file directly! 29 template<
typename TOPOLOGY_TYPE>
31 using data_t =
typename TOPOLOGY_TYPE::core;
32 using coloring =
typename TOPOLOGY_TYPE::coloring;
34 data_t & allocate(
const coloring & coloring_reference) {
35 return data.emplace(coloring_reference);
45 const data_t &
get()
const {
50 std::optional<data_t> data;
Definition: topology_slot.hh:27
Definition: topology_slot.hh:30
Definition: control.hh:31