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

Go to the source code of this file.

Functions/Subroutines

subroutine w_rnnloc (rtab, nodglob, numnod_l, dim, len_am)

Function/Subroutine Documentation

◆ w_rnnloc()

subroutine w_rnnloc ( rtab,
integer, dimension(*) nodglob,
integer numnod_l,
integer dim,
integer len_am )

Definition at line 30 of file w_rnnloc.F.

31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C D u m m y A r g u m e n t s
37C-----------------------------------------------
38 INTEGER NODGLOB(*), NUMNOD_L, LEN_AM,DIM
40 . rtab(dim,*)
41C-----------------------------------------------
42C L o c a l V a r i a b l e s
43C-----------------------------------------------
44 INTEGER I, N,J
45 my_real, DIMENSION(:,:), ALLOCATABLE :: rtmp
46C-----------------------------------------------
47! allocate 2d array
48 ALLOCATE( rtmp(dim,numnod_l) )
49! -----------------------------------
50C
51 DO i = 1, numnod_l
52 n = nodglob(i)
53 DO j=1,dim
54 rtmp(j,i) = rtab(j,n)
55 ENDDO
56 ENDDO
57C
58 CALL write_db(rtmp,dim*numnod_l)
59 len_am = len_am + dim*numnod_l
60C
61! -----------------------------------
62! deallocate 2d array
63 DEALLOCATE( rtmp )
64! -----------------------------------
65 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine write_db(a, n)
Definition write_db.F:140