bendudson/BOUT

Input parsing broken

bendudson opened this issue · 1 comments

Previous (0.80 version) output:

Setting X differencing methods
First : Fourth order central (C4)
Second : Fourth order central (C4)
Upwind : Third order WENO (W3)
Setting Y differencing methods
First : Fourth order central (C4)
Second : Fourth order central (C4)
Upwind : Third order WENO (W3)
Setting Z differencing methods
First : Fourth order central (C4)
Second : Fourth order central (C4)

Upwind : Third order WENO (W3)

Current output with the same BOUT.inp file

Setting X differencing methods
First : Option first = (default)
Second order central (C2)
Second : Option second = (default)
Second order central (C2)
Upwind : Option upwind = (default)
First order upwinding (U1)
Flux : Option flux = (default)
Split into upwind and central (SPLIT)
Setting Y differencing methods
First : Option first = (default)
Second order central (C2)
Second : Option second = (default)
Second order central (C2)
Upwind : Option upwind = (default)
First order upwinding (U1)
Flux : Option flux = (default)
Split into upwind and central (SPLIT)
Setting Z differencing methods
First : Option first = (default)
Second order central (C2)
Second : Option second = (default)
Second order central (C2)
Upwind : Option upwind = (default)

Doesn't find the setting for some reason, and output needs to be tidied up to make more readable

Added trimming of '\r'. Closed by 35572c0

Reading of input files broken for DOS format since left
stray \r characters.

Now trims out and (appears) to work