hvs_asciiSpatial_dump_point_data Subroutine

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

Write a spatial representation for list of points 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


Calls

proc~~hvs_asciispatial_dump_point_data~~CallsGraph proc~hvs_asciispatial_dump_point_data hvs_asciiSpatial_dump_point_data proc~tem_baryofid tem_BaryOfId proc~hvs_asciispatial_dump_point_data->proc~tem_baryofid proc~tem_get_point_chunk tem_get_point_chunk proc~hvs_asciispatial_dump_point_data->proc~tem_get_point_chunk proc~tem_coordofid tem_CoordOfId proc~tem_baryofid->proc~tem_coordofid proc~tem_elemsizelevel tem_ElemSizeLevel proc~tem_baryofid->proc~tem_elemsizelevel proc~tem_levelof tem_LevelOf proc~tem_coordofid->proc~tem_levelof

Called by

proc~~hvs_asciispatial_dump_point_data~~CalledByGraph proc~hvs_asciispatial_dump_point_data hvs_asciiSpatial_dump_point_data proc~hvs_output_write hvs_output_write proc~hvs_output_write->proc~hvs_asciispatial_dump_point_data proc~tem_tracker tem_tracker proc~tem_tracker->proc~hvs_output_write

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, public :: nVars
integer, public :: nPoints
integer, public :: nScalars
integer, public :: pointsOff
integer, public :: nChunkPoints
integer, public :: iPoint
integer, public :: iChunk
integer, public :: iScalar
integer, public :: counter
integer, public :: buf_start
integer, public :: buf_end
real(kind=rk), public, allocatable:: res(:)
real(kind=rk), public, allocatable:: points(:,:)
character(len=1024), public :: buffer