-/* Copyright (c) 2013-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2013-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
engine->get_netzone_root()->set_host_model(host_model);
surf_cpu_model_init_Cas01();
surf_disk_model_init_S19();
- surf_network_model_init_LegrandVelho();
+ simgrid_network_models().by_name("LV08").init();
}
void surf_host_model_init_compound()
auto system = net_model->get_maxmin_system();
auto* action = net_model->communicate(src_host, dst_host, size, -1, true);
- size_t nb_disks = 0;
- if (src_disk != nullptr)
- nb_disks++;
- if (dst_disk != nullptr)
- nb_disks++;
-
// We don't want to apply the network model bandwidth factor to the I/O constraints
double bw_factor = net_model->get_bandwidth_factor();
if (src_disk != nullptr){