tem_convergence_type Derived Type

type, public :: tem_convergence_type

The convergence type which contains convergence flag and an instance of the condition type


Components

Type Visibility Attributes Name Initial
type(tem_convergenceHeader_type), public :: header

Convergence header info

integer, public :: norm_kind

norm kind

real(kind=rk), public, allocatable :: lastState(:,:)

state field holding the reference values for the nScalars size: nLastVals, nScalars

integer, public :: nChecks

number of performed convergence checks corresponds to the entry in the lastState array

type(tem_comm_env_type), public :: proc

Process description to use for the output. Might be only a subset of the global communicator

type(tem_varMap_type), public :: varMap

Contains name and position of variables in global varSys

type(tem_subTree_type), public :: subTree

sub-tree resulting from the elements within the convergence shape The sub-tree also holds the sub-communicator

integer, public :: chunkSize

number of elements that fit in the buffer

integer, public :: nChunks

number of chunks per output

integer, public :: nDofs

The number of dofs for each scalar variable of the equation system

type(tem_reduction_spatial_type), public, allocatable :: redSpatial(:)

spatial reduction for each variable


Source Code

  type tem_convergence_type
    !> Convergence header info
    type(tem_convergenceHeader_type) :: header
    !> norm kind
    integer :: norm_kind
    !> state field holding the reference values for the nScalars
    !! size: nLastVals, nScalars
    real(kind=rk), allocatable :: lastState(:,:)
    !> number of performed convergence checks
    !! corresponds to the entry in the lastState array
    integer :: nChecks
    !> Process description to use for the output.
    !! Might be only a subset of the global communicator
    type(tem_comm_env_type)  :: proc
    !> Contains name and position of variables in global varSys
    type(tem_varMap_type) :: varMap
    !> sub-tree resulting from the elements within the convergence shape
    !! The sub-tree also holds the sub-communicator
    type(tem_subTree_type) :: subTree
    !> number of elements that fit in the buffer
    integer :: chunkSize
    !> number of chunks per output
    integer :: nChunks

    !> The number of dofs for each scalar variable of the equation system
    integer :: nDofs

    !> spatial reduction for each variable
    type(tem_reduction_spatial_type), allocatable :: redSpatial(:)

  end type tem_convergence_type