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

Go to the source code of this file.

Functions/Subroutines

subroutine asspar_sub (a, fsky, addcne, nodft_2, nodlt_2, posi, sizesub, sizea)

Function/Subroutine Documentation

◆ asspar_sub()

subroutine asspar_sub ( a,
fsky,
integer, dimension(*) addcne,
integer nodft_2,
integer nodlt_2,
integer, dimension(*) posi,
integer sizesub,
integer sizea )

Definition at line 28 of file asspar_sub.F.

30C-----------------------------------------------
31C I m p l i c i t T y p e s
32C-----------------------------------------------
33#include "implicit_f.inc"
34C-----------------------------------------------
35C D u m m y A r g u m e n t s
36C----------------------------------------------
37 INTEGER ADDCNE(*),NODFT_2,NODLT_2,POSI(*)
38 INTEGER SIZESUB,SIZEA
39 my_real
40 . a(sizea),fsky(addcne(sizesub+1),*)
41C-----------------------------------------------
42C L o c a l V a r i a b l e s
43C-----------------------------------------------
44 INTEGER K,N,NCT,NC,NPOS,NDDL,J
45C
46 ! Loop over the current nodes
47 DO n = nodft_2, nodlt_2
48 nct = addcne(n)-1 ! First element attached to the node in FSKY
49 nc = addcne(n+1)-addcne(n) ! Number of elements attached to the node
50 npos = posi(n) ! Position of its first d.o.f in A
51 nddl = posi(n+1) - npos ! Number of additional d.o.fs
52
53 DO k = nct+1, nct+nc ! Loop over attached elements
54 DO j = 1,nddl ! Loop over additional d.o.fs
55 a(npos+j-1) = a(npos+j-1) + fsky(k,j)
56 fsky(k,j) = zero
57 ENDDO
58 ENDDO
59 ENDDO
60C
61 RETURN
#define my_real
Definition cppsort.cpp:32