Output of standard deviation

The output for the standard deviation (still Gmsh2 only) was added.

Change in the output routines to reduce code repetition.
This commit is contained in:
Jorge Gonzalez 2022-12-15 11:40:24 +01:00
commit 5509332980
6 changed files with 256 additions and 192 deletions

View file

@ -1203,12 +1203,15 @@ MODULE moduleInput
CALL config%get('average.startTime', tStart, found)
IF (found) THEN
averageScheme%tStart = INT(tStart / tauMin)
tAverageStart = INT(tStart / tauMin)
END IF
ALLOCATE(averageScheme%mean(1:mesh%numNodes))
ALLOCATE(averageScheme(1:mesh%numNodes))
DO n = 1, mesh%numNodes
ALLOCATE(averageScheme%mean(n)%output(1:nSpecies))
ALLOCATE(averageScheme(n)%mean%output(1:nSpecies))
ALLOCATE(averageScheme(n)%deviation%output(1:nSpecies))
END DO