atl_generic_fromConst_getElement Subroutine

private subroutine atl_generic_fromConst_getElement(fun, varSys, elempos, time, tree, nElems, nDofs, res)

Routine to obtain a modal representation for a variable, which is only available in nodal form, like space-time functions.

Arguments

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

Description of the method to obtain the variables, here some preset values might be stored, like the space time function to use or the required variables.

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

The variable system to obtain the variable from.

integer, intent(in) :: elempos(:)

Position of element in tree%treeID to get the variable for.

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

Point in time at which to evaluate the variable.

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

global treelm mesh info

integer, intent(in) :: nElems

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

integer, intent(in) :: nDofs

Number of degrees of freedom within an element.

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

Resulting values for the requested variable.

Linearized array dimension: (nComponents of resulting variable) x (nDegrees of freedom) x (nElems) Access: (iElem-1)fun%nComponentsnDofs + (iDof-1)*fun%nComponents + iComp


Calls

proc~~atl_generic_fromconst_getelement~~CallsGraph proc~atl_generic_fromconst_getelement atl_generic_fromConst_getElement proc~tem_baryofid tem_BaryOfId proc~atl_generic_fromconst_getelement->proc~tem_baryofid

Contents


Variables

TypeVisibilityAttributesNameInitial
type(tem_st_fun_listElem_type), private, pointer:: md_ptr
type(atl_varSys_data_type), private, pointer:: fPtr
real(kind=rk), private :: nodalRes(fun%nComponents)
real(kind=rk), private :: physPoints(1,3)
integer, private :: iElem
integer, private :: iComp