use standard string length
This commit is contained in:
parent
b10e862be8
commit
41650cdd11
|
@ -277,7 +277,7 @@ logical function HDF5_objectExists(loc_id,path)
|
|||
character(len=*), intent(in), optional :: path
|
||||
|
||||
integer :: hdferr
|
||||
character(len=256) :: p
|
||||
character(len=pStringLen) :: p
|
||||
|
||||
if (present(path)) then
|
||||
p = trim(path)
|
||||
|
@ -308,7 +308,7 @@ subroutine HDF5_addAttribute_str(loc_id,attrLabel,attrValue,path)
|
|||
integer :: hdferr
|
||||
integer(HID_T) :: attr_id, space_id, type_id
|
||||
logical :: attrExists
|
||||
character(len=256) :: p
|
||||
character(len=pStringLen) :: p
|
||||
|
||||
if (present(path)) then
|
||||
p = trim(path)
|
||||
|
@ -355,7 +355,7 @@ subroutine HDF5_addAttribute_int(loc_id,attrLabel,attrValue,path)
|
|||
integer :: hdferr
|
||||
integer(HID_T) :: attr_id, space_id
|
||||
logical :: attrExists
|
||||
character(len=256) :: p
|
||||
character(len=pStringLen) :: p
|
||||
|
||||
if (present(path)) then
|
||||
p = trim(path)
|
||||
|
@ -396,7 +396,7 @@ subroutine HDF5_addAttribute_real(loc_id,attrLabel,attrValue,path)
|
|||
integer :: hdferr
|
||||
integer(HID_T) :: attr_id, space_id
|
||||
logical :: attrExists
|
||||
character(len=256) :: p
|
||||
character(len=pStringLen) :: p
|
||||
|
||||
if (present(path)) then
|
||||
p = trim(path)
|
||||
|
@ -438,7 +438,7 @@ subroutine HDF5_addAttribute_int_array(loc_id,attrLabel,attrValue,path)
|
|||
integer(HID_T) :: attr_id, space_id
|
||||
integer(HSIZE_T),dimension(1) :: array_size
|
||||
logical :: attrExists
|
||||
character(len=256) :: p
|
||||
character(len=pStringLen) :: p
|
||||
|
||||
if (present(path)) then
|
||||
p = trim(path)
|
||||
|
@ -482,7 +482,7 @@ subroutine HDF5_addAttribute_real_array(loc_id,attrLabel,attrValue,path)
|
|||
integer(HID_T) :: attr_id, space_id
|
||||
integer(HSIZE_T),dimension(1) :: array_size
|
||||
logical :: attrExists
|
||||
character(len=256) :: p
|
||||
character(len=pStringLen) :: p
|
||||
|
||||
if (present(path)) then
|
||||
p = trim(path)
|
||||
|
|
|
@ -584,7 +584,7 @@ end subroutine constitutive_collectDeltaState
|
|||
subroutine constitutive_results
|
||||
|
||||
integer :: p
|
||||
character(len=256) :: group
|
||||
character(len=pStringLen) :: group
|
||||
do p=1,size(config_name_phase)
|
||||
group = trim('current/constituent')//'/'//trim(config_name_phase(p))
|
||||
call HDF5_closeGroup(results_addGroup(group))
|
||||
|
|
Loading…
Reference in New Issue