OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
inepri.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!|| inepri ../engine/source/constraints/general/rbody/inepri.F
26!||--- called by ------------------------------------------------------
27!|| r2r_rby ../engine/source/coupling/rad2rad/r2r_init.F
28!|| rbyact ../engine/source/constraints/general/rbody/rbyact.F
29!||--- calls -----------------------------------------------------
30!|| valpr ../engine/source/constraints/general/rbody/valpr.F
31!||====================================================================
32 SUBROUTINE inepri(XI,BM)
33C------------------------------------
34C CALCUL INERTIES ET REPERE PRINCIPAL
35C------------------------------------
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 my_real xi(3), bm(3,3)
44C-----------------------------------------------
45C L o c a l V a r i a b l e s
46C-----------------------------------------------
47 INTEGER I, J
48 my_real xt(3,3), vp(3,3)
49C-----------------------------------------------
50 xt(1,1)=bm(1,1)
51 xt(2,1)=bm(1,2)
52 xt(3,1)=bm(2,2)
53 xt(1,2)=bm(1,3)
54 xt(2,2)=bm(2,3)
55 xt(3,2)=bm(3,3)
56 xt(1,3)=bm(1,3)
57 xt(2,3)=bm(2,3)
58 xt(3,3)=bm(3,3)
59 DO i=1,3
60 DO j=1,3
61 vp(i,j)=0.
62 ENDDO
63 ENDDO
64 CALL valpr(xt,vp,3,0)
65 xi(1)=xt(1,1)
66 xi(2)=xt(3,1)
67 xi(3)=xt(3,2)
68 DO i=1,3
69 DO j=1,3
70 bm(i,j)=vp(i,j)
71 ENDDO
72 ENDDO
73 RETURN
74 END
#define my_real
Definition cppsort.cpp:32
subroutine inepri(xi, bm)
Definition inepri.F:33
subroutine valpr(a, r, n, mv)
Definition valpr.F:30