OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
basis8.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
C
24
!||====================================================================
25
!|| basis8 ../starter/source/elements/solid/solid8p/basis8.F
26
!||--- called by ------------------------------------------------------
27
!|| basisf ../starter/source/elements/solid/solid8p/basisf.F
28
!||====================================================================
29
SUBROUTINE
basis8
(R,S,T,H,PR,PS,PT)
30
C-----------------------------------------------
31
C I m p l i c i t T y p e s
32
C-----------------------------------------------
33
#include "implicit_f.inc"
34
C-----------------------------------------------
35
C D u m m y A r g u m e n t s
36
C-----------------------------------------------
37
C REAL
38
my_real
39
. r, s, t
40
C REAL
41
my_real
42
. h(*),
pr(*), ps(*), pt(*)
43
C-----------------------------------------------
44
C L o c a l V a r i a b l e s
45
C-----------------------------------------------
46
C REAL
47
my_real
48
. rp, sp, tp, rm, sm, tm
49
rp=one+r
50
sp=one+s
51
tp=one+t
52
rm=one-r
53
sm=one-s
54
tm=one-t
55
h(1)=one_over_8*rm*sm*tm
56
h(2)=one_over_8*rp*sm*tm
57
h(3)=one_over_8*rp*sp*tm
58
h(4)=one_over_8*rm*sp*tm
59
h(5)=one_over_8*rm*sm*tp
60
h(6)=one_over_8*rp*sm*tp
61
h(7)=one_over_8
*rp*sp*tp
62
h(8)=one_over_8*rm*sp*tp
63
pr(1)=-one_over_8*sm*tm
64
pr(2)=-pr(1)
65
pr(3)= one_over_8*sp*tm
66
pr(4)=-pr(3)
67
pr(
5)=-one_over_8*sm*tp
68
pr(6)=-pr(5)
69
pr(7)= .125*sp*tp
70
pr(8)=-pr(7)
71
ps(1)=-one_over_8*rm*tm
72
ps(2)=-one_over_8*rp*tm
73
ps(3)=-ps(2)
74
ps(4)=-ps(1)
75
ps(5)=-one_over_8*rm*tp
76
ps(6)=-one_over_8*rp
*tp
77
ps(7)=-ps(6)
78
ps(8)=-ps(5)
79
pt(1)=-one_over_8*rm*sm
80
pt(2)=-one_over_8*rp*sm
81
pt(3)=-one_over_8*rp*sp
82
pt(4)=-one_over_8*rm*sp
83
pt(5)=-pt(1)
84
pt(6)=-pt(2)
85
pt(7)=-pt(3)
86
pt(8)=-pt(4)
87
C
88
RETURN
89
END
my_real
#define my_real
Definition
cppsort.cpp:32
basis8
subroutine basis8(r, s, t, h, pr, ps, pt)
Definition
basis8.F:30
starter
source
elements
solid
solid8p
basis8.F
Generated by
1.15.0