-/**
- * \brief Reinits the application part of the simulation (experimental feature)
- *
- * This function allows you to run several simulations on the same platform
- * by resetting the part describing the application.
- *
- * @warning: this function is still experimental and not perfect. For example,
- * the simulation clock (and traces usage) is not reset. So, do not use it if
- * you use traces in your simulation, and do not use absolute timing after
- * using it.
- * That being said, this function is still precious if you want to compare a
- * bunch of heuristics on the same platforms.
- */
-void SD_application_reinit(void)
-{
-
-// s_SD_task_t task;
-
-// SD_task_t done_task, next_done_task;
- xbt_die("This function is not working since the C++ links and others. Please report the problem if you really need that function.");
-
- XBT_DEBUG("Recreating the swags...");
-
-// xbt_swag_foreach_safe(done_task, next_done_task, sd_global->done_task_set){
-// if (xbt_dynar_is_empty(done_task->tasks_before)){
-// __SD_task_set_state(done_task, SD_SCHEDULABLE);
-// } else{
-// __SD_task_set_state(done_task, SD_NOT_SCHEDULED);
-// done_task->unsatisfied_dependencies =
-// xbt_dynar_length(done_task->tasks_before);
-// done_task->is_not_ready = done_task->unsatisfied_dependencies;
-// }
-// free(done_task->workstation_list);
-// done_task->workstation_list = NULL;
-// done_task->workstation_nb = 0;
-// }
-
- sd_global->task_number = 0;
-
-
-#ifdef HAVE_JEDULE
- jedule_sd_cleanup();
- jedule_sd_init();
-#endif
-}
-