Load internal BC property for a single fully periodic element.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(treelmesh_type), | intent(in) | :: | tree | |||
type(tem_BC_prop_type), | intent(inout) | :: | me |
Boundary condition construct to load the data into |
||
integer, | intent(in), | optional | :: | nSides |
Required sides to set, defaults to 26. |
subroutine load_BC_intern_0D( tree, me, nSides ) ! --------------------------------------------------------------------------- type(treelmesh_type), intent(in) :: tree !> Boundary condition construct to load the data into type(tem_BC_prop_type), intent(inout) :: me !> Required sides to set, defaults to 26. integer, intent(in), optional :: nSides ! --------------------------------------------------------------------------- if (present(nSides)) then me%nSides = nSides else me%nSides = 26 end if me%nBCtypes = 0 allocate(me%BC_label(me%nBCtypes)) allocate(me%boundary_ID(me%nSides, me%Property%nElems)) ! All links point back to the element itself. me%boundary_ID = -tree%treeID(1) end subroutine load_BC_intern_0D