Write the mesh information into the VTK output files.
Note: the unstructured meshes we write are consisting of voxels, this assumption is built into the code and exploited.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(hvs_vtk_file_type), | intent(in) | :: | vtk_file |
File handles to the files where the mesh data should be written to. |
||
type(tem_vrtx_type), | intent(in) | :: | vrtx |
Information on the vertices of the mesh |
||
integer, | intent(in) | :: | nElems |
Number of elements in the mesh |
subroutine hvs_vtk_write_meshdata(vtk_file, vrtx, nElems)
!> File handles to the files where the mesh data should be written to.
type(hvs_vtk_file_type), intent(in) :: vtk_file
!> Information on the vertices of the mesh
type(tem_vrtx_type), intent(in) :: vrtx
!> Number of elements in the mesh
integer, intent(in) :: nElems
! ----------------------------------------------------------------------!
write(logUnit(0),*) 'Using dummy hvs_vtk_write_meshdata because'
write(logUnit(0),*) 'executable is configured with --no_vtk'
call tem_abort()
end subroutine hvs_vtk_write_meshdata