This routine normalizes the normal vectors of boundary elements including the corner elements as well as assigns the corresponding prevailing direction from the stencil
Type | Intent | Optional | 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 |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | iBnd | ||||
integer, | private | :: | iLevel | ||||
integer, | private | :: | iElem | ||||
integer, | private | :: | iDir | ||||
integer, | private | :: | iField | ||||
integer, | private | :: | counter | ||||
integer, | private | :: | iErr | ||||
real(kind=rk), | private | :: | angle | ||||
real(kind=rk), | private | :: | angleMax | ||||
real(kind=rk), | private | :: | oneDeginRad | ||||
real(kind=rk), | private | :: | min_nz_comp | ||||
real(kind=rk), | private | :: | max_comp | ||||
integer, | private | :: | elem_normal(3) | ||||
integer, | private | :: | bc_normal(3) | ||||
integer, | private | :: | bc_globNormal(3) | ||||
integer(kind=long_k), | private | :: | bc_normlong(3) | ||||
integer(kind=long_k), | private | :: | bc_globNormlong(3) | ||||
logical, | private | :: | check_angle(nBCs) | ||||
logical, | private | :: | curved(nBCs) |