tem_convergence_check_element Subroutine

private subroutine tem_convergence_check_element(me, time, status, varSys, tree, res)

This routine runs over convergence check using get_element interface

Arguments

TypeIntentOptionalAttributesName
type(tem_convergence_type), intent(inout), target:: me

convergence descriptions

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

current simulation time

type(tem_status_type), intent(inout) :: status

Status bits

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

global variable system

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

global tree

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

Output data size: io_buffer_size


Calls

proc~~tem_convergence_check_element~~CallsGraph proc~tem_convergence_check_element tem_convergence_check_element proc~tem_reduction_spatial_append tem_reduction_spatial_append proc~tem_convergence_check_element->proc~tem_reduction_spatial_append proc~tem_get_element_chunk tem_get_element_chunk proc~tem_convergence_check_element->proc~tem_get_element_chunk proc~tem_reduction_spatial_close tem_reduction_spatial_close proc~tem_convergence_check_element->proc~tem_reduction_spatial_close proc~tem_convergence_evaluate tem_convergence_evaluate proc~tem_convergence_check_element->proc~tem_convergence_evaluate proc~tem_reduction_spatial_open tem_reduction_spatial_open proc~tem_convergence_check_element->proc~tem_reduction_spatial_open 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 mpi_reduce mpi_reduce proc~tem_reduction_spatial_close->mpi_reduce proc~tem_comparator tem_comparator proc~tem_convergence_evaluate->proc~tem_comparator proc~evaluate_residual evaluate_residual proc~tem_convergence_evaluate->proc~evaluate_residual proc~tem_elemsize->proc~tem_levelof proc~tem_elemsizelevel tem_ElemSizeLevel proc~tem_elemsize->proc~tem_elemsizelevel

Called by

proc~~tem_convergence_check_element~~CalledByGraph proc~tem_convergence_check_element tem_convergence_check_element proc~tem_convergence_check tem_convergence_check proc~tem_convergence_check->proc~tem_convergence_check_element

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: nVars
integer, private :: nElems
integer, private :: nScalars
integer, private :: elemOff
integer, private :: nChunkElems
integer, private :: iElem
integer, private :: iChunk
integer, private :: buf_start
integer, private :: buf_end
integer, private, allocatable:: elemPos(:)
logical, private :: isConverged