OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
write_th_restart.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| write_th_restart ../engine/source/output/th/write_th_restart.F
25!||--- called by ------------------------------------------------------
26!|| wrrestp ../engine/source/output/restart/wrrestp.F
27!||--- calls -----------------------------------------------------
28!|| write_i_c ../common_source/tools/input_output/write_routtines.c
29!||--- uses -----------------------------------------------------
30!|| message_mod ../engine/share/message_module/message_mod.F
31!|| time_history_mod ../common_source/modules/output/time_history_mod.F
32!||====================================================================
33 SUBROUTINE write_th_restart(TH)
34 ! -----------------------------------------------
35 ! ROUTINE DESCRIPTION :
36 ! ========================
37 ! write time history buffer
38C-----------------------------------------------
39C M o d u l e s
40C-----------------------------------------------
42 USE message_mod
43C-----------------------------------------------
44C I m p l i c i t T y p e s
45C-----------------------------------------------
46#include "implicit_f.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 TYPE(th_),INTENT(IN) :: TH ! TH Type
51C-----------------------------------------------
52 CALL write_i_c(th%NITHGR, 1)
53 CALL write_i_c(th%SITHGRP, 1)
54 CALL write_i_c(th%SITHBUF, 1)
55
56 CALL write_i_c(th%SITHGRPA,1)
57 CALL write_i_c(th%SITHBUFA,1)
58
59 CALL write_i_c(th%SITHGRPB,1)
60 CALL write_i_c(th%SITHBUFB,1)
61
62 CALL write_i_c(th%SITHGRPC,1)
63 CALL write_i_c(th%SITHBUFC,1)
64
65 CALL write_i_c(th%SITHGRPD,1)
66 CALL write_i_c(th%SITHBUFD,1)
67
68 CALL write_i_c(th%SITHGRPE,1)
69 CALL write_i_c(th%SITHBUFE,1)
70
71 CALL write_i_c(th%SITHGRPF,1)
72 CALL write_i_c(th%SITHBUFF,1)
73
74 CALL write_i_c(th%SITHGRPG,1)
75 CALL write_i_c(th%SITHBUFG,1)
76
77 CALL write_i_c(th%SITHGRPH,1)
78 CALL write_i_c(th%SITHBUFH,1)
79
80 CALL write_i_c(th%SITHGRPI,1)
81 CALL write_i_c(th%SITHBUFI,1)
82
83
84
85 CALL write_i_c(th%ITHGRP, th%SITHGRP )
86 CALL write_i_c(th%ITHBUF, th%SITHBUF )
87
88 CALL write_i_c(th%ITHGRPA, th%SITHGRPA)
89 CALL write_i_c(th%ITHBUFA, th%SITHBUFA)
90
91 CALL write_i_c(th%ITHGRPB, th%SITHGRPB)
92 CALL write_i_c(th%ITHBUFB, th%SITHBUFB)
93
94 CALL write_i_c(th%ITHGRPC, th%SITHGRPC)
95 CALL write_i_c(th%ITHBUFC, th%SITHBUFC)
96
97 CALL write_i_c(th%ITHGRPD, th%SITHGRPD)
98 CALL write_i_c(th%ITHBUFD, th%SITHBUFD)
99
100 CALL write_i_c(th%ITHGRPE, th%SITHGRPE)
101 CALL write_i_c(th%ITHBUFE, th%SITHBUFE)
102
103 CALL write_i_c(th%ITHGRPF, th%SITHGRPF)
104 CALL write_i_c(th%ITHBUFF, th%SITHBUFF)
105
106 CALL write_i_c(th%ITHGRPG, th%SITHGRPG)
107 CALL write_i_c(th%ITHBUFG, th%SITHBUFG)
108
109 CALL write_i_c(th%ITHGRPH, th%SITHGRPH)
110 CALL write_i_c(th%ITHBUFH, th%SITHBUFH)
111
112 CALL write_i_c(th%ITHGRPI, th%SITHGRPI)
113 CALL write_i_c(th%ITHBUFI, th%SITHBUFI)
114
115 END SUBROUTINE write_th_restart
void write_i_c(int *w, int *len)
subroutine write_th_restart(th)