hvs_asciiSpatial_dump_elem_data Subroutine

public subroutine hvs_asciiSpatial_dump_elem_data(asciiSpatial, varpos, varSys, bary, mesh, subtree, time, nDofs)

Write a spatial representation for elements into an ascii tracking file

Each time this routine is called, a new file is written Filename: {tracking_folder}{tracking_label}spatial_{timestamp}.res e.g.: tracking/lineProbe_spatial_00001_01_01378.1.res Each process writes its own files

Arguments

TypeIntentOptionalAttributesName
type(hvs_asciiSpatial_type), intent(inout) :: asciiSpatial

The file description to open

integer, intent(in) :: varpos(:)

Positions of the variables to write

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

solver-provided variable systems

real(kind=rk), intent(in) :: bary(:,:)

Barycenter of elements

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

Mesh to write the data on.

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

Optional restriction of the elements to output.

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

current global time

integer, intent(in) :: nDofs

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


Calls

proc~~hvs_asciispatial_dump_elem_data~~CallsGraph proc~hvs_asciispatial_dump_elem_data hvs_asciiSpatial_dump_elem_data proc~tem_get_element_chunk tem_get_element_chunk proc~hvs_asciispatial_dump_elem_data->proc~tem_get_element_chunk

Called by

proc~~hvs_asciispatial_dump_elem_data~~CalledByGraph proc~hvs_asciispatial_dump_elem_data hvs_asciiSpatial_dump_elem_data proc~hvs_output_write hvs_output_write proc~hvs_output_write->proc~hvs_asciispatial_dump_elem_data proc~tem_tracker tem_tracker proc~tem_tracker->proc~hvs_output_write

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, public :: nVars
integer, public :: nElems
integer, public :: nScalars
integer, public :: elemOff
integer, public :: nChunkElems
integer, public :: elemSize
integer, public :: iElem
integer, public :: iChunk
integer, public :: iScalar
integer, public :: iDof
integer, public :: buf_start
integer, public :: buf_end
real(kind=rk), public, allocatable:: res(:)
integer, public, allocatable:: elemPos(:)
character(len=1024), public :: buffer