OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
xyznor.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23
!||====================================================================
24
!|| xyznor ../starter/source/output/anim/xyznor.F
25
!||--- called by ------------------------------------------------------
26
!||
dd_ani
../
starter
/source/output/anim/
dd_ani
.f
27
!|| genani1 ../starter/source/output/anim/genani1.F
28
!||--- calls -----------------------------------------------------
29
!||====================================================================
30
SUBROUTINE
xyznor
(XNORM)
31
C-----------------------------------------------
32
C I m p l i c i t T y p e s
33
C-----------------------------------------------
34
#include "implicit_f.inc"
35
C-----------------------------------------------
36
C D u m m y A r g u m e n t s
37
C-----------------------------------------------
38
C REAL
39
my_real
40
. xnorm(3,*)
41
C REAL
42
my_real
43
. s3000,s
44
INTEGER
I,INORM(3)
45
C-----------------------------------------------
46
C C o m m o n B l o c k s
47
C-----------------------------------------------
48
#include
"com04_c.inc"
49
C-----------------------------------------------
50
s3000 = three1000
51
C
52
DO
100 i=1,numnod
53
s = sqrt(xnorm(1,i)**2 + xnorm(2,i)**2 + xnorm(3,i)**2)
54
IF
(s/=0.0)
THEN
55
s = s3000 / s
56
inorm(1) = xnorm(1,i) * s
57
inorm(2) = xnorm(2,i) * s
58
inorm(3) = xnorm(3,i) * s
59
ELSE
60
inorm(1) = zero
61
inorm(2) = zero
62
inorm(3) = s3000
63
ENDIF
64
CALL
write_s_c
(inorm,3)
65
100
CONTINUE
66
C-----------------------------------------------
67
RETURN
68
END
my_real
#define my_real
Definition
cppsort.cpp:32
dd_ani
subroutine dd_ani(x, ixs, ixq, ixc, ixt, ixp, ixr, ixtg, iparg, kxsp, ixsp)
Definition
dd_ani.F:38
xyznor
subroutine xyznor(xnorm)
Definition
xyznor.F:31
starter
program starter
Definition
starter.F:39
write_s_c
void write_s_c(int *w, int *len)
Definition
write_routtines.c:687
starter
source
output
anim
xyznor.F
Generated by
1.15.0