atl_generic_fromNodal_getElement Subroutine

private subroutine atl_generic_fromNodal_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_fromnodal_getelement~~CallsGraph proc~atl_generic_fromnodal_getelement atl_generic_fromNodal_getElement proc~tem_levelof tem_LevelOf proc~atl_generic_fromnodal_getelement->proc~tem_levelof proc~atl_ref_in_elempos atl_ref_in_elempos proc~atl_generic_fromnodal_getelement->proc~atl_ref_in_elempos interface~ply_poly_project_n2m ply_poly_project_n2m proc~atl_generic_fromnodal_getelement->interface~ply_poly_project_n2m proc~ply_convertfromoversample ply_convertFromOversample proc~atl_generic_fromnodal_getelement->proc~ply_convertfromoversample proc~tem_coordofid tem_CoordOfId proc~atl_ref_in_elempos->proc~tem_coordofid proc~tem_elemsizelevel tem_ElemSizeLevel proc~atl_ref_in_elempos->proc~tem_elemsizelevel proc~ply_poly_project_n2m_multivar ply_poly_project_n2m_multiVar interface~ply_poly_project_n2m->proc~ply_poly_project_n2m_multivar proc~ply_convertfromoversample_3d ply_convertFromOversample_3d proc~ply_convertfromoversample->proc~ply_convertfromoversample_3d proc~ply_convertfromoversample_1d ply_convertFromOversample_1d proc~ply_convertfromoversample->proc~ply_convertfromoversample_1d proc~ply_convertfromoversample_2d ply_convertFromOversample_2d proc~ply_convertfromoversample->proc~ply_convertfromoversample_2d proc~ply_fxt_n2m_1d ply_fxt_n2m_1D proc~ply_poly_project_n2m_multivar->proc~ply_fxt_n2m_1d interface~ply_pnttoleg_2d ply_pntToLeg_2D proc~ply_poly_project_n2m_multivar->interface~ply_pnttoleg_2d proc~ply_l2p_trafo_2d ply_l2p_trafo_2D proc~ply_poly_project_n2m_multivar->proc~ply_l2p_trafo_2d proc~ply_fxt_n2m_3d ply_fxt_n2m_3D proc~ply_poly_project_n2m_multivar->proc~ply_fxt_n2m_3d proc~ply_fxt_n2m_2d ply_fxt_n2m_2D proc~ply_poly_project_n2m_multivar->proc~ply_fxt_n2m_2d proc~ply_l2p_trafo_1d ply_l2p_trafo_1D proc~ply_poly_project_n2m_multivar->proc~ply_l2p_trafo_1d proc~ply_l2p_trafo_3d ply_l2p_trafo_3D proc~ply_poly_project_n2m_multivar->proc~ply_l2p_trafo_3d interface~ply_pnttoleg_3d ply_pntToLeg_3D proc~ply_poly_project_n2m_multivar->interface~ply_pnttoleg_3d fxtf_flptld_n2m fxtf_flptld_n2m proc~ply_fxt_n2m_1d->fxtf_flptld_n2m proc~ply_pnttoleg_2d_multvar ply_pntToLeg_2D_multVar interface~ply_pnttoleg_2d->proc~ply_pnttoleg_2d_multvar proc~ply_pnttoleg_2d_singvar ply_pntToLeg_2D_singVar interface~ply_pnttoleg_2d->proc~ply_pnttoleg_2d_singvar proc~ply_l2_projection ply_l2_projection proc~ply_l2p_trafo_2d->proc~ply_l2_projection proc~ply_fxt_n2m_3d->fxtf_flptld_n2m proc~ply_fxt_n2m_2d->fxtf_flptld_n2m proc~ply_l2p_trafo_1d->proc~ply_l2_projection proc~ply_l2p_trafo_3d->proc~ply_l2_projection proc~ply_pnttoleg_3d_singvar ply_pntToLeg_3D_singVar interface~ply_pnttoleg_3d->proc~ply_pnttoleg_3d_singvar proc~ply_pnttoleg_3d_multvar ply_pntToLeg_3D_multVar interface~ply_pnttoleg_3d->proc~ply_pnttoleg_3d_multvar

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, allocatable:: modalRes(:,:)
real(kind=rk), private, allocatable:: nodalRes(:,:)
real(kind=rk), private, allocatable:: res2d(:,:)
real(kind=rk), private, allocatable:: physPoints(:,:)
integer, private :: level
integer, private :: pos
integer, private :: iElem
integer, private :: iDof
integer, private :: iComp
integer, private :: iPoint
integer, private :: nPoints