OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
spload3.F File Reference
#include "implicit_f.inc"
#include "sphcom.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine spload3 (spbuf, wa, rhoa, rhon, deltax, offg, dxx, dxy, dxz, dyx, dyy, dyz, dzx, dzy, dzz, mumax, lft, llt, nft)

Function/Subroutine Documentation

◆ spload3()

subroutine spload3 ( spbuf,
wa,
rhoa,
rhon,
deltax,
offg,
dxx,
dxy,
dxz,
dyx,
dyy,
dyz,
dzx,
dzy,
dzz,
mumax,
integer, intent(inout) lft,
integer, intent(inout) llt,
integer, intent(inout) nft )

Definition at line 28 of file spload3.F.

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 "sphcom.inc"
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45 INTEGER, INTENT(INOUT) :: LFT
46 INTEGER, INTENT(INOUT) :: LLT
47 INTEGER, INTENT(INOUT) :: NFT
49 . spbuf(nspbuf,*) ,wa(kwasph,*) ,
50 . rhoa(*) ,rhon(*) ,deltax(*) ,offg(*) ,
51 . dxx(*), dxy(*), dxz(*),
52 . dyx(*), dyy(*), dyz(*),
53 . dzx(*), dzy(*), dzz(*),
54 . mumax(*)
55C-----------------------------------------------
56C L o c a l V a r i a b l e s
57C-----------------------------------------------
58 INTEGER N,I
59C REAL
61 . off_l
62C-----------------------------------------------
63 DO 100 i=lft,llt
64 n=nft+i
65 rhon(i) =spbuf(2,n)
66 100 CONTINUE
67C
68 off_l = zero
69 DO i=lft,llt
70 off_l = min(off_l,offg(i))
71 ENDDO
72C-----
73 IF(off_l>=zero)THEN
74 DO 200 i=lft,llt
75 n=nft+i
76 dxx(i) =wa(1,n)
77 dyy(i) =wa(2,n)
78 dzz(i) =wa(3,n)
79 dxy(i) =wa(4,n)
80 dyz(i) =wa(5,n)
81 dxz(i) =wa(6,n)
82 dyx(i) =wa(7,n)
83 dzy(i) =wa(8,n)
84 dzx(i) =wa(9,n)
85 rhoa(i) =wa(10,n)
86C for stability time step computation:
87 deltax(i)=wa(11,n)
88 mumax(i) =wa(12,n)
89 200 CONTINUE
90 ELSE
91 DO 300 i=lft,llt
92 n=nft+i
93 rhoa(i) =wa(10,n)
94 IF(offg(i)>=zero)THEN
95 dxx(i) =wa(1,n)
96 dyy(i) =wa(2,n)
97 dzz(i) =wa(3,n)
98 dxy(i) =wa(4,n)
99 dyz(i) =wa(5,n)
100 dxz(i) =wa(6,n)
101 dyx(i) =wa(7,n)
102 dzy(i) =wa(8,n)
103 dzx(i) =wa(9,n)
104C for stability time step computation:
105 deltax(i)=wa(11,n)
106 mumax(i) =wa(12,n)
107 ELSE
108 dxx(i) =zero
109 dyy(i) =zero
110 dzz(i) =zero
111 dxy(i) =zero
112 dyz(i) =zero
113 dxz(i) =zero
114 dyx(i) =zero
115 dzy(i) =zero
116 dzx(i) =zero
117C for stability time step computation:
118 deltax(i)=ep20
119 mumax(i) =zero
120 ENDIF
121 300 CONTINUE
122 ENDIF
123C----------------------------------
124 RETURN
#define my_real
Definition cppsort.cpp:32
#define min(a, b)
Definition macros.h:20