OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
cjoint.F File Reference
#include "implicit_f.inc"
#include "com01_c.inc"
#include "com04_c.inc"
#include "param_c.inc"
#include "sms_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine cjoint (a, ar, v, vr, x, fsav, ljoint, ms, in, iadcj, fr_cj, tag_lnk_sms, itask)

Function/Subroutine Documentation

◆ cjoint()

subroutine cjoint ( a,
ar,
v,
vr,
x,
fsav,
integer, dimension(*) ljoint,
ms,
in,
integer, dimension(nspmd+1,*) iadcj,
integer, dimension(*) fr_cj,
integer, dimension(*) tag_lnk_sms,
integer itask )

Definition at line 32 of file cjoint.F.

35 USE joint_mod
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER LJOINT(*), FR_CJ(*), IADCJ(NSPMD+1,*), TAG_LNK_SMS(*),
44 . ITASK
46 . a(3,numnod), ar(3,numnod), v(3,numnod), vr(3,numnod), x(3,numnod), fsav(nthvki,*),
47 . ms(*), in(*)
48C-----------------------------------------------
49C C o m m o n B l o c k s
50C-----------------------------------------------
51#include "com01_c.inc"
52#include "com04_c.inc"
53#include "param_c.inc"
54#include "sms_c.inc"
55C-----------------------------------------------
56C L o c a l V a r i a b l e s
57C-----------------------------------------------
58 INTEGER K, N, NN, KIND(NJOINT), ICSIZE
59 LOGICAL :: CONDITION
60C-----------------------------------------------
61C
62 k=1
63 DO n=1,njoint
64 kind(n) = k
65 IF(idtmins==0.AND.idtmins_int==0)THEN
66 k = k +1
67 ELSE
68 k=k+ljoint(k)+1
69 ENDIF
70 END DO
71
72 IF(idtmins==0.AND.idtmins_int==0)THEN
73 DO n=1,njoint
74 nn=ninter+nrwall+nrbody+nsect+n
75 k = kind(n)
76 condition = ( (cyl_join(n)%NUMBER_NODE>0).OR.(cyl_join(n)%NUMBER_MAIN_NODE>0) )
77 IF(condition) CALL telesc(n,a,ar,v,vr,x,fsav(1,nn),ms,in,itask)
78 END DO
79 ELSE
80 DO n=1,njoint
81 IF(tag_lnk_sms(n)/=0)cycle
82 nn=ninter+nrwall+nrbody+nsect+n
83 k = kind(n)
84 condition = ( (cyl_join(n)%NUMBER_NODE>0).OR.(cyl_join(n)%NUMBER_MAIN_NODE>0) )
85 IF(condition) CALL telesc(n,a,ar,v,vr,x,fsav(1,nn),ms,in,itask)
86 END DO
87 END IF
88
89 RETURN
#define my_real
Definition cppsort.cpp:32
type(joint_type), dimension(:), allocatable cyl_join
Definition joint_mod.F:61
subroutine telesc(n_joint, a, ar, v, vr, x, fs, ms, in, itask)
Definition telesc.F:35