Write the cell data description into the VTK files.
This will write the celldata string into the VTK files.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(hvs_vtk_file_type), | intent(in) | :: | vtk_file |
Handles for the VTK files to write the celldata to. |
||
character(len=*), | intent(in) | :: | celldata_str |
Actual string to put into the XML to describe the celldata. |
subroutine hvs_vtk_write_cd_Header(vtk_file, celldata_str) !> Handles for the VTK files to write the celldata to. type(hvs_vtk_file_type), intent(in) :: vtk_file !> Actual string to put into the XML to describe the celldata. character(len=*), intent(in) :: celldata_str ! ----------------------------------------------------------------------! character :: linebreak character(len=PathLen) :: headerline ! ----------------------------------------------------------------------! linebreak = new_line('x') ! cell based vtk output write(headerline,'(a)') ' <CellData'//trim(celldata_str)//'>' write(vtk_file%outunit) trim(headerline)//linebreak if (vtk_file%write_pvtu) then write(headerline,'(a)') ' <PCellData'//trim(celldata_str)//'>' write(vtk_file%punit) trim(headerline)//linebreak end if end subroutine hvs_vtk_write_cd_Header