tem_tracking_getData Subroutine

public subroutine tem_tracking_getData(varMap, subTree, varsys, mesh, time, nDofs, res)

A routine to obtain tracked data.

This routine will return all requested variables in the tracking object me and return it for all elements of the subtree in the res field.

Arguments

TypeIntentOptionalAttributesName
type(tem_varMap_type) :: varMap

varMap from tem_tracking_instance_type

type(tem_subTree_type) :: subTree

subTree from tem_tracking_instance_type

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

Variable system describing available data.

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

Mesh definition of the input data.

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

Time information for the current data.

integer, intent(in) :: nDofs

Number of degrees of freedom.

real(kind=rk), intent(out) :: res(:)

Tracked data, has to match the subtree definition.

The memory layout is like this: 1. All variable components 2. nDofs 3. nElems (subtree%nElems)


Calls

proc~~tem_tracking_getdata~~CallsGraph proc~tem_tracking_getdata tem_tracking_getData proc~tem_abort tem_abort proc~tem_tracking_getdata->proc~tem_abort mpi_abort mpi_abort proc~tem_abort->mpi_abort

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: maxComponents
integer, private :: nComponents
integer, private :: compOff
integer, private :: elemOff
integer, private :: nElems
integer, private :: nScalars
integer, private :: nVars
integer, private :: elemSize
integer, private :: nChunks
integer, private :: chunksize
integer, private :: nChunkElems
integer, private :: res_size
integer, private :: buf_start
integer, private :: buf_end
integer, private :: e_start
integer, private :: d_start
integer, private :: t_start
integer, private :: iElem
integer, private :: iChunk
integer, private :: iDoF
integer, private :: iVar
integer, private :: varpos
real(kind=rk), private, allocatable:: tmpdat(:)