Skip to content

Commit

Permalink
Merge pull request #2035 from johnpaulalex/hist_doc_master
Browse files Browse the repository at this point in the history
doc that masterlist actflag is just h0 in practice, doc that masterlist has all the fields.
  • Loading branch information
ekluzek authored Jan 16, 2025
2 parents 6fddf3c + de32263 commit 2dca24c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/main/histFileMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,11 @@ end subroutine copy_entry_interface
end interface

! Additional per-field metadata. See also history_entry.
! These values are specified in hist_addfld* calls but then can be
! overridden by namelist params like hist_fincl1.
! For the primary history tape, some fields are enabled here (inside hist_addfld*
! call) but then can be overridden by namelist params (like hist_fincl1). The
! fields for other history tapes are theoretically settable here but in
! practice are all disabled. Fields for those tapes have to be specified
! explicitly and manually via hist_fincl2 et al.
type, extends(entry_base) :: allhistfldlist_entry
logical :: actflag(max_tapes) ! which history tapes to write to.
character(len=avgflag_strlen) :: avgflag(max_tapes) ! type of time averaging
Expand Down Expand Up @@ -303,8 +306,8 @@ end subroutine copy_entry_interface
type (clmpoint_ra) :: clmptr_ra(max_mapflds) ! Real array data (2D)
!
! History field metadata including which history tapes (if any) it should be output to, and
! type of accumulation to perform. The field ordering is arbitrary, depending on the order of
! hist_addfld* calls in the code.
! type of accumulation to perform. This list contains all possible fields, and their field ordering
! is arbitrary, as it depends on the order of hist_addfld* calls in the code.
! For the field data itself, see 'tape'.
!
type (allhistfldlist_entry) :: allhistfldlist(max_flds) ! list of all history fields
Expand Down

0 comments on commit 2dca24c

Please sign in to comment.