Arcane  v3.16.0.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
LimaCutInfosReader.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/* LimaCutInfosReader.h (C) 2000-2018 */
9/* */
10/* Lecteur des informations de découpages avec les fichiers Lima. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CEA_LIMACUTINFOSREADER_H
13#define ARCANE_CEA_LIMACUTINFOSREADER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/TraceAccessor.h"
18#include "arcane/ArcaneTypes.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23ARCANE_BEGIN_NAMESPACE
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28class XmlNode;
29class IParallelMng;
30
31/*---------------------------------------------------------------------------*/
32/*---------------------------------------------------------------------------*/
33/*!
34 * \brief Construction d'un maillage 3D.
35 */
36class LimaCutInfosReader
37: public TraceAccessor
38{
39 public:
40
41 LimaCutInfosReader(IParallelMng* parallel_mng);
42 virtual ~LimaCutInfosReader() {}
43
44 public:
45
46 public:
47
48 void readItemsUniqueId(Int64ArrayView nodes_id,Int64ArrayView cells_id,
49 const String& dir_name);
50
51 private:
52
53 IParallelMng* m_parallel_mng;
54
55 private:
56
57 void _readUniqueIndex(Int64ArrayView nodes_id,Int64ArrayView cells_id,const String& dir_name);
58 void _readUniqueIndexFromXml(Int64ArrayView nodes_id,Int64ArrayView cells_id,
59 XmlNode root_element,Int32 rank);
60};
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
64
65ARCANE_END_NAMESPACE
66
67/*---------------------------------------------------------------------------*/
68/*---------------------------------------------------------------------------*/
69
70#endif
71
Interface du gestionnaire de parallélisme pour un sous-domaine.
void readItemsUniqueId(Int64ArrayView nodes_id, Int64ArrayView cells_id, const String &dir_name)
Construit les structures internes du maillage.
Chaîne de caractères unicode.
TraceAccessor(ITraceMng *m)
Construit un accesseur via le gestionnaire de trace m.
Noeud d'un arbre DOM.
Definition XmlNode.h:51
ArrayView< Int64 > Int64ArrayView
Equivalent C d'un tableau à une dimension d'entiers 64 bits.
Definition UtilsTypes.h:538
std::int32_t Int32
Type entier signé sur 32 bits.