1 /* Copyright (c) 2009-2022. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
10 #include "simgrid/kernel/routing/EmptyZone.hpp"
12 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(ker_routing_none, ker_routing, "Kernel No Routing");
18 void EmptyZone::get_graph(const s_xbt_graph_t* /*graph*/, std::map<std::string, xbt_node_t, std::less<>>* /*nodes*/,
19 std::map<std::string, xbt_edge_t, std::less<>>* /*edges*/)
21 xbt_die("No routing no graph");
23 } // namespace routing
27 NetZone* create_empty_zone(const std::string& name)
29 return (new kernel::routing::EmptyZone(name))->get_iface();
33 } // namespace simgrid