[numerics] inprove log message when unknown solver occurs in fc3d_driver
@@ -283,7 +283,12 @@ int fc3d_driver(FrictionContactProblem* problem,
}
default:
{
- numerics_error("fc3d_driver", "Unknown solver.");
+ char msg[200];
+ strcpy(msg, "Unknown solver : ");
+ strcat(msg, solver_options_id_to_name(options->solverId));
+ strcat(msg, "\n");
+ numerics_warning("fc3d_driver", msg);
+ numerics_error("fc3d_driver", msg);
info = 1;
}
}
