OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
basis8.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!|| 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)
30C-----------------------------------------------
31C I m p l i c i t T y p e s
32C-----------------------------------------------
33#include "implicit_f.inc"
34C-----------------------------------------------
35C D u m m y A r g u m e n t s
36C-----------------------------------------------
37C REAL
39 . r, s, t
40C REAL
42 . h(*), pr(*), ps(*), pt(*)
43C-----------------------------------------------
44C L o c a l V a r i a b l e s
45C-----------------------------------------------
46C 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)
87C
88 RETURN
89 END
#define my_real
Definition cppsort.cpp:32
subroutine basis8(r, s, t, h, pr, ps, pt)
Definition basis8.F:30