OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
bcs10.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!|| bcs10 ../engine/source/constraints/general/bcs/bcs10.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||--- calls -----------------------------------------------------
28!|| bcs1v ../engine/source/constraints/general/bcs/bcs1.F
29!||====================================================================
30 SUBROUTINE bcs10(NODFT,NODLT ,ICODT ,ICODR,ISKEW,
31 2 SKEW ,A ,AR ,MS ,V ,
32 3 VR )
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 "com01_c.inc"
41#include "param_c.inc"
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45 INTEGER NODFT,NODLT,ICODT(*),ICODR(*),ISKEW(*)
46 my_real
47 . a(3,*), ar(3,*), ms(*), v(3,*), vr(3,*),skew(lskew,*)
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER I, N, K, ISK, LCOD, NINDX,
52 . INDX(1024),L,J
53C-----------------------------------------------
54 DO 420 i = nodft,nodlt,1024
55 nindx = 0
56 DO 400 n=i,min(nodlt,i+1023)
57 IF (icodt(n)/=0)THEN
58 nindx = nindx + 1
59 indx(nindx) = n
60 ENDIF
61 400 CONTINUE
62 CALL bcs1v(nindx,indx,iskew,icodt,
63 . a ,skew,v )
64 420 CONTINUE
65C
66 IF(iroddl/=0) THEN
67 DO 440 i = nodft,nodlt,1024
68 nindx = 0
69 DO 430 n=i,min(nodlt,i+1023)
70 IF (icodr(n)/=0)THEN
71 nindx = nindx + 1
72 indx(nindx) = n
73 ENDIF
74 430 CONTINUE
75 CALL bcs1v(nindx,indx,iskew,icodr,
76 . ar ,skew,vr )
77 440 CONTINUE
78 ENDIF
79C
80 RETURN
81 END
subroutine bcs10(nodft, nodlt, icodt, icodr, iskew, skew, a, ar, ms, v, vr)
Definition bcs10.F:33
subroutine bcs1v(nindx, indx, iskew, icodt, a, skew, v)
Definition bcs1.F:30
#define min(a, b)
Definition macros.h:20