countnBnds Subroutine

private subroutine countnBnds(globBC, boundaryID, tree, stencil, nBCs, comm)

Identify the number of boundary condition elements of each BC type and number of elements with multiple BC types. This is 1st step in Build_BClists

Arguments

Type IntentOptional Attributes Name
type(glob_boundary_type), intent(inout) :: globBC(nBCs)

boundaries for the elements with bnd property set

integer(kind=long_k), intent(in) :: boundaryID(:,:)

boundary information from mesh

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

fluid tree from mesh

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

stencil

integer, intent(in) :: nBCs

contains pdf global information

integer, intent(in) :: comm

mpi communication enviroment with mpi communicator