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

Go to the source code of this file.

Functions/Subroutines

subroutine thkin (j1, j2, ithbuf, l1, l2, wa, fsav, iform)

Function/Subroutine Documentation

◆ thkin()

subroutine thkin ( integer j1,
integer j2,
integer, dimension(*) ithbuf,
integer l1,
integer l2,
wa,
fsav,
integer iform )

Definition at line 30 of file thkin.F.

31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C C o m m o n B l o c k s
37C-----------------------------------------------
38#include "task_c.inc"
39#include "param_c.inc"
40C-----------------------------------------------
41 INTEGER ITHBUF(*),IFORM
42 INTEGER J1,J2,L1,L2,K
43 my_real :: wa(*),fsav(nthvki,*)
44C
45 INTEGER I,J,L,II
46C
47C Gathering already done , only p0 writes
48
49 IF (ispmd==0) THEN
50 ii = 0
51 DO j=j1,j2
52 i=ithbuf(j)
53 DO l=l1,l2
54 k=ithbuf(l)
55 ii=ii+1
56 wa(ii)=fsav(k,i)
57 ENDDO
58 ENDDO
59 IF(ii>0)CALL wrtdes(wa,wa,ii,iform,1)
60 ENDIF
61C
62 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine wrtdes(a, ia, l, iform, ir)
Definition wrtdes.F:45