From 8f905637b78629d020f7569cb77fe58e3fb981d7 Mon Sep 17 00:00:00 2001 From: JGonzalez Date: Thu, 12 Mar 2026 21:55:22 +0100 Subject: [PATCH] Just noticed the reference file was not including units in the header --- src/modules/output/moduleOutput.f90 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/modules/output/moduleOutput.f90 b/src/modules/output/moduleOutput.f90 index cc2a08c..ab2d341 100644 --- a/src/modules/output/moduleOutput.f90 +++ b/src/modules/output/moduleOutput.f90 @@ -285,8 +285,20 @@ MODULE moduleOutput implicit none open (fileID_reference, file=generateFilePath('reference.csv')) - write(fileID_reference, "(*("//fmtColStr//"))") '"L_ref"','"v_ref"','"ti_ref"','"Vol_ref"','"EF_ref"','"Volt_ref"','"B_ref"' - write(fileID_reference, "(*("//fmtColReal//"))") L_ref, v_ref, ti_ref, Vol_ref, EF_ref, Volt_ref, B_ref + write(fileID_reference, "(*("//fmtColStr//"))") '"L_ref (m)"', & + '"v_ref (m s^-1)"', & + '"ti_ref (s)"', & + '"Vol_ref (m^3)"', & + '"EF_ref (V m^-1)"', & + '"Volt_ref (V)"', & + '"B_ref (T)"' + write(fileID_reference, "(*("//fmtColReal//"))") L_ref, & + v_ref, & + ti_ref, & + Vol_ref, & + EF_ref, & + Volt_ref, & + B_ref close(fileID_reference) end subroutine writeReference