git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5254
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
surf_action_t commAB = NULL;
double now = -1.0;
surf_action_t commAB = NULL;
double now = -1.0;
- surf_workstation_model_init_CLM03(platform);
+ int workstation_id =
+ find_model_description(surf_workstation_model_description,
+ surf_workstation_model_description_size,
+ "CLM03");
+
+ surf_workstation_model_description[workstation_id].model_init(platform);
+ parse_platform_file(platform);
+ if (surf_workstation_model_description[workstation_id].create_ws)
+ surf_workstation_model_description[workstation_id].create_ws();
/*********************** WORKSTATION ***********************************/
workstationA =
/*********************** WORKSTATION ***********************************/
workstationA =