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

Go to the source code of this file.

Functions/Subroutines

subroutine write_elgroup_param (group_param_tab, ngroup)

Function/Subroutine Documentation

◆ write_elgroup_param()

subroutine write_elgroup_param ( type(group_param_), dimension(ngroup) group_param_tab,
integer ngroup )

Definition at line 32 of file write_elgroup_param.F.

33C-----------------------------------------------
34C M o d u l e s
35C-----------------------------------------------
36 USE group_param_mod
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER NGROUP
45 TYPE(GROUP_PARAM_) ,DIMENSION(NGROUP) :: GROUP_PARAM_TAB
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 INTEGER NG,LEN
50 my_real, DIMENSION(:,:), ALLOCATABLE :: rbuf
51C=======================================================================
52 len = 2
53 ALLOCATE(rbuf(ngroup,len))
54c
55 DO ng = 1, ngroup
56 rbuf(ng,1) = group_param_tab(ng)%VISC_DM
57 rbuf(ng,2) = group_param_tab(ng)%VISC_DN
58 ENDDO
59C
60 CALL write_db(rbuf,len*ngroup)
61 DEALLOCATE( rbuf )
62c-----------
63 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine write_db(a, n)
Definition write_db.F:140