Arcane  v3.14.10.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
22namespace Arcane::mesh
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
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
Interface d'un graphe du maillage.
Definition IGraph2.h:90
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Chaîne de caractères unicode.