OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
dsecnor.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!|| dsecnor ../engine/source/output/anim/generate/dsecnor.F
25!||--- called by ------------------------------------------------------
26!|| genani ../engine/source/output/anim/generate/genani.F
27!||--- calls -----------------------------------------------------
28!|| dnwalc ../engine/source/output/anim/generate/dnwalc.F
29!|| dnwals ../engine/source/output/anim/generate/dnwals.F
30!|| write_s_c ../common_source/tools/input_output/write_routtines.c
31!||====================================================================
32 SUBROUTINE dsecnor(X ,RWBUF,NPRW)
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C C o m m o n B l o c k s
39C-----------------------------------------------
40#include "com04_c.inc"
41#include "param_c.inc"
42#include "task_c.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
47 . x(3,*),rwbuf(nrwlp,*)
48 INTEGER NPRW(*)
49C-----------------------------------------------
50C L o c a l V a r i a b l e s
51C-----------------------------------------------
52 INTEGER J,N,K,N2,N3,N4,ITYP,I3000,NXX,NYY,NZZ
53 my_real xx,yy,zz
54 i3000 = 3000
55 IF (ispmd/=0) GOTO 100
56 DO n=1,nsect+nrwall
57 CALL write_s_c(i3000,1)
58 CALL write_s_c(i3000,1)
59 CALL write_s_c(i3000,1)
60 ENDDO
61C
62 k=1
63 DO n=1,nrwall
64 n2=n +nrwall
65 n3=n2+nrwall
66 n4=n3+nrwall
67 ityp= nprw(n4)
68 IF(iabs(ityp)==1.OR.ityp==4)THEN
69 nxx = three1000*rwbuf(1,n)
70 nyy = three1000*rwbuf(2,n)
71 nzz = three1000*rwbuf(3,n)
72 DO j=1,4
73 CALL write_s_c(nxx,1)
74 CALL write_s_c(nyy,1)
75 CALL write_s_c(nzz,1)
76 ENDDO
77 ELSEIF(ityp==2)THEN
78 CALL dnwalc(x,rwbuf(1,n),nprw(n3))
79 ELSEIF(ityp==3)THEN
80 CALL dnwals(x,rwbuf(1,n),nprw(n3))
81 ENDIF
82 k=k+nprw(n)
83 IF(nprw(n4)==-1)k=k+nint(rwbuf(8,n))
84 ENDDO
85C
86 100 CONTINUE
87 RETURN
88 END
#define my_real
Definition cppsort.cpp:32
subroutine dsecnor(x, rwbuf, nprw)
Definition dsecnor.F:33
subroutine dnwalc(x, rwl, msr)
Definition dnwalc.F:30
subroutine dnwals(x, rwl, msr)
Definition dnwals.F:30
void write_s_c(int *w, int *len)