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

Go to the source code of this file.

Functions/Subroutines

subroutine m18th (t, xk, mat, pm, ipm, tf, npf, nel)

Function/Subroutine Documentation

◆ m18th()

subroutine m18th ( t,
xk,
integer, dimension(*) mat,
pm,
integer, dimension(npropmi,*) ipm,
tf,
integer, dimension(*) npf,
integer, intent(in) nel )

Definition at line 30 of file m18th.F.

33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C C o m m o n B l o c k s
39C-----------------------------------------------
40#include "param_c.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER, INTENT(IN) :: NEL
45 INTEGER NPF(*), MAT(*), IPM(NPROPMI,*)
46C REAL
48 . t(*), xk(*), tf(*),pm(npropm,*)
49C-----------------------------------------------
50C L o c a l V a r i a b l e s
51C-----------------------------------------------
52 INTEGER I, IFUNC, NPOINT, MX
53C REAL
55 . bid,tscal,kscal
56C-----------------------------------------------
57C=======================================================================
58 mx = mat(1)
59 ifunc = ipm(13,mx)
60 kscal = pm(44,mx)
61 IF(ifunc/=0)THEN
62 DO 10 i=1,nel
63 npoint=(npf(ifunc+1)-npf(ifunc))/2
64 tscal = t(i) / pm(42,mx)
65 CALL interp(tf(npf(ifunc)),tscal,npoint,xk(i),bid)
66 xk(i) = xk(i) * kscal
67 10 CONTINUE
68 ENDIF
69
70 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine interp(tf, tt, npoint, f, tg)
Definition interp.F:35