All actions related to path/fodler should be in moduleOutput now

This commit is contained in:
Jorge Gonzalez 2026-03-11 20:23:08 +01:00
commit 551a488fde
7 changed files with 16 additions and 64 deletions

View file

@ -257,7 +257,7 @@ MODULE moduleOutput
IF (timeOutput) THEN
IF (PRESENT(first)) THEN
IF (first) THEN
OPEN(20, file = path // folder // '/' // fileName, action = 'write')
OPEN(20, file = generateFilePath(fileName), action = 'write')
WRITE(20, "(A1, 8X, A1, 9X, A1, 7(A20))") "#","t","n","total (s)","push (s)","reset (s)", &
"collision (s)","coulomb (s)", &
"weighting (s)","EMField (s)"
@ -268,7 +268,7 @@ MODULE moduleOutput
END IF
OPEN(20, file = path // folder // '/' // fileName, position = 'append', action = 'write')
OPEN(20, file = generateFilePath(fileName), position = 'append', action = 'write')
WRITE (20, "(I10, I10, 7(ES20.6E3))") timeStep, nPartOld, tStep, tPush, tReset, tColl, tCoul, tWeight, tEMField