Allows the output of array of varSys to lua out
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_varSys_type), | intent(in) | :: | me(:) |
variable to write into the lua file |
||
type(aot_out_type), | intent(inout) | :: | conf |
aotus type handling the output to the file in lua format |
||
integer, | intent(in), | optional | :: | dumpVarPos(:) |
Position of variables to dump |
subroutine tem_varSys_out_vector(me, conf, dumpVarPos)
! ---------------------------------------------------------------------------
!> variable to write into the lua file
type(tem_varSys_type), intent(in) :: me(:)
!> aotus type handling the output to the file in lua format
type(aot_out_type), intent(inout) :: conf
!> Position of variables to dump
integer, optional, intent(in) :: dumpVarPos(:)
! ---------------------------------------------------------------------------
integer :: iSys
! ---------------------------------------------------------------------------
call aot_out_open_table( put_conf = conf, tname='varsys' )
do iSys = 1, size(me)
call tem_varSys_out_single( me = me(iSys), &
& conf = conf, &
& dumpVarPos = dumpVarPos, &
& level = 1 )
end do
call aot_out_close_table( put_conf = conf )
end subroutine tem_varSys_out_vector