VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
Loading...
Searching...
No Matches
heading.f90
Go to the documentation of this file.
1
3
7SUBROUTINE heading(extension)
8 USE vmec_main, ONLY: rprec
9 USE vparams, ONLY: nthreed
10 USE vmec_params, ONLY: version_
11 IMPLICIT NONE
12
13 CHARACTER(LEN=50), PARAMETER :: banner = ' THIS IS VMEC2000, A 3D EQUILIBRIUM CODE, VERSION '
14 CHARACTER(LEN=*), PARAMETER :: VersionID1 = ' Lambda: Full Radial Mesh. L-Force: hybrid full/half.'
15
16 CHARACTER(LEN=*), intent(in) :: extension
17
18 CHARACTER(LEN=50) :: Version
19 LOGICAL :: lfirst
20
21 CHARACTER(LEN=100) :: computer, os, os_release
22
23 ! Open output files
24 CALL open_output_files (extension, lfirst)
25
26 IF (lfirst) then
27 WRITE (*,'(2a)') ' PROCESSING INPUT.', trim(extension)
28
29 version = trim(adjustl(version_))
30
31 ! SAL some weird error about file not being ready
32 CALL flush(nthreed)
33
34 WRITE(nthreed,'(a,1x,a,/,a,/)') trim(banner), trim(version), trim(versionid1)
35 WRITE(*,'(1x,a,1x,a,/,1x,a,/)') trim(banner), trim(version), trim(versionid1)
36 end if
37
38END SUBROUTINE heading
subroutine heading(extension)
Open output files and print banner message at the top.
Definition heading.f90:8
character(len= *), parameter version_
integer nthreed
Definition vparams.f90:28
subroutine open_output_files(extension, lfirst)
Open output files.