37 REAL(kind=wp),
DIMENSION(1:LocNumNp) :: temp
38 INTEGER,
DIMENSION(1:NumNp,1:3) :: node_flag
39 REAL(kind=wp),
DIMENSION(1:NumNp,1:3) :: boundary_value
43 INTEGER ::
i,
j,counter,
m
49 IF (local2global(
i) ==
m)
THEN
50 IF (nodeproc(
i)==myid)
THEN
52 IF(node_flag(
i,1) == 8)
THEN
53 temp(counter) = boundary_value(
i,1)
subroutine enforcethermalbc(NumNp, LocNumNp, Temp, node_flag, boundary_value, t, myid)