X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6126924e83eded994bef252b90becedc31015a59..a539cc1790aed8a1549a6cde5cdddc0876615851:/src/surf/sg_platf.cpp diff --git a/src/surf/sg_platf.cpp b/src/surf/sg_platf.cpp index aaf5bfa517..b3eaf619cf 100644 --- a/src/surf/sg_platf.cpp +++ b/src/surf/sg_platf.cpp @@ -63,7 +63,7 @@ void sg_platf_exit() { surf_parse_lex_destroy(); } -/** @brief Add an host to the current AS */ +/** @brief Add a host to the current AS */ void sg_platf_new_host(simgrid::kernel::routing::HostCreationArgs* args) { std::map props; @@ -633,13 +633,13 @@ void sg_platf_new_Zone_seal() current_routing = static_cast(current_routing->get_father()); } -/** @brief Add a link connecting an host to the rest of its AS (which must be cluster or vivaldi) */ +/** @brief Add a link connecting a host to the rest of its AS (which must be cluster or vivaldi) */ void sg_platf_new_hostlink(simgrid::kernel::routing::HostLinkCreationArgs* hostlink) { simgrid::kernel::routing::NetPoint* netpoint = sg_host_by_name(hostlink->id.c_str())->pimpl_netpoint; xbt_assert(netpoint, "Host '%s' not found!", hostlink->id.c_str()); xbt_assert(dynamic_cast(current_routing), - "Only hosts from Cluster and Vivaldi ASes can get an host_link."); + "Only hosts from Cluster and Vivaldi ASes can get a host_link."); simgrid::s4u::Link* linkUp = simgrid::s4u::Link::by_name_or_null(hostlink->link_up); simgrid::s4u::Link* linkDown = simgrid::s4u::Link::by_name_or_null(hostlink->link_down);