Arcane  v3.16.0.0
Documentation développeur
Tout Classes Espaces de nommage Fichiers Fonctions Variables Définitions de type Énumérations Valeurs énumérées Amis Macros Groupes Pages Concepts
SodMeshGenerator.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/* SodMeshGenerator.h (C) 2000-2024 */
9/* */
10/* Service de génération d'un maillage à-la 'sod'. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_STD_SODMESHGENERATOR_H
13#define ARCANE_STD_SODMESHGENERATOR_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/TraceAccessor.h"
18#include "arcane/std/IMeshGenerator.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
45class SodMeshGenerator
46: public TraceAccessor
47, public IMeshGenerator
48{
49 public:
50
51 class Impl;
52
53 public:
54
55 SodMeshGenerator(IPrimaryMesh* tm, bool use_zxy = false);
56 ~SodMeshGenerator();
57
58 public:
59
60 IntegerConstArrayView communicatingSubDomains() const override;
61 bool readOptions(XmlNode node) override;
62 bool generateMesh() override;
63
64 private:
65
66 IPrimaryMesh* m_mesh;
67 bool m_zyx_generate;
68 std::unique_ptr<Impl> m_p;
69};
70
71/*---------------------------------------------------------------------------*/
72/*---------------------------------------------------------------------------*/
73
74} // End namespace Arcane
75
76/*---------------------------------------------------------------------------*/
77/*---------------------------------------------------------------------------*/
78
79#endif
Interface d'un générateur de maillage.
TraceAccessor(ITraceMng *m)
Construit un accesseur via le gestionnaire de trace m.
Noeud d'un arbre DOM.
Definition XmlNode.h:51
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
ConstArrayView< Integer > IntegerConstArrayView
Equivalent C d'un tableau à une dimension d'entiers.
Definition UtilsTypes.h:573