tem_halo_module Module

This module provides descriptions for elements



Derived Types

type, public ::  tem_haloList_type

Data structure to store the halo elements according to the partner process with which they need to be exchanged.

Read more…

Components

Type Visibility Attributes Name Initial
type(dyn_intarray_type), public :: partnerProc

Process numbers (rank+1) of partner processes

type(grw_dynintarray_type), public :: halos

List of my halo elements, which I request from partnerProc.

Read more…

Subroutines

public subroutine tem_halo_init(me)

Initialize the list of halo elements.

Arguments

Type IntentOptional Attributes Name
type(tem_haloList_type), intent(out) :: me

The list of halo elements to initialize

public subroutine tem_halo_destroy(me)

Destroy the list of halo elements.

Arguments

Type IntentOptional Attributes Name
type(tem_haloList_type), intent(inout) :: me

The list of halo elements to destroy.

public subroutine tem_halo_append(me, proc, elemPos, wasAdded)

Append an element to the list of halo elements.

Read more…

Arguments

Type IntentOptional Attributes Name
type(tem_haloList_type), intent(inout) :: me

List of halo elements, this entry has to be appended to.

integer, intent(in) :: proc

Process this element is exchanged with.

integer, intent(in) :: elemPos

Local position of the halo element.

logical, intent(out), optional :: wasAdded

Flag, wether this halo element was newly added, or already there.