Change output of Temp_ref from K to eV.
This commit is contained in:
parent
818da3132d
commit
7dcaaffc16
1 changed files with 4 additions and 3 deletions
|
|
@ -179,16 +179,17 @@ module output
|
||||||
|
|
||||||
subroutine writeOutputRef()
|
subroutine writeOutputRef()
|
||||||
use referenceValues, only: t_ref, L_ref, n_ref, u_ref, Temp_ref, phi_ref
|
use referenceValues, only: t_ref, L_ref, n_ref, u_ref, Temp_ref, phi_ref
|
||||||
|
use constantParameters, only: eV_to_K
|
||||||
|
|
||||||
character(len=7), parameter:: filename = 'ref.csv'
|
character(len=7), parameter:: filename = 'ref.csv'
|
||||||
|
|
||||||
write (*, '(A, A)') 'Writing: ', filename
|
write (*, '(A, A)') 'Writing: ', filename
|
||||||
open(unit=dataRef_id, file=pathOutput // filename)
|
open(unit=dataRef_id, file=pathOutput // filename)
|
||||||
write(dataRef_id, '(A,5(' // formatSep // ',A))') 't_ref (s)', 'L_ref (m)', 'n_ref (m^-3)', &
|
write(dataRef_id, '(A,5(' // formatSep // ',A))') 't_ref (s)', 'L_ref (m)', 'n_ref (m^-3)', &
|
||||||
'u_ref (m s^-1)', 'T_ref (K)', 'phi_ref (V)'
|
'u_ref (m s^-1)', 'T_ref (eV)', 'phi_ref (V)'
|
||||||
write(dataRef_id, '(' // formatFloat // ',5('// formatSep // ',' // formatFloat // '))') &
|
write(dataRef_id, '(' // formatFloat // ',5('// formatSep // ',' // formatFloat // '))') &
|
||||||
t_ref, L_ref, n_ref, &
|
t_ref, L_ref, n_ref, &
|
||||||
u_ref, Temp_ref, phi_ref
|
u_ref, Temp_ref/eV_to_K, phi_ref
|
||||||
|
|
||||||
close(dataRef_id)
|
close(dataRef_id)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue