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
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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. |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
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 |