normalizeBC Subroutine

private subroutine normalizeBC(nBCs, minLevel, maxLevel, globBC, layout, field, comm)

This routine normalizes the normal vectors of boundary elements including the corner elements as well as assigns the corresponding prevailing direction from the stencil

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nBCs

number of boundaries

integer, intent(in) :: minLevel

number of boundaries

integer, intent(in) :: maxLevel

number of boundaries

type(glob_boundary_type), intent(inout) :: globBC(:)

boundaries for the elements with bnd property set

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

scheme layout

type(mus_field_type), intent(in) :: field(:)

field type

integer, intent(in) :: comm

mpi communication enviroment with mpi communicator