Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
ItemGroupsSynchronize.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/* ItemGroupsSynchronize.h (C) 2000-2016 */
9/* */
10/* Group synchronizations. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MESH_ITEMGROUPSSYNCHRONIZE_H
13#define ARCANE_MESH_ITEMGROUPSSYNCHRONIZE_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/List.h"
18#include "arcane/utils/TraceAccessor.h"
19
20#include "arcane/core/MeshVariable.h"
21
22#include "arcane/mesh/MeshGlobal.h"
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27namespace Arcane
28{
29class IMesh;
30}
31/*---------------------------------------------------------------------------*/
32/*---------------------------------------------------------------------------*/
33
34namespace Arcane::mesh
35{
36
37/*---------------------------------------------------------------------------*/
38/*---------------------------------------------------------------------------*/
39
40/*---------------------------------------------------------------------------*/
41/*---------------------------------------------------------------------------*/
60: public TraceAccessor
61{
62 public:
63
75
76 public:
77
79 void synchronize();
86
87 public:
88
89 IItemFamily* m_item_family;
92 ItemGroupList m_groups;
93
94 private:
95
96 void _setGroups();
97};
98
99/*---------------------------------------------------------------------------*/
100/*---------------------------------------------------------------------------*/
101
102} // namespace Arcane::mesh
103
104/*---------------------------------------------------------------------------*/
105/*---------------------------------------------------------------------------*/
106
107#endif
Interface of an entity family.
Definition IItemFamily.h:83
Scalar variable on a mesh entity type.
TraceAccessor(ITraceMng *m)
Constructs an accessor via the trace manager m.
Integer checkSynchronize()
Checks if the groups are synchronized.
ItemGroupsSynchronize(IItemFamily *item_family)
Create an instance to synchronize all groups of the family item_family.
Int32 IntAggregator
Type used for aggregating group communications.
void synchronize()
Synchronizes the groups.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Collection< ItemGroup > ItemGroupCollection
Collection of mesh item groups.
Int32 Integer
Type representing an integer.
List< ItemGroup > ItemGroupList
Array of mesh item groups.
std::int32_t Int32
Signed integer type of 32 bits.