OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
timfun.F File Reference
#include "implicit_f.inc"
#include "com04_c.inc"
#include "tabsiz_c.inc"
#include "com08_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine timfun (python, fv, np, tf)

Function/Subroutine Documentation

◆ timfun()

subroutine timfun ( type(python_), intent(inout) python,
fv,
integer, dimension(snpc) np,
tf )

Definition at line 32 of file timfun.F.

33 USE python_funct_mod
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C C o m m o n B l o c k s
40C-----------------------------------------------
41#include "com04_c.inc"
42#include "tabsiz_c.inc"
43#include "com08_c.inc"
44
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 TYPE(PYTHON_), INTENT(inout) :: PYTHON
49 INTEGER NP(SNPC)
50C REAL
52 . fv(*), tf(*)
53C-----------------------------------------------
54C L o c a l V a r i a b l e s
55C-----------------------------------------------
56 INTEGER N, NPOINT,ISMOOTH
57C REAL
59 . tg
60C-----------------------------------------------
61 DO n=1,nfunct
62 ismooth = np(2*nfunct+n+1)
63 IF(ismooth >= 0) THEN
64 npoint=(np(n+1)-np(n))/2
65 CALL interp(tf(np(n)),tt,npoint,fv(n),tg)
66 ELSE IF(ismooth < 0) THEN
67 ismooth = -ismooth
68 CALL python_call_funct1d(python, ismooth,tt, fv(n))
69 ENDIF
70 ENDDO
71 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine interp(tf, tt, npoint, f, tg)
Definition interp.F:35