Skip to content

Commit

Permalink
fix bug in initializing the starting point for meshline plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
liangjg committed Sep 25, 2016
1 parent e8e2208 commit 3353592
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/plot.F90
Expand Up @@ -239,10 +239,10 @@ subroutine draw_mesh_lines(pl, img)
xyz_ll_plot = pl % origin
xyz_ur_plot = pl % origin

xyz_ll_plot(outer) = pl % origin(1) - pl % width(1) / TWO
xyz_ll_plot(inner) = pl % origin(2) - pl % width(2) / TWO
xyz_ur_plot(outer) = pl % origin(1) + pl % width(1) / TWO
xyz_ur_plot(inner) = pl % origin(2) + pl % width(2) / TWO
xyz_ll_plot(outer) = pl % origin(outer) - pl % width(1) / TWO
xyz_ll_plot(inner) = pl % origin(inner) - pl % width(2) / TWO
xyz_ur_plot(outer) = pl % origin(outer) + pl % width(1) / TWO
xyz_ur_plot(inner) = pl % origin(inner) + pl % width(2) / TWO

width = xyz_ur_plot - xyz_ll_plot

Expand Down

0 comments on commit 3353592

Please sign in to comment.