Arcane
v3.16.2.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
GraphBuilder.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2022 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
/* GraphBuilder.h (C) 2000-2021 */
9
/* */
10
/*---------------------------------------------------------------------------*/
11
#ifndef ARCANE_MESH_GRAPHBUILDER_H
12
#define ARCANE_MESH_GRAPHBUILDER_H
13
14
#include "arcane/IGraph2.h"
15
#include "arcane/mesh/GraphDoFs.h"
16
#include "arcane/mesh/ParticleFamily.h"
17
#include "arcane/IMesh.h"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
namespace
Arcane::mesh
23
{
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
27
28
class
GraphBuilder
29
{
30
public
:
31
static
IGraph2
* createGraph(
IMesh
*
mesh
,
String
const
& particle_family_name = ParticleFamily::defaultFamilyName())
32
{
33
return
new
mesh::GraphDoFs
(
mesh
, particle_family_name);
34
};
35
};
36
37
/*---------------------------------------------------------------------------*/
38
/*---------------------------------------------------------------------------*/
39
40
}
// namespace Arcane::mesh
41
42
/*---------------------------------------------------------------------------*/
43
/*---------------------------------------------------------------------------*/
44
45
#endif
Arcane::IGraph2
Interface d'un graphe du maillage.
Definition
IGraph2.h:90
Arcane::IMesh
Definition
IMesh.h:59
Arcane::String
Chaîne de caractères unicode.
Definition
arccore/src/base/arccore/base/String.h:70
Arcane::mesh::GraphBuilder
Definition
GraphBuilder.h:29
Arcane::mesh::GraphDoFs
Definition
GraphDoFs.h:153
Arcane::mesh
AMR.
Definition
ArcaneTypes.h:573
arcane
mesh
GraphBuilder.h
Généré le Mercredi 23 Avril 2025 06:44:55 pour Arcane par
1.13.2