Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
IIncrementalItemConnectivityInternal.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/* IIncrementalItemConnectivityInternal.h (C) 2000-2024 */
9/* */
10/* Internal Arcane API for IncrementalItemConnectivity */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_INTERNAL_IINCREMENTALITEMCONNECTIVITYINTERNAL_H
13#define ARCANE_CORE_INTERNAL_IINCREMENTALITEMCONNECTIVITYINTERNAL_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/ArrayView.h"
18
20#include "arcane/core/IItemConnectivityAccessor.h"
21
22/*---------------------------------------------------------------------------*/
23/*---------------------------------------------------------------------------*/
24
25namespace Arcane
26{
27
28/*---------------------------------------------------------------------------*/
29/*---------------------------------------------------------------------------*/
30
43
44/*---------------------------------------------------------------------------*/
45/*---------------------------------------------------------------------------*/
46
51{
52 public:
53
54 virtual ~IIncrementalItemConnectivityInternal() = default;
55
56 public:
57
59 virtual void shrinkMemory() = 0;
60
62 virtual void addMemoryInfos(ItemConnectivityMemoryInfo& mem_info) = 0;
63};
64
65/*---------------------------------------------------------------------------*/
66/*---------------------------------------------------------------------------*/
67
68} // namespace Arcane
69
70/*---------------------------------------------------------------------------*/
71/*---------------------------------------------------------------------------*/
72
73#endif
Declarations of types on entities.
Internal Arcane API for IIncrementalItemConnectivity.
virtual void shrinkMemory()=0
Minimally reduces memory usage for connectivities.
virtual void addMemoryInfos(ItemConnectivityMemoryInfo &mem_info)=0
Adds the instance's memory information to mem_info.
Memory usage information for connectivities.
Int64 m_total_capacity
Total number of Int32 allocated (corresponds to the sum of capacity()).
Int64 m_total_size
Total number of Int32 used (corresponds to the sum of size()).
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
std::int64_t Int64
Signed integer type of 64 bits.