OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
inifill.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!|| inifill ../starter/source/initial_conditions/inivol/inifill.F
25!||--- called by ------------------------------------------------------
26!|| init_inivol ../starter/source/initial_conditions/inivol/init_inivol.F90
27!||--- calls -----------------------------------------------------
28!|| iniphase ../starter/source/initial_conditions/inivol/iniphase.F
29!||--- uses -----------------------------------------------------
30!||====================================================================
31 SUBROUTINE inifill(NUMELS ,NUMELTG,NUMELQ ,NUMNOD ,NPART ,
32 . NPROPMI ,NUMMAT ,N2D ,NGROUP ,
33 . IXS ,IPM ,IPART_ ,IPHASE , SIPART_ ,
34 . IDP ,KVOL ,BUFMAT ,ITAGNSOL , ISOLNOD ,
35 . NBIP ,NTRACE ,PART_FILL ,NBSUBMAT , MLW ,
36 . ELBUF_TAB ,NG ,MULTI_FVM ,IXQ , IXTG ,
37 . ITYP ,IMAT ,SIPHASE ,NUMEL_TOT, NEL ,
38 . NFT ,SBUFMAT)
39C-----------------------------------------------
40C M o d u l e s
41C-----------------------------------------------
42 USE elbufdef_mod , ONLY : elbuf_struct_
43 USE multi_fvm_mod , ONLY : multi_fvm_struct
44C-----------------------------------------------
45C I m p l i c i t T y p e s
46C-----------------------------------------------
47#include "implicit_f.inc"
48C-----------------------------------------------
49C D u m m y A r g u m e n t s
50C-----------------------------------------------
51 INTEGER,INTENT(IN) :: NUMELS,NUMELTG,NUMELQ,NUMNOD,NPART,NPROPMI,NUMMAT,N2D,NGROUP,SIPART_,SBUFMAT
52 INTEGER SIPHASE,IPM(NPROPMI,NUMMAT),IPHASE(NBSUBMAT+1,SIPHASE/(NBSUBMAT+1))
53 INTEGER IPART_(SIPART_),IDP,ITAGNSOL(NUMNOD),NUMEL_TOT,NBIP(NBSUBMAT,NUMEL_TOT)
54 INTEGER ISOLNOD,PART_FILL(NPART),NTRACE, ITYP, IMAT, NBSUBMAT, MLW, NG, NEL, NFT
55 INTEGER,TARGET :: IXS(NIXS,NUMELS),IXQ(NIXQ,NUMELQ), IXTG(NIXTG, NUMELTG)
56 INTEGER,POINTER :: pIXQ,pIXTG,pIXS
57 my_real KVOL(NBSUBMAT,NUMEL_TOT),BUFMAT(SBUFMAT)
58 TYPE(elbuf_struct_), TARGET, DIMENSION(NGROUP), INTENT(IN) :: ELBUF_TAB
59 TYPE (MULTI_FVM_STRUCT), INTENT(IN) :: MULTI_FVM
60C-----------------------------------------------
61C L o c a l V a r i a b l e s
62C-----------------------------------------------
63 INTEGER NF1,IADBUF,NPAR
64C-----------------------------------------------
65C S o u r c e L i n e s
66C-----------------------------------------------
67
68 nf1 = nft+1
69 npar = ipm(9,imat)
70 iadbuf = max(1,ipm(7,imat))
71
72 NULLIFY(pixs)
73 NULLIFY(pixq)
74 NULLIFY(pixtg)
75 IF(numels>0) pixs => ixs(1,nf1)
76 IF(numelq>0) pixq => ixq(1,nf1)
77 IF(n2d>0 .AND. numeltg>0) pixtg => ixtg(1,nf1)
78
79C-----------
80 CALL iniphase(n2d ,numels ,numeltg ,numelq ,
81 . numnod ,ngroup ,
82 . pixs ,ipart_(nf1) ,iphase(1,nf1) ,idp ,
83 . kvol(1,nf1) ,npar ,bufmat(iadbuf) ,ntrace ,
84 . itagnsol ,isolnod ,part_fill ,nbip(1,nf1) ,
85 . nbsubmat ,mlw ,elbuf_tab ,ng ,
86 . multi_fvm ,pixq ,pixtg ,ityp ,
87 . nel )
88C-----------------------------------------------------------------
89 RETURN
90 END
subroutine inifill(numels, numeltg, numelq, numnod, npart, npropmi, nummat, n2d, ngroup, ixs, ipm, ipart_, iphase, sipart_, idp, kvol, bufmat, itagnsol, isolnod, nbip, ntrace, part_fill, nbsubmat, mlw, elbuf_tab, ng, multi_fvm, ixq, ixtg, ityp, imat, siphase, numel_tot, nel, nft, sbufmat)
Definition inifill.F:39
subroutine iniphase(n2d, numels, numeltg, numelq, numnod, ngroup, ixs, ipart_, iphase, idp, kvol, nuparam, uparam, ntrace, itagnsol, isolnod, part_fill, nbip, nbsubmat, mlw, elbuf_tab, ng, multi_fvm, ixq, ixtg, ityp, nel)
Definition iniphase.F:36
#define max(a, b)
Definition macros.h:21