Skip to content

Commit

Permalink
add entropy to output H% file
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan O'Connor committed Jul 13, 2017
1 parent 7308d47 commit fb4535e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/restart_H5.F90
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,14 @@ subroutine restart_output_h5
call h5sclose_f(dspace_id, error)
cerror = cerror + error

call h5screate_simple_f(rank, dims1, dspace_id, error)
call h5dcreate_f(file_id, "entropy", H5T_NATIVE_DOUBLE, dspace_id,&
& dset_id, error)
call h5dwrite_f(dset_id, H5T_NATIVE_DOUBLE, entropy, dims1, error)
call h5dclose_f(dset_id, error)
call h5sclose_f(dspace_id, error)
cerror = cerror + error

call h5screate_simple_f(rank, dims1, dspace_id, error)
call h5dcreate_f(file_id, "ye", H5T_NATIVE_DOUBLE, dspace_id,&
& dset_id, error)
Expand Down

0 comments on commit fb4535e

Please sign in to comment.