Writes scalar attributes.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(h5hut_obj), | intent(inout) | :: | this |
A H5hut object |
||
| character(len=*), | intent(in) | :: | label |
Attribute label |
||
| class(*), | intent(in) | :: | val |
Value associated with attribute |
impure subroutine h5hut_obj_WriteAttributes0D(this,label,val) !> Writes scalar attributes. implicit none class(h5hut_obj), intent(inout) :: this !! A H5hut object character(len=*), intent(in) :: label !! Attribute label class(*), intent(in) :: val !! Value associated with attribute ! Move to latest step call this%SetStep(this%GetNSteps()) ! Write attributes call this%hdf5%WriteAttributes(this%step_name,trim(adjustl(label)),val) return end subroutine h5hut_obj_WriteAttributes0D