hvs_output_init Subroutine

public subroutine hvs_output_init(out_file, out_config, tree, varsys, subtree, varPos, basename, timeControl, nDofs, globProc, solver, geometry, solSpec_unit)

Initialize the output for a given mesh.

This creates vertex for a mesh and fill hvs_output_file_type.


type(hvs_output_file_type), intent(inout) :: out_file

Output file settings It must be intent inout since ascii%reduction and trasient%reduction are loaded in tem_load_trackingHeader

type(hvs_output_config_type), intent(in) :: out_config

The output configuration settings to use.

type(treelmesh_type), intent(in) :: tree

Mesh of the data to visualize.

type(tem_varSys_type), intent(in) :: varsys

Description of the available variable system to get the given varnames from.

type(tem_subTree_type), intent(in), optional :: subtree

Optional restriction of the elements to output.

integer, intent(in), optional :: varPos(:)

List of variable positions that should be written in the output.

If this is not provided, all variables from the varsys will be written to the vtk file.

character(len=*), intent(in) :: basename

An extension to the output basename.

The filename will be constructed by tracking%header%prefix// tracking%header%label

type(tem_timeControl_type), intent(in), optional :: timeControl

output timeControl

integer, intent(in), optional :: nDofs

The number of dofs for each scalar variable of the equation system

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

Global communicator type for global rank information

type(tem_solveHead_type), intent(in) :: solver

Global solver information

type(tem_shape_type), intent(in), optional :: geometry(:)

shape defined for this ascii output

integer, intent(in), optional :: solSpec_unit

Solver specific unit for restart header


proc~~hvs_output_init~~CallsGraph proc~hvs_output_init hvs_output_init proc~tem_calc_vrtx_coord tem_calc_vrtx_coord proc~hvs_output_init->proc~tem_calc_vrtx_coord proc~tem_baryofid tem_BaryOfId proc~hvs_output_init->proc~tem_baryofid proc~tem_init_restart tem_init_restart proc~hvs_output_init->proc~tem_init_restart proc~tem_create_varmap tem_create_varMap proc~hvs_output_init->proc~tem_create_varmap proc~hvs_asciispatial_init hvs_asciiSpatial_init proc~hvs_output_init->proc~hvs_asciispatial_init proc~tem_dump_subtree tem_dump_subTree proc~hvs_output_init->proc~tem_dump_subtree proc~hvs_vtk_init hvs_vtk_init proc~hvs_output_init->proc~hvs_vtk_init proc~hvs_ascii_init hvs_ascii_init proc~hvs_output_init->proc~hvs_ascii_init

Called by

proc~~hvs_output_init~~CalledByGraph proc~hvs_output_init hvs_output_init proc~tem_init_tracker tem_init_tracker proc~tem_init_tracker->proc~hvs_output_init



integer, private :: iVar
integer, private :: iElem
integer(kind=long_k), private :: glob_nElems
integer(kind=long_k), private :: glob_nPoints
integer, private :: nElems
integer, private :: nPoints
integer(kind=long_k), private :: tTreeID
type(tem_varMap_type), private :: varMap