OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
comm_tri7vox_mod.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!|| comm_tri7vox_mod ../engine/share/modules/comm_tri7vox_mod.F
25!||--- called by ------------------------------------------------------
26!|| spmd_split_comm_inter ../engine/source/mpi/interfaces/spmd_split_comm_inter.F
27!|| spmd_tri7vox_optimized ../engine/source/mpi/interfaces/spmd_tri7vox_optimized.F
28!||====================================================================
30#include "my_real.inc"
31!$COMMENT
32! COMM_TRI7VOX_MOD :
33! create the comm_tri7vox_type
34! - INIT : logical,used only for
35! communicator creation
36! - PROC_NUMBER : integer, number of processor
37! for a given interface
38! - PROC_MIN : integer, main processor for a
39! a given interface
40! - COLOR : integer, color of the processor for
41! a given interface (used only for
42! communicator creation)
43! - COMM : integer, communicator for a given
44! interface
45! - RANK : integer, rank of the processor for
46! a given interface
47! - PROC_LIST : integer, list of processors for
48! a given interface
49!$ENDCOMMENT
51 LOGICAL :: init
52 INTEGER :: proc_number
53 INTEGER :: proc_min
54 INTEGER :: color
55 INTEGER :: comm,rank
56 INTEGER, DIMENSION(:), ALLOCATABLE :: proc_list
57
58 END TYPE comm_tri7vox_type
59
60 TYPE(comm_tri7vox_type), DIMENSION(:), ALLOCATABLE :: comm_tri7vox
61 END MODULE comm_tri7vox_mod
type(comm_tri7vox_type), dimension(:), allocatable comm_tri7vox