Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
MeshAreaAccessor.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/* MeshAreaAccessor.h (C) 2000-2004 */
9/* */
10/* Accès aux informations d'une zone de maillage. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MESHAREAACCESSOR_H
13#define ARCANE_MESHAREAACCESSOR_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17
18#include "arcane/ArcaneTypes.h"
19#include "arcane/ItemTypes.h"
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
24ARCANE_BEGIN_NAMESPACE
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
29class IMeshArea;
30
31/*---------------------------------------------------------------------------*/
32/*---------------------------------------------------------------------------*/
36class ARCANE_CORE_EXPORT MeshAreaAccessor
37{
38 public:
39
42
43 public:
44
46 IMeshArea* meshArea();
47
49 void setMeshArea(IMeshArea* mesh_area);
50
51 public:
52
54 Integer nbNode();
55
57 Integer nbCell();
58
59 public:
60
62 NodeGroup allNodes();
63
65 CellGroup allCells();
66
68 NodeGroup ownNodes();
69
71 CellGroup ownCells();
72
73 private:
74
75 IMeshArea* m_mesh_area;
76};
77
78/*---------------------------------------------------------------------------*/
79/*---------------------------------------------------------------------------*/
80
81ARCANE_END_NAMESPACE
82
83/*---------------------------------------------------------------------------*/
84/*---------------------------------------------------------------------------*/
85
86#endif
87
Interface d'une zone du maillage.
Definition IMeshArea.h:41
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Accès aux informations d'une zone de maillage.