Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
AllCellToAllEnvCellContainer.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/* AllCellToAllEnvCellContainer.h (C) 2000-2024 */
9/* */
10/* Data container for 'AllCellToAllEnvCell'. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MATERIALS_INTERNAL_ALLCELLTOALLENVCELLCONTAINER_H
13#define ARCANE_MATERIALS_INTERNAL_ALLCELLTOALLENVCELLCONTAINER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19#include "arcane/materials/AllCellToAllEnvCellConverter.h"
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
24namespace ArcaneTest
25{
26class MeshMaterialAcceleratorUnitTest;
27}
28
29namespace Arcane::Materials
30{
31
32/*---------------------------------------------------------------------------*/
33/*---------------------------------------------------------------------------*/
34
56class ARCANE_MATERIALS_EXPORT AllCellToAllEnvCellContainer
57{
58 public:
59
60 class Impl;
61
62 public:
63
64 explicit AllCellToAllEnvCellContainer(IMeshMaterialMng* mm);
65 ~AllCellToAllEnvCellContainer();
66
67 public:
68
70 AllCellToAllEnvCellContainer(const AllCellToAllEnvCellContainer&) = delete;
71 AllCellToAllEnvCellContainer& operator=(const AllCellToAllEnvCellContainer&) = delete;
72 AllCellToAllEnvCellContainer& operator=(AllCellToAllEnvCellContainer&&) = delete;
73
74 public:
75
88 void initialize();
89
99
105 void bruteForceUpdate();
106
107 void reset();
108
109 AllCellToAllEnvCell view() const;
110
111 private:
112
113 Impl* m_p = nullptr;
114};
115
116/*---------------------------------------------------------------------------*/
117/*---------------------------------------------------------------------------*/
118
119} // End namespace Arcane::Materials
120
121/*---------------------------------------------------------------------------*/
122/*---------------------------------------------------------------------------*/
123
124#endif
Int32 computeMaxNbEnvPerCell() const
Method to provide the maximum number of environments present on a cell at time t.
AllCellToAllEnvCellContainer(const AllCellToAllEnvCellContainer &)=delete
Copies forbidden.
void initialize()
Alternative creation function. It is necessary to wait until the data related to the materials is fin...
Connectivity table from 'Cell' to its 'AllEnvCell' intended for use on accelerator.
Interface for the material and environment manager of a mesh.
Always enables tracing in Arcane parts concerning materials.
class ARCANE_MATERIALS_EXPORT(64) SimdMatVarIndex
SIMD indexer on a component.
std::int32_t Int32
Signed integer type of 32 bits.