Subroutine to dump property header informations into a Lua file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_prophead_type), | intent(in) | :: | me(:) |
Property to write |
||
type(aot_out_type) | :: | conf |
aotus lua state to write output |
subroutine dump_tem_prophead(me, conf) ! -------------------------------------------------------------------- ! !> Property to write type(tem_prophead_type), intent(in) :: me(:) !> aotus lua state to write output type(aot_out_type) :: conf ! -------------------------------------------------------------------- ! integer :: iprop ! -------------------------------------------------------------------- ! ! open property table call aot_out_open_table( conf, 'property' ) do iprop=1, size(me) call aot_out_open_table( conf ) call aot_out_val( put_conf = conf, & & vname = 'label', & & val = trim(me(iprop)%label) ) call aot_out_val( put_conf = conf, & & vname = 'bitpos', & & val = me(iprop)%bitpos ) call aot_out_val( put_conf = conf, & & vname = 'nElems', & & val = me(iprop)%nElems ) call aot_out_close_table(conf) end do call aot_out_close_table(conf) end subroutine dump_tem_prophead