STATISTICS: Calculate pressure for the isothermal case.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
This commit is contained in:
Grzegorz Kowal 2024-07-03 22:36:02 -03:00
parent b37f8997ea
commit 0e703cf9b5

View File

@ -1251,6 +1251,14 @@ module statistics
!
gavg(:) = gavg(:) * voli
! calculate pressure for the isothermal case
!
if (ipr <= 0) then
gavg(2) = csnd2 * gavg(1)
gmin(2) = csnd2 * gmin(1)
gmax(2) = csnd2 * gmax(1)
end if
! write down the integrals and statistics to appropriate files
!
if (master) then