OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ingrbric_centroids.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
24C Centroids definition for secnd side of Interface Type18 and colocated scheme.
25C Input for secnd side is a GRBRIC.
26!||====================================================================
27!|| ingrbric_centroids ../starter/source/interfaces/interf1/ingrbric_centroids.f
28!||--- called by ------------------------------------------------------
29!|| lecins ../starter/source/interfaces/interf1/lecins.F
30!||--- uses -----------------------------------------------------
31!|| format_mod ../starter/share/modules1/format_mod.F90
32!||====================================================================
33 SUBROUTINE ingrbric_centroids(IBUFSSG,MSV, IXS, NBRIC)
34C-----------------------------------------------
35C M o d u l e s
36C-----------------------------------------------
37 USE format_mod , ONLY : fmw_10i
38C-----------------------------------------------
39C I m p l i c i t T y p e s
40C-----------------------------------------------
41#include "implicit_f.inc"
42C-----------------------------------------------
43C C o m m o n B l o c k s
44C-----------------------------------------------
45#include "units_c.inc"
46#include "com04_c.inc"
47#include "scr03_c.inc"
48C-----------------------------------------------
49C D u m m y A r g u m e n t s
50C-----------------------------------------------
51 INTEGER,INTENT(IN) :: NBRIC
52 INTEGER,INTENT(IN) :: IBUFSSG(NBRIC), IXS(NIXS,NUMELS)
53 INTEGER,INTENT(INOUT), TARGET :: MSV(1:NUMNOD)
54C-----------------------------------------------
55C L o c a l V a r a i b l e s
56C-----------------------------------------------
57 INTEGER :: I
58C-----------------------------------------------
59C S o u r c e L i n e s
60C-----------------------------------------------
61
62 DO i=1,nbric
63 msv(i)=ibufssg(i)
64 ENDDO
65
66 !PRINTOUT
67 IF(ipri >= 1) THEN
68 WRITE(iout,'(/,A,/)')' CENTROID EXTRACTED FROM SOLID ELEMENTS : '
69 WRITE(iout,fmt=fmw_10i)(ixs(11,msv(i)),i=1,nbric)
70 ENDIF
71C------------------------------------------------------------
72 RETURN
73 END
74
subroutine ingrbric_centroids(ibufssg, msv, ixs, nbric)
program starter
Definition starter.F:39