From 0ecc44365a5cd29594ade85c9f2b76fd7b9300c6 Mon Sep 17 00:00:00 2001 From: Abhishek Joshi Date: Thu, 15 Sep 2022 13:54:21 -0500 Subject: [PATCH] included field configuration in the header. 0 is unreversed and 1 is reversed wrt GRMHD data --- model/iharm/model.c | 1 + 1 file changed, 1 insertion(+) diff --git a/model/iharm/model.c b/model/iharm/model.c index ac441fa..efd9db4 100644 --- a/model/iharm/model.c +++ b/model/iharm/model.c @@ -1227,6 +1227,7 @@ void output_hdf5() hdf5_write_single_val(&ELECTRONS, "type", H5T_STD_I32LE); hdf5_set_directory("/header/"); + hdf5_write_single_val(&reverse_field,"field_config",H5T_STD_I32LE); hdf5_make_directory("units"); hdf5_set_directory("/header/units/"); hdf5_write_single_val(&L_unit, "L_unit", H5T_IEEE_F64LE);