OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
aniskewf.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!|| aniskewf ../starter/source/output/anim/aniskewf.F
25!||--- called by ------------------------------------------------------
26!|| genani1 ../starter/source/output/anim/genani1.F
27!||--- calls -----------------------------------------------------
28!||--- uses -----------------------------------------------------
29!||====================================================================
30 SUBROUTINE aniskewf(GEO,SKEW,IPARG,IXR,LRBUF)
31 use element_mod , only : nixr
32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C C o m m o n B l o c k s
38C-----------------------------------------------
39#include "com01_c.inc"
40#include "com04_c.inc"
41#include "param_c.inc"
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45C REAL
47 . geo(npropg,*), skew(lskew,*)
48 INTEGER IXR(NIXR,*),IPARG(NPARG,*),LRBUF
49C-----------------------------------------------
50C L o c a l V a r i a b l e s
51C-----------------------------------------------
52 INTEGER I, J,ISK,NB1,NB2,NB3,NB4,NB5,NB6,NB7,NB8,NB9,
53 . NB10,NB11,NB12,NB13,NB14,NEL,LFT,LLT,NG,
54 . ITY,IAD,MLW,NFT,N,II,ISKK,MSGTAG,LEN
55 INTEGER SRBUF(LRBUF)
56C
57C-----------------------------------------------
58C SKEW
59C-----------------------------------------------
60 isk=numskw-1
61C-----------------------------------------------
62C SKEW ELEMENT 1D
63C-----------------------------------------------
64C
65 DO ng=1,ngroup
66 mlw =iparg(1,ng)
67 nel =iparg(2,ng)
68 ity =iparg(5,ng)
69 nft =iparg(3,ng)
70 iad =iparg(4,ng)
71 lft = 1
72 llt = nel
73C-----------------------------------------------
74C TRUSS
75C-----------------------------------------------
76 IF(ity==4)THEN
77 DO i=lft,llt
78 isk=isk+1
79 CALL write_i_c(isk,1)
80 ENDDO
81C-----------------------------------------------
82C POUTRES
83C-----------------------------------------------
84 ELSEIF(ity==5)THEN
85 DO i=lft,llt
86 isk=isk+1
87 CALL write_i_c(isk,1)
88 ENDDO
89C-----------------------------------------------
90C RESSORTS
91C-----------------------------------------------
92 ELSEIF(ity==6)THEN
93 IF(mlw==1)THEN
94 DO i=lft,llt
95 isk=isk+1
96 CALL write_i_c(isk,1)
97 ENDDO
98 ELSEIF(mlw==2)THEN
99 DO i=lft,llt
100 n=i+nft
101 iskk=nint(geo(2,ixr(1,n)))-1
102 CALL write_i_c(iskk,1)
103 ENDDO
104 ELSEIF(mlw==3)THEN
105 DO i=lft,llt
106 isk=isk+1
107 CALL write_i_c(isk,1)
108 isk=isk+1
109 CALL write_i_c(isk,1)
110 ENDDO
111 ELSEIF(mlw==4.OR.mlw==5)THEN
112 DO i=lft,llt
113 isk=isk+1
114 CALL write_i_c(isk,1)
115 ENDDO
116 ENDIF
117C
118 ELSE
119 ENDIF
120 ENDDO
121C
122 RETURN
123 END
#define my_real
Definition cppsort.cpp:32
subroutine aniskewf(geo, skew, iparg, ixr, lrbuf)
Definition aniskewf.F:31
void write_i_c(int *w, int *len)