23 [&](
auto const& element_id)
24 { media_map.checkElementHasMedium(element_id); });
29 ranges::views::transform([&](
auto const& medium)
33 assert(!all_phases.empty());
36 if (ranges::any_of(all_phases,
37 [p0 = all_phases.front()](
auto const*
const p)
38 { return p->name != p0->name; }))
41 "You are mixing liquid and gas phases in your model domain. OGS "
42 "does not yet know how to handle this.");