[1D] Fixed pruning-related logging to respect the current log level
This commit is contained in:
parent
09126726f0
commit
f6c19b7456
1 changed files with 3 additions and 2 deletions
|
|
@ -453,8 +453,9 @@ int Sim1D::refine(int loglevel)
|
|||
}
|
||||
}
|
||||
} else {
|
||||
writelog(string("refine: discarding point at ")+fp2str(d.grid(m))+"\n");
|
||||
; // throw CanteraError("refine","keepPoint is false at m = "+int2str(m));
|
||||
if (loglevel > 0) {
|
||||
writelog(string("refine: discarding point at ")+fp2str(d.grid(m))+"\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
dsize.push_back(znew.size() - nstart);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue