/* update the model's node count */ void resize_thermal_model(RC_model_t *model, int n_units) { if (model->type == BLOCK_MODEL) resize_thermal_model_block(model->block, n_units); else if (model->type == GRID_MODEL) resize_thermal_model_grid(model->grid, n_units); else fatal("unknown model type\n"); }
/* update the model's node count */ void resize_thermal_model(RC_model_t *model, int n_units) { if (model->type == BLOCK_MODEL) resize_thermal_model_block(model->block, n_units); else if (model->type == GRID_MODEL) /* will be implemented only when grid model and HotFloorplan are integrated */ fatal("function not implemented yet\n"); else fatal("unknown model type\n"); }