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

Go to the source code of this file.

Functions/Subroutines

subroutine put_etfac (nel, et, mtn)

Function/Subroutine Documentation

◆ put_etfac()

subroutine put_etfac ( integer nel,
et,
integer mtn )

Definition at line 35 of file put_etfac.F.

36C-----------------------------------------------
37C M o d u l e s
38C-----------------------------------------------
39 USE imp_ktan
40 USE imp_ktan_def
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45C-----------------------------------------------
46C C o m m o n B l o c k s
47C-----------------------------------------------
48#include "impl1_c.inc"
49C-----------------------------------------------
50C D u m m y A r g u m e n t s
51C-----------------------------------------------
52 INTEGER NEL,MTN
53C REAL
55 . et(*)
56C-----------------------------------------------
57C L o c a l V a r i a b l e s
58C-----------------------------------------------
59 INTEGER I ,J ,MPT,NPTS,IKTMAT
60C REAL
62 . etf
63C-----------------------------------------------
64 CALL iktmat_ini(mtn,iktmat)
65 IF (imconv < 0.OR.iktmat==0) RETURN
66 IF (mtn==2.OR.mtn==36.OR.mtn==78) THEN
67 DO i = 1,nel
68 etf=ktbuf_str(ng_imp)%ETFAC(i)
69 ktbuf_str(ng_imp)%ETFAC(i) = min(etf,et(i))
70 ENDDO
71 ELSE
72 DO i = 1,nel
73 etf=ktbuf_str(ng_imp)%ETFAC(i)
74 ktbuf_str(ng_imp)%ETFAC(i) = max(etf,et(i))
75 ENDDO
76 ENDIF
77C
78 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine iktmat_ini(mtn, iktmat)
Definition imp_init.F:349
#define min(a, b)
Definition macros.h:20
#define max(a, b)
Definition macros.h:21
type(ktbuf_struct_), dimension(:), allocatable, target ktbuf_str