53
54
55
57 use nodal_arrays_mod , only : nodal_arrays_
59 use output_mod , only : noda_pext_g, noda_surf_g
60 use output_mod , only : noda_pext, noda_surf
61 use output_mod , only : anim_has_noda_pext, h3d_has_noda_pext
63
64
65
66 implicit none
67
68
69
70 LOGICAL,INTENT(IN) :: TRIGGER_ANIM
71 LOGICAL,INTENT(IN) :: TRIGGER_H3D
72 LOGICAL,INTENT(IN) :: TRIGGER_TH
73 INTEGER,INTENT(IN) :: NSPMD
74 INTEGER,INTENT(IN) :: NUMNOD
75 INTEGER,INTENT(IN) :: NUMNODG
76 TYPE(NODAL_ARRAYS_), INTENT(IN) :: NODES
77
78
79
80 INTEGER :: LENR
81
82
83
84 IF(
th_has_noda_pext > 0 .OR. anim_has_noda_pext > 0 .OR. h3d_has_noda_pext > 0 )
THEN
85 IF(trigger_anim .OR. trigger_th .OR. trigger_h3d)THEN
86 IF(nspmd > 1)THEN
87 lenr = nodes%BOUNDARY_ADD(1,nspmd+1)-nodes%BOUNDARY_ADD(1,1)
88
89 CALL spmd_exch_nodarea(noda_pext, nodes%BOUNDARY_ADD, nodes%BOUNDARY, lenr, nodes%WEIGHT)
90 CALL spmd_exch_nodarea(noda_surf, nodes%BOUNDARY_ADD, nodes%BOUNDARY, lenr, nodes%WEIGHT)
91
92 IF(anim_has_noda_pext > 0)THEN
95 END IF
96 ELSE
97 IF(anim_has_noda_pext > 0)THEN
98
99 noda_pext_g(1:numnod) = noda_pext(1:numnod)
100 noda_surf_g(1:numnod) = noda_surf(1:numnod)
101 END IF
102 ENDIF
103 ENDIF
104 ENDIF
subroutine spmd_gather_nodal_scalar(v_glob, num, v, numnod, weight, nodglob)
subroutine spmd_exch_nodarea(nodarea, iad_elem, fr_elem, lenr, weight)