Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fluids: Stats don't overwrite solution on first-step failure
- When you have an initial condition from a previous problem, it might fail on the first step. This will cause `reason != TS_CONVERGED_ITERATING` and thus it will continue on with the rest of the TSMonitor routine. If you have a stats file from that initial condition, it will be overwritten. Regardless of the overwriting behavior, it *never* makes sense to write out a stats file on the first step; Using left-rectangle rule for the time averaging integration, the initial step should *never* be used, thus there is nothing to collect or write.
- Loading branch information