mus_connectivity_module Module

This module contains routines related to neighbor connectivity


Uses

Used by

  • module~~mus_connectivity_module~~UsedByGraph module~mus_connectivity_module mus_connectivity_module module~mus_auxfieldvar_module mus_auxFieldVar_module module~mus_auxfieldvar_module->module~mus_connectivity_module module~mus_construction_module mus_construction_module module~mus_construction_module->module~mus_connectivity_module module~mus_operation_var_module mus_operation_var_module module~mus_operation_var_module->module~mus_connectivity_module module~mus_statevar_module mus_stateVar_module module~mus_statevar_module->module~mus_connectivity_module module~mus_varsys_module mus_varSys_module module~mus_varsys_module->module~mus_connectivity_module

Subroutines

public subroutine mus_construct_connectivity(neigh, nSize, nElems, levelDesc, stencil, varSys, stateVarMap)

Construct the propagation list for each element of 1st field.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(out) :: neigh(:)

connectivity array

integer, intent(in) :: nSize

number of elements in state array

integer, intent(in) :: nElems

number of elements in local partition

type(tem_levelDesc_type), intent(in) :: levelDesc

current level description

type(tem_stencilHeader_type), intent(in) :: stencil

fluid stencil

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

global variable system

type(tem_varMap_type), intent(in) :: stateVarMap

state varMap

public subroutine mus_updateConnectivity_forSymmetricBC(neigh, nSize, iLevel, levelDesc, layout, varSys, stateVarMap, nBCs, globBC, nSymBCs, symmetricBCs)

Update the connectivity for elements with symmetric boundary condition such that during the propagation they are applied implicitly.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(inout) :: neigh(:)

connectivity array

integer, intent(in) :: nSize

number of elements in state array

integer, intent(in) :: iLevel

current level

type(tem_levelDesc_type), intent(in) :: levelDesc

current level description

type(mus_scheme_layout_type), intent(in) :: layout

scheme layout

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

global variable system

type(tem_varMap_type), intent(in) :: stateVarMap

state varMap

integer, intent(in) :: nBCs
type(glob_boundary_type), intent(in) :: globBC(nBCs)

global boundary information

integer, intent(in) :: nSymBCs

number of symmetric boundaries

integer, intent(in) :: symmetricBCs(nSymBCs)

symmetric boundary ids

public subroutine mus_intp_getSrcElemPosInLevelDesc(srcElemPos, weights, nSrcElems, point, statePos, neigh, baryOfTotal, nElems, nSolve, stencil, nScalars, excludeHalo)

Arguments

Type IntentOptional Attributes Name
integer, intent(out) :: srcElemPos(:)

position of source element in the levelwise state array

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

weights for interpolation

integer, intent(out) :: nSrcElems

number of source elements found

real(kind=rk), intent(in) :: point(3)

target point

integer, intent(in) :: statePos

position of element which contains target point on the levelwise state array

integer, intent(in) :: neigh(:)

neighbor connectivity on the level in which the element of the point is found

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

bary of elements in the total list

integer, intent(in) :: nElems

nElems in the connectivity array

integer, intent(in) :: nSolve

number of elements excluding halos

type(tem_stencilHeader_type), intent(in) :: stencil

stencil definition

integer, intent(in) :: nScalars

number of scalars in the varSys

logical, intent(in) :: excludeHalo

excludeHalo element for interpolation. True of auxFieldVar. True for state var if reducedComm is False else otherwise. For reducedComm only part of state array is communicated so exclude halo elements for state vars

public subroutine mus_intp_getSrcElemPosinTree(srcElemPos, weights, nSrcElems, point, stencil, tree, levelPointer, levelDesc)

Arguments

Type IntentOptional Attributes Name
integer, intent(out) :: srcElemPos(:)

position of source element in the level independent list

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

weights for interpolation

integer, intent(out) :: nSrcElems

number of source elements found

real(kind=rk), intent(in) :: point(3)

target point

type(tem_stencilHeader_type), intent(in) :: stencil

stencil definition

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

global treelm mesh info

integer, intent(in) :: levelPointer(:)

Pointer from treeIDlist entry to level-wise fluid part of total list

type(tem_levelDesc_type), intent(in) :: levelDesc(tree%global%minLevel:)

level description of all levels