OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ani_txt.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/.
23C
24!||====================================================================
25!|| ani_txt ../engine/source/output/anim/generate/ani_txt.F
26!||--- called by ------------------------------------------------------
27!|| genani ../engine/source/output/anim/generate/genani.F
28!||--- calls -----------------------------------------------------
29!|| write_c_c ../common_source/tools/input_output/write_routtines.c
30!||====================================================================
31 SUBROUTINE ani_txt(TEXT,LEN)
32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C D u m m y A r g u m e n t s
38C-----------------------------------------------
39 CHARACTER TEXT(80)
40 INTEGER LEN
41C-----------------------------------------------
42C L o c a l V a r i a b l e s
43C-----------------------------------------------
44 INTEGER CTEXT(81)
45C
46 ctext(1 :min(len,80)) = ichar(text(1:min(len,80)))
47 ctext(len+1:81 ) = 0
48C
49 CALL write_c_c(ctext,81)
50C
51 RETURN
52 END
53C
54!||====================================================================
55!|| ani_txt50 ../engine/source/output/anim/generate/ani_txt.F
56!||--- called by ------------------------------------------------------
57!|| genani ../engine/source/output/anim/generate/genani.F
58!||--- calls -----------------------------------------------------
59!|| write_c_c ../common_source/tools/input_output/write_routtines.c
60!||====================================================================
61 SUBROUTINE ani_txt50(TEXT,LEN)
62C-----------------------------------------------
63C I m p l i c i t T y p e s
64C-----------------------------------------------
65#include "implicit_f.inc"
66C-----------------------------------------------
67C D u m m y A r g u m e n t s
68C-----------------------------------------------
69 CHARACTER TEXT(80)
70 INTEGER LEN
71C-----------------------------------------------
72C L o c a l V a r i a b l e s
73C-----------------------------------------------
74 INTEGER CTEXT(81)
75
76 ctext(1 :len) = ichar(text(1:len))
77 ctext(len+1:81 ) = 0
78 CALL write_c_c(ctext,50)
79C
80 RETURN
81 END
subroutine ani_txt50(text, len)
Definition ani_txt.F:62
subroutine ani_txt(text, len)
Definition ani_txt.F:32
#define min(a, b)
Definition macros.h:20
void write_c_c(int *w, int *len)