forked from lijiext/lammps
removed custom error message, information is added to error->one() call
This commit is contained in:
parent
cdf091f228
commit
6cfdcd1000
|
@ -439,7 +439,6 @@ bool FixScafacos::check_result(FCSResult result, int comm_rank)
|
|||
{
|
||||
if (result)
|
||||
{
|
||||
fprintf(stdout,"ScaFaCoS Error: Caught error on task %d.\n", comm_rank);
|
||||
std::string err_msg;
|
||||
std::stringstream ss;
|
||||
|
||||
|
@ -447,7 +446,7 @@ bool FixScafacos::check_result(FCSResult result, int comm_rank)
|
|||
<< fcs_result_get_message(result) << "\n";
|
||||
err_msg = ss.str();
|
||||
|
||||
error -> one(FLERR, err_msg.c_str());
|
||||
error->one(FLERR, err_msg.c_str());
|
||||
fcs_result_destroy(result);
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue