OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
constit.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/.
23!||====================================================================
24!|| constit ../starter/source/elements/nodes/constit.F
25!||--- called by ------------------------------------------------------
26!|| build_admesh ../starter/source/model/remesh/build_admesh.F
27!|| hm_read_node ../starter/source/elements/reader/hm_read_node.f
28!|| init_monvol ../starter/source/airbag/init_monvol.F
29!|| nbadigemesh ../starter/source/elements/ige3d/nbadigemesh.F
30!|| nbadmesh ../starter/source/model/remesh/nbadmesh.F
31!|| r2r_split ../starter/source/coupling/rad2rad/r2r_split.F
32!||--- calls -----------------------------------------------------
33!||====================================================================
34 SUBROUTINE constit(ITAB,ITABM1,NUMNOD)
35C
36C CONSTITUTION DU TABLEAU INVERSE DES NOEUDS
37C ITABM1(J)=NO USER ITABM1(NUMNOD+J)=NO SYSTEME
38C-----------------------------------------------
39C I m p l i c i t T y p e s
40C-----------------------------------------------
41#include "implicit_f.inc"
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45 INTEGER NUMNOD
46 INTEGER ITAB(*), ITABM1(*)
47C-----------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 INTEGER I
51 INTEGER WORK(70000)
52 INTEGER, DIMENSION(:), ALLOCATABLE :: INDX
53C-----------------------------------------------
54C S o u r c e L i n e s
55C-----------------------------------------------
56 ALLOCATE(indx(2*numnod))
57 DO i = 1, numnod
58 indx(i) = i
59 END DO
60
61 CALL my_orders(0,work,itab,indx,numnod,1)
62
63 IF(numnod>=1)THEN
64 itabm1(1) = itab(indx(1))
65 itabm1(numnod+1) = indx(1)
66 ENDIF
67
68 DO i = 2, numnod
69 itabm1(i) = itab(indx(i))
70 IF(itabm1(i)==itabm1(i-1))THEN
71C An error might have been written during pre-reading of Nodes and Cnodes
72C CALL ANCMSG(MSGID=56,
73C . MSGTYPE=MSGERROR,
74C . ANMODE=ANINFO,
75C . I1=ITABM1(I))
76 indx(i)=indx(i-1)
77 END IF
78 itabm1(numnod+i) = indx(i)
79 END DO
80 DEALLOCATE(indx)
81
82 RETURN
83 END
84
subroutine constit(itab, itabm1, numnod)
Definition constit.F:35
subroutine hm_read_node(x, itab, itabm1, cmerge, unitab, wige, lsubmodel, is_dyna)
void my_orders(int *mode, int *iwork, int *data, int *index, int *n, int *irecl)
Definition my_orders.c:82
program starter
Definition starter.F:39