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

Go to the source code of this file.

Functions/Subroutines

subroutine w_r3nloc (rtab, nodglob, numnod_l, len_am)

Function/Subroutine Documentation

◆ w_r3nloc()

subroutine w_r3nloc ( rtab,
integer, dimension(*) nodglob,
integer numnod_l,
integer len_am )

Definition at line 30 of file w_r3nloc.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
40 . rtab(3,*)
41C-----------------------------------------------
42C L o c a l V a r i a b l e s
43C-----------------------------------------------
44 INTEGER I, N
45 my_real, DIMENSION(:,:), ALLOCATABLE :: rtmp
46C-----------------------------------------------
47! allocate 2d array
48 ALLOCATE( rtmp(3,numnod_l) )
49! ---------------------------------
50C
51 DO i = 1, numnod_l
52 n = nodglob(i)
53 rtmp(1,i) = rtab(1,n)
54 rtmp(2,i) = rtab(2,n)
55 rtmp(3,i) = rtab(3,n)
56 ENDDO
57C
58 CALL write_db(rtmp,3*numnod_l)
59 len_am = len_am + 3*numnod_l
60C
61! deallocate 2d array
62 DEALLOCATE( rtmp )
63! ---------------------------------
64 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine write_db(a, n)
Definition write_db.F:140