Arcane
v3.16.0.0
Documentation développeur
Toggle main menu visibility
Page principale
Pages associées
Topics
Espaces de nommage
Liste des espaces de nommage
Membres de l'espace de nommage
Tout
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Fonctions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
Variables
Définitions de type
a
b
c
d
e
f
i
l
m
n
p
r
s
t
u
v
Énumérations
e
i
m
t
Valeurs énumérées
d
h
i
l
m
p
r
s
t
w
Concepts
Classes
Liste des classes
Index des classes
Hiérarchie des classes
Membres de classe
Tout
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Fonctions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Définitions de type
_
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
v
Énumérations
_
c
d
e
m
p
s
Valeurs énumérées
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Fonctions associées
_
d
i
m
o
s
Fichiers
Liste des fichiers
Membres de fichier
Tout
a
d
e
g
k
p
r
s
t
v
Fonctions
Variables
Définitions de type
Énumérations
Valeurs énumérées
k
Macros
a
e
p
r
▼
Arcane
►
Nouveautés et changements
►
Comment écrire de la documentation
►
Personnalisation de la doc
►
Compilation et installation
►
Gestion des connectivités à la demande
Réalisation d'un lecteur de maillage
►
Services et modules disponibles
Variables d'environnement
Liste des éléments obsolètes
Liste des choses à faire
►
Topics
►
Espaces de nommage
►
Concepts
►
Classes
▼
Fichiers
▼
Liste des fichiers
►
arcane
►
arcane
▼
arcane
►
accelerator
►
aleph
►
cartesianmesh
►
core
►
corefinement
►
dotnet
►
driver
►
driverlib
►
geometry
►
hdf5
►
hyoda
►
impl
►
ios
►
launcher
►
materials
►
matrix
►
mesh
►
mono
►
parallel
▼
std
▼
internal
BasicReader.h
BasicReaderWriter.h
BasicReaderWriterDatabase.h
BasicWriter.h
IHashDatabase.h
IosFile.cc
IosFile.h
IosGmsh.h
IRedisContext.h
Kdi.h
MetisGraph.h
MetisGraphDigest.h
MetisGraphGather.h
MetisWrapper.h
Otf2LibWrapper.h
internal/Otf2MessagePassingProfilingService.h
Otf2MpiProfiling.h
ParallelDataReader.h
ParallelDataWriter.h
SodStandardGroupsBuilder.cc
SodStandardGroupsBuilder.h
TextReader2.h
TextWriter2.h
VariableDataInfo.h
ArcaneBasicVerifierService.cc
ArcaneCasePartitioner.cc
ArcaneCheckpointModule.cc
ArcaneCurveWriter.cc
ArcaneDirectExecution.cc
ArcaneLoadBalanceModule.cc
ArcaneMeshConverter.cc
ArcanePostProcessingModule.cc
std/ArcaneSession.h
ArcaneStdRegisterer.cc
ArcaneStdRegisterer.h
BasicCheckpointService.cc
BasicGenericReader.cc
BasicGenericWriter.cc
BasicReader.cc
BasicReaderWriter.cc
BasicReaderWriterDatabase.cc
BasicWriter.cc
Bzip2DeflateService.cc
CartesianMeshGenerator.cc
CartesianMeshGenerator.h
DbgHelpStackTraceService.cc
DumpW.cc
DumpW.h
DumpWEnsight7.cc
DumpWUCD.cc
FileHashDatabase.cc
GraphDistributor.h
HashAlgorithmServices.cc
std/Hdf5MpiReaderWriter.h
std/Hdf5ReaderWriter.h
std/Hdf5Utils.h
std/Hdf5VariableInfoBase.h
HiredisAdapter.cc
HoneyCombMeshGenerator.cc
HoneyCombMeshGenerator.h
HWLocProcessorAffinity.cc
IMeshGenerator.h
JsonMessagePassingProfilingService.cc
JsonMessagePassingProfilingService.h
KdiPostProcessor.cc
LibUnwindStackTraceService.cc
LinuxPerfPerformanceCounterService.cc
LZ4DeflateService.cc
MasterModule.cc
MeshGeneratorService.cc
MeshPartitionerBase.cc
MeshPartitionerBase.h
MetisGraphDigest.cc
MetisGraphGather.cc
MetisMeshPartitioner.cc
MetisWrapper.cc
MshMeshReader.cc
MshMeshWriter.cc
MshParallelMeshReader.cc
Otf2LibWrapper.cc
Otf2MessagePassingProfilingService.cc
Otf2MessagePassingProfilingService.h
Otf2MpiProfiling.cc
PapiPerformanceService.cc
PapiPerformanceService.h
ParallelDataReader.cc
ParallelDataWriter.cc
PartitionConverter.h
PDESRandomNumberGeneratorService.cc
PDESRandomNumberGeneratorService.h
ProfilingInfo.cc
ProfilingInfo.h
ProfPerformanceService.cc
PTScotchMeshPartitioner.cc
RedisHashDatabase.cc
SimpleCsvComparatorService.cc
SimpleCsvComparatorService.h
SimpleCsvOutputService.cc
SimpleCsvOutputService.h
SimpleCsvReaderWriter.cc
SimpleCsvReaderWriter.h
SimpleMeshGenerator.cc
SimpleMeshGenerator.h
SimpleTableInternalComparator.cc
SimpleTableInternalComparator.h
SimpleTableInternalMng.cc
SimpleTableInternalMng.h
SimpleTableWriterHelper.cc
SimpleTableWriterHelper.h
SodMeshGenerator.cc
SodMeshGenerator.h
SplitSDMeshPartitioner.cc
SplitSDMeshPartitioner.h
TextReader.cc
TextReader.h
TextReader2.cc
TextWriter.cc
TextWriter.h
TextWriter2.cc
TypesArcaneCheckpoint.h
TypesArcanePostProcessing.h
TypesMetisMeshPartitioner.h
UdunitsPhysicalUnitSystemService.cc
UnitTestModule.cc
VariableDataInfo.cc
VoronoiMeshIOService.cc
VtkMeshIOService.cc
VtkPolyhedralMeshIOService.cc
ZoltanMeshPartitioner.cc
►
totalview
►
utils
►
arccore
►
Membres de fichier
•
Tout
Classes
Espaces de nommage
Fichiers
Fonctions
Variables
Définitions de type
Énumérations
Valeurs énumérées
Amis
Macros
Groupes
Pages
Concepts
Chargement...
Recherche...
Aucune correspondance
MetisGraph.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2024 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4
// See the top-level COPYRIGHT file for details.
5
// SPDX-License-Identifier: Apache-2.0
6
//-----------------------------------------------------------------------------
7
/*---------------------------------------------------------------------------*/
8
/* MetisGraph.h (C) 2000-2024 */
9
/* */
10
/* Gestion d'un graphe de Metis. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_STD_METISGRAPH
13
#define ARCANE_STD_METISGRAPH
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/utils/Array.h"
18
#include "arcane/utils/ArrayView.h"
19
#include <parmetis.h>
20
21
/*---------------------------------------------------------------------------*/
22
/*---------------------------------------------------------------------------*/
23
namespace
Arcane
24
{
25
26
/*---------------------------------------------------------------------------*/
27
/*---------------------------------------------------------------------------*/
28
29
struct
MetisGraph
30
{
31
int
nb_vertices = 0;
32
bool
have_vsize =
false
;
33
bool
have_adjwgt =
false
;
34
UniqueArray<idx_t>
xadj;
35
UniqueArray<idx_t>
adjncy;
36
UniqueArray<idx_t>
vwgt;
37
UniqueArray<idx_t>
vsize;
38
UniqueArray<idx_t>
adjwgt;
39
UniqueArray<idx_t>
part;
40
};
29
struct
MetisGraph
{
…
};
41
42
/*---------------------------------------------------------------------------*/
43
/*---------------------------------------------------------------------------*/
44
45
class
MetisGraphView
46
{
47
public
:
48
MetisGraphView() =
default
;
49
50
MetisGraphView(
MetisGraph
& graph)
51
: nb_vertices(graph.nb_vertices)
52
, have_vsize(graph.have_vsize)
53
, have_adjwgt(graph.have_adjwgt)
54
, xadj(graph.xadj)
55
, adjncy(graph.adjncy)
56
, vwgt(graph.vwgt)
57
, vsize(graph.vsize)
58
, adjwgt(graph.adjwgt)
59
, part(graph.part)
60
{}
61
public
:
62
int
nb_vertices = 0;
63
bool
have_vsize =
false
;
64
bool
have_adjwgt =
false
;
65
ArrayView<idx_t>
xadj;
66
ArrayView<idx_t>
adjncy;
67
ArrayView<idx_t>
vwgt;
68
ArrayView<idx_t>
vsize;
69
ArrayView<idx_t>
adjwgt;
70
ArrayView<idx_t>
part;
71
};
45
class
MetisGraphView {
…
};
72
73
/*---------------------------------------------------------------------------*/
74
/*---------------------------------------------------------------------------*/
75
76
}
// End namespace Arcane
77
78
/*---------------------------------------------------------------------------*/
79
/*---------------------------------------------------------------------------*/
80
81
#endif
Arcane::ArrayView
Vue modifiable d'un tableau d'un type T.
Definition
arccore/src/base/arccore/base/ArrayView.h:94
Arcane::UniqueArray
Vecteur 1D de données avec sémantique par valeur (style STL).
Definition
arccore/src/collections/arccore/collections/Array.h:1844
Arcane
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Definition
AcceleratorGlobal.h:36
Arcane::MetisGraph
Definition
MetisGraph.h:30
arcane
std
internal
MetisGraph.h
Généré le Lundi 31 Mars 2025 02:53:15 pour Arcane par
1.13.2