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