Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
ItemsOwnerBuilder.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 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/* ItemsOwnerBuilder.h (C) 2000-2025 */
9/* */
10/* Class for calculating entity owners. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MESH_ITESMOWNERBUILDER_H
13#define ARCANE_MESH_ITESMOWNERBUILDER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/mesh/MeshGlobal.h"
18
19#include <memory>
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23namespace Arcane
24{
25class IMesh;
26}
27namespace Arcane::mesh
28{
30
31/*---------------------------------------------------------------------------*/
32/*---------------------------------------------------------------------------*/
33
40class ARCANE_MESH_EXPORT ItemsOwnerBuilder
41{
42 class Impl;
43
44 public:
45
46 explicit ItemsOwnerBuilder(IMesh* mesh);
47 ~ItemsOwnerBuilder();
48
49 public:
50
51 void computeFacesOwner();
52 void computeEdgesOwner();
53 void computeNodesOwner();
54
55 private:
56
57 std::unique_ptr<ItemsOwnerBuilderImpl> m_p;
58};
59
60/*---------------------------------------------------------------------------*/
61/*---------------------------------------------------------------------------*/
62
63} // namespace Arcane::mesh
64
65/*---------------------------------------------------------------------------*/
66/*---------------------------------------------------------------------------*/
67
68#endif
Implementation of the owner calculation algorithm.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --