OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
outp_no.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| outp_no ../engine/source/output/sty/outp_no.F
25!||--- called by ------------------------------------------------------
26!|| genoutp ../engine/source/output/sty/genoutp.F
27!||--- calls -----------------------------------------------------
28!|| spmd_doutp_gath ../engine/source/mpi/interfaces/spmd_outp.F
29!||====================================================================
30 SUBROUTINE outp_no(KEY ,TEXT ,LEN ,ANIN ,NUMNOD,
31 2 ITAB,INNODA,ITABG,LENG,NODGLOB,WEIGHT)
32C-----------------------------------------------
33C NODAL VALUES IN OUTP FILES
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C C o m m o n B l o c k s
40C-----------------------------------------------
41#include "units_c.inc"
42#include "task_c.inc"
43#include "scr16_c.inc"
44#include "spmd_c.inc"
45#include "com01_c.inc"
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
49 CHARACTER*10 KEY
50 CHARACTER*40 TEXT
51 INTEGER ITAB(*), LEN, NUMNOD, INNODA,ITABG(*),LENG,NODGLOB(*),WEIGHT(*)
52 my_real anin(*)
53C-----------------------------------------------
54C L o c a l V a r i a b l e s
55C-----------------------------------------------
56 INTEGER I,J,N
57 my_real vglob(leng)
58C-----------------------------------------------
59
60 IF (nspmd > 1) THEN
61 CALL spmd_doutp_gath(anin(1+innoda),nodglob,weight,vglob)
62 IF (ispmd/=0) RETURN
63 ENDIF
64
65C
66 WRITE(iugeo,'(2A)')'/NODAL /SCALAR /',key
67 WRITE(iugeo,'(A)')text(1:len)
68 IF (ioutp_fmt==2) THEN
69 WRITE(iugeo,'(A)')'#FORMAT: (I8,1P1E16.9) '
70 ELSE
71 WRITE(iugeo,'(A)')'#FORMAT: (I10,1P1E20.13) '
72 ENDIF
73 WRITE(iugeo,'(2A)')'# USRNOD NODAL VALUE'
74 IF (nspmd == 1) THEN
75 IF (outyy_fmt==2) THEN
76 WRITE(iugeo,'(I8,1P1E16.9)')
77 . (itab(j),anin(j+innoda),j=1,numnod)
78 ELSE
79 WRITE(iugeo,'(i10,1p1e20.13)')
80 . (ITAB(J),ANIN(J+INNODA),J=1,NUMNOD)
81 ENDIF
82 ELSE
83 IF (OUTYY_FMT==2) THEN
84 WRITE(IUGEO,'(i8,1p1e16.9)')
85 . (ITABG(J),VGLOB(J),J=1,NUMNODG)
86 ELSE
87 WRITE(IUGEO,'(i10,1p1e20.13)')
88 . (ITABG(J),VGLOB(J),J=1,NUMNODG)
89 ENDIF
90 ENDIF
91C
92C INNODA : ADRESSE DE LA DERNIERE VARIABLE
93C (INCREMENTEE DE NUMNOD A CHAQUE PASSAGE)
94C
95 RETURN
96 END
#define my_real
Definition cppsort.cpp:32
subroutine outp_no(key, text, len, anin, numnod, itab, innoda, itabg, leng, nodglob, weight)
Definition outp_no.F:32
subroutine spmd_doutp_gath(v, nodglob, weight, vgath)
Definition spmd_outp.F:828