OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
th_time_output.F File Reference
#include "implicit_f.inc"
#include "com01_c.inc"
#include "com08_c.inc"
#include "scr07_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine th_time_output (ithout, sensors, output)

Function/Subroutine Documentation

◆ th_time_output()

subroutine th_time_output ( integer, intent(inout) ithout,
type (sensors_), intent(in) sensors,
type(output_), intent(inout) output )
Parameters
[in,out]outputoutput structure

Definition at line 31 of file th_time_output.F.

32C-----------------------------------------------
33C M o d u l e s
34C-----------------------------------------------
35 USE sensor_mod
36 USE output_mod
37C-----------------------------------------------
38C I m p l i c i t T y p e s
39C-----------------------------------------------
40#include "implicit_f.inc"
41C-----------------------------------------------
42C C o m m o n B l o c k s
43C-----------------------------------------------
44#include "com01_c.inc"
45#include "com08_c.inc"
46#include "scr07_c.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 INTEGER ,INTENT(INOUT) :: ITHOUT
51 TYPE (SENSORS_) ,INTENT(IN) :: SENSORS
52 TYPE(OUTPUT_) ,INTENT(INOUT) :: OUTPUT !< output structure
53C-----------------------------------------------
54C L o c a l V a r i a b l e s
55C-----------------------------------------------
56 INTEGER :: I, J, ISENS
57 my_real :: this_l, ts, tabfis_l(10)
58C---------------------------------------------------------------------------
59C ITHOUT : flag to check if TH file will be written for CAREA output
60C--------------------------------------------------------------------------
61
62C ****** IF /STOP/LSENSOR *****
63
64 this_l = output%TH%THIS
65 tabfis_l(1:10) =tabfis(1:10)
66 IF (sensors%NSTOP > 0) THEN
67 DO i=1,sensors%NSTOP
68 isens = sensors%STOP(i)
69 ts = ep20
70 IF (sensors%SENSOR_TAB(isens)%STATUS == 1) ts = tt
71 IF (tt >= ts) THEN
72 IF(sensors%STOP_NSTH/=0)THEN !IF THIS FILE
73 this_l= tt
74 ENDIF
75 IF(sensors%STOP_NSABF/=0)THEN !IF ABF FILE
76 DO j=1,10
77 IF(abfile(j)/=0) THEN
78 tabfis_l(j) = tt
79 ENDIF
80 ENDDO
81 ENDIF
82
83 ENDIF
84 ENDDO
85 ENDIF
86C
87
88 IF(tt>=this_l.
89 . or.tt>=output%TH%THIS1(1).OR.tt>=output%TH%THIS1(2).
90 . or.tt>=output%TH%THIS1(3).OR.tt>=output%TH%THIS1(4).OR.tt>=output%TH%THIS1(5).
91 . or.tt>=output%TH%THIS1(6).OR.tt>=output%TH%THIS1(7).OR.tt>=output%TH%THIS1(8).
92 . or.tt>=output%TH%THIS1(9).
93 . or.tt>=tabfis_l(1).OR.tt>=tabfis_l(2).
94 . or.tt>=tabfis_l(3).OR.tt>=tabfis_l(4).OR.tt>=tabfis_l(5).
95 . or.tt>=tabfis_l(6).OR.tt>=tabfis_l(7).OR.tt>=tabfis_l(8).
96 . or.tt>=tabfis_l(9).OR.tt>=tabfis_l(10)) ithout=1
97
98
99 RETURN
#define my_real
Definition cppsort.cpp:32