tem_reduction_spatial_append Subroutine

public subroutine tem_reduction_spatial_append(me, chunk, nElems, varSys, varPos, tree, treeID, nDofs)

Local chunk-wise reduction

Chunk-wise local reduction, which has to be performed for each chunk until all elements have been treated within the reduction. After all chunks are treated (=_append has been finished), the global reduction has to be performed by tem_reduction_spatial_close. NOTE: Reduction is applied only on 1st DOF

Arguments

TypeIntentOptionalAttributesName
type(tem_reduction_spatial_type), intent(inout) :: me(:)

The reduction type to work on. All definitions should be present in here

real(kind=rk), intent(in) :: chunk(:)

chunk of results to reduce

integer, intent(in) :: nElems

number of elements the chunk has

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

global variable system defined in solver

integer, intent(in) :: varPos(:)

position of variable to reduce in the global varSys

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

the global tree

integer(kind=long_k), intent(in), optional :: treeID(nElems)

The list of treeIDs of the current chunk

integer, intent(in), optional :: nDofs

Number of degrees of freedom.


Calls

proc~~tem_reduction_spatial_append~~CallsGraph proc~tem_reduction_spatial_append tem_reduction_spatial_append proc~tem_elemsize tem_ElemSize proc~tem_reduction_spatial_append->proc~tem_elemsize proc~tem_levelof tem_LevelOf proc~tem_reduction_spatial_append->proc~tem_levelof proc~tem_elemsize->proc~tem_levelof proc~tem_elemsizelevel tem_ElemSizeLevel proc~tem_elemsize->proc~tem_elemsizelevel

Called by

proc~~tem_reduction_spatial_append~~CalledByGraph proc~tem_reduction_spatial_append tem_reduction_spatial_append proc~tem_convergence_check_element tem_convergence_check_element proc~tem_convergence_check_element->proc~tem_reduction_spatial_append proc~tem_convergence_check_point tem_convergence_check_point proc~tem_convergence_check_point->proc~tem_reduction_spatial_append proc~hvs_ascii_dump_point_data hvs_ascii_dump_point_data proc~hvs_ascii_dump_point_data->proc~tem_reduction_spatial_append proc~hvs_ascii_dump_elem_data hvs_ascii_dump_elem_data proc~hvs_ascii_dump_elem_data->proc~tem_reduction_spatial_append proc~tem_convergence_check tem_convergence_check proc~tem_convergence_check->proc~tem_convergence_check_element proc~tem_convergence_check->proc~tem_convergence_check_point proc~hvs_output_write hvs_output_write proc~hvs_output_write->proc~hvs_ascii_dump_point_data proc~hvs_output_write->proc~hvs_ascii_dump_elem_data proc~tem_tracker tem_tracker proc~tem_tracker->proc~hvs_output_write

Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: temp
real(kind=rk), private :: dx
real(kind=rk), private :: V
real(kind=rk), private :: Vloc
integer, private :: iVar
integer, private :: iComp
integer, private :: iPos
integer, private :: chunkVarPos
integer, private :: iElem
integer, private :: nDofs_L
integer, private :: nPerElem
integer, private :: minLevel
integer, private :: myLevel
integer, private :: volumeFac
integer, private :: nScalars