write out the complete list of elements of a given level
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_element_type), | intent(in) | :: | me | |||
integer, | intent(in) | :: | nUnit | |||
character(len=*), | intent(in) | :: | string | |||
logical, | intent(in), | optional | :: | stencil | ||
logical, | intent(in), | optional | :: | compact |
subroutine tem_elemList_dump( me, nUnit, string, stencil, compact ) ! --------------------------------------------------------------------------- type( tem_element_type ), intent(in) :: me integer, intent(in) :: nUnit character(len=*), intent(in) :: string logical, intent(in), optional :: stencil logical, intent(in), optional :: compact ! --------------------------------------------------------------------------- integer :: iElem ! --------------------------------------------------------------------------- write(nUnit, *) '=========================================================' write(nUnit, *) '= ', trim(string), ', size: ', me%tID%nVals write(nUnit, *) '=========================================================' do iElem = 1, me%tID%nVals call tem_element_dump( me = me, & & elemPos = iElem, & & nUnit = nUnit, & & header = (mod(iElem,32)==1), & & compact = compact, & & stencil = stencil ) end do write(nUnit, *) '== DONE! ', trim(string) write(nUnit, *) '=========================================================' end subroutine tem_elemList_dump