hvs_vtk_open Subroutine

public subroutine hvs_vtk_open(vtk_file, use_iter, proc, time)

Open the output files in VTK format.

This will open VTU files and if multiple processes are used a PVTU file. We always write unstructured meshes, so we also write the header for the unstructured mesh here already. The actual mesh data is then to be written by hvs_vtk_write_meshdata.


type(hvs_vtk_file_type), intent(inout) :: vtk_file

The file description to open.

logical, intent(in) :: use_iter

User specified settings for the output Whether to use iteration as part of filename

type(tem_comm_env_type), intent(in) :: proc

Parallel environment to use for the output.

type(tem_time_type), intent(in), optional :: time

Time information.

If this is present, the filename will be built with a time stamp and the time point information is written into the vtu file.


proc~~hvs_vtk_open~~CallsGraph proc~hvs_vtk_open hvs_vtk_open proc~tem_open tem_open proc~hvs_vtk_open->proc~tem_open proc~tem_time_sim_stamp tem_time_sim_stamp proc~hvs_vtk_open->proc~tem_time_sim_stamp proc~tem_time_iter_stamp tem_time_iter_stamp proc~hvs_vtk_open->proc~tem_time_iter_stamp proc~tem_abort tem_abort proc~tem_open->proc~tem_abort proc~newunit newunit proc~tem_open->proc~newunit proc~upper_to_lower upper_to_lower proc~tem_open->proc~upper_to_lower mpi_abort mpi_abort proc~tem_abort->mpi_abort

Called by

proc~~hvs_vtk_open~~CalledByGraph proc~hvs_vtk_open hvs_vtk_open proc~hvs_output_open hvs_output_open proc~hvs_output_open->proc~hvs_vtk_open proc~hvs_dump_debug_array hvs_dump_debug_array proc~hvs_dump_debug_array->proc~hvs_vtk_open proc~tem_tracker tem_tracker proc~tem_tracker->proc~hvs_output_open



character(len=PathLen), public :: filename
character(len=PathLen), public :: headerline
character, public :: linebreak
integer, public :: pos
character(len=labelLen), public :: byte_order