*/
XBT_PUBLIC_DATA s_surf_model_description_t surf_cpu_model_description[];
-/** \ingroup SURF_models
- * \brief The network model
- *
- * When creating a new API on top on SURF, you shouldn't use the network model unless you know what you are doing.
- * Only the host model should be accessed because depending on the platform model, the network model can be NULL.
- */
-XBT_PUBLIC_DATA surf_network_model_t surf_network_model;
-
/** \ingroup SURF_models
* \brief Same as network model 'LagrangeVelho', only with different correction factors.
*
}
}
+/** \ingroup SURF_models
+ * \brief The network model
+ */
+XBT_PUBLIC_DATA simgrid::surf::NetworkModel* surf_network_model;
+
#endif /* SURF_NETWORK_INTERFACE_HPP_ */