atl_varSys_getStateValOfIndex Subroutine

public subroutine atl_varSys_getStateValOfIndex(fun, varSys, time, iLevel, idx, idxLen, nVals, res)

Routine for gettint the actual value for a given array of indices. The indices belong to the grwarray of points storing levelwise in Pointdata%pntLvl(iLevel). Hence this routines takes the indeices as input, can refer to the pointData and evaluate the variable and returns the values

Arguments

TypeIntentOptionalAttributesName
class(tem_varSys_op_type), intent(in) :: fun

Description of the method to obtain the variables,

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

The variable system to obtain the variable from.

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

Point in time at which to evaluate the variable.

integer, intent(in) :: iLevel

Level on which values are requested

integer, intent(in) :: idx(:)

Index of points in the growing array and variable val array to return. Size: n

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

With idx as start index in contiguous memory, idxLength defines length of each contiguous memory Size: nVals

integer, intent(in) :: nVals

Number of values to obtain for this variable (vectorized access).

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

Resulting values for the requested variable.

Dimension: n requested entries x nComponents of this variable Access: (iElem-1)*fun%nComponents + iComp


Calls

proc~~atl_varsys_getstatevalofindex~~CallsGraph proc~atl_varsys_getstatevalofindex atl_varSys_getStateValOfIndex proc~ply_evallegendretenspoly ply_evalLegendreTensPoly proc~atl_varsys_getstatevalofindex->proc~ply_evallegendretenspoly interface~truncate~4 truncate proc~atl_varsys_getstatevalofindex->interface~truncate~4 proc~atl_evallegendretenspoly1d atl_evalLegendreTensPoly1d proc~atl_varsys_getstatevalofindex->proc~atl_evallegendretenspoly1d proc~tem_stoptimer tem_stopTimer proc~atl_varsys_getstatevalofindex->proc~tem_stoptimer proc~tem_abort tem_abort proc~atl_varsys_getstatevalofindex->proc~tem_abort interface~append~6 append proc~atl_varsys_getstatevalofindex->interface~append~6 proc~atl_evallegendretenspoly2d atl_evalLegendreTensPoly2d proc~atl_varsys_getstatevalofindex->proc~atl_evallegendretenspoly2d interface~init~7 init proc~atl_varsys_getstatevalofindex->interface~init~7 proc~tem_starttimer tem_startTimer proc~atl_varsys_getstatevalofindex->proc~tem_starttimer interface~destroy~2 destroy proc~atl_varsys_getstatevalofindex->interface~destroy~2

Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private, allocatable:: coord(:,:)
real(kind=rk), private, allocatable:: polyval(:,:)
real(kind=rk), private, allocatable:: val(:)
integer, private :: maxpolyDegree
integer, private :: nDofs
integer, private :: iDof
integer, private :: nComp
integer, private :: iComp
integer, private :: iPoint
integer, private :: ii
integer, private :: iElem
integer, private :: elemPos
integer, private :: coordPos
type(atl_varSys_data_type), private, pointer:: fPtr
type(dyn_intarray_type), private :: unique_elemPos
type(grw_intarray_type), private :: grw_nCoordPerElem
logical, private :: wasAdded
integer, private :: pos
integer, private :: global_count
integer, private :: buf_start
integer, private :: buf_end
integer, private :: loc_count
integer, private :: loc_level
integer, private :: levelPos
integer, private, allocatable:: pnt_pos(:)