Skip to content

Commit 0ecc443

Browse files
committed
included field configuration in the header. 0 is unreversed and 1 is reversed wrt GRMHD data
1 parent bc87ce6 commit 0ecc443

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

model/iharm/model.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,6 +1227,7 @@ void output_hdf5()
12271227
hdf5_write_single_val(&ELECTRONS, "type", H5T_STD_I32LE);
12281228

12291229
hdf5_set_directory("/header/");
1230+
hdf5_write_single_val(&reverse_field,"field_config",H5T_STD_I32LE);
12301231
hdf5_make_directory("units");
12311232
hdf5_set_directory("/header/units/");
12321233
hdf5_write_single_val(&L_unit, "L_unit", H5T_IEEE_F64LE);

0 commit comments

Comments
 (0)