Skip to content

Commit

Permalink
don't use \x0bScalar
Browse files Browse the repository at this point in the history
  • Loading branch information
pordyna committed Jun 26, 2020
1 parent f495b33 commit 95d10d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def compare_with_fft(species, bound_electrons, rotation=None):
series_output = api.Series(path_output, api.Access_Type.read_only)
i = series_output.iterations[0]
e_mesh = i.meshes['e_density']
ed = e_mesh['\x0bScalar']
ed = e_mesh[api.Mesh_Record_Component.SCALAR]
electron_density = ed.load_chunk()
# ions have the same density in this setup
electron_density *= bound_electrons
Expand Down

0 comments on commit 95d10d3

Please sign in to comment.