Skip to content

Commit

Permalink
[FIX] Fixes order in the tail of the list with face position in `Crea…
Browse files Browse the repository at this point in the history
…te_new_br_files::write_mesh()` routine in `bifrost.py`
  • Loading branch information
M1kol4j committed Nov 14, 2019
1 parent 6de7438 commit 9692de7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helita/sim/bifrost.py
Original file line number Diff line number Diff line change
Expand Up @@ -1804,6 +1804,8 @@ def __xxdn(f):
x[i] = x[4] - (4 - i) * (x[5] - x[4])
for i in range(1, 4):
x[nx - i] = x[nx - 4] + i * (x[nx - 4] - x[nx - 5])

x[nx-3:] = x[nx-3:][::-1] # fixes order in the tail of x
return x

def __ddxxup(f, dx=None):
Expand Down

0 comments on commit 9692de7

Please sign in to comment.