Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
IMeshCompactMng.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/* IMeshCompactMng.h (C) 2000-2025 */
9/* */
10/* Interface for managing the compaction of mesh families. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IMESHCOMPACTMNG_H
13#define ARCANE_CORE_IMESHCOMPACTMNG_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28class IMeshCompacter;
29
30/*---------------------------------------------------------------------------*/
31/*---------------------------------------------------------------------------*/
32
47class ARCANE_CORE_EXPORT IMeshCompactMng
48{
49 public:
50
51 virtual ~IMeshCompactMng() {} //<! Releases resources
52
53 public:
54
56 virtual IMesh* mesh() const = 0;
57
64
72
79 virtual void endCompact() = 0;
80
87 virtual IMeshCompacter* compacter() = 0;
88};
89
90/*---------------------------------------------------------------------------*/
91/*---------------------------------------------------------------------------*/
92
93} // End namespace Arcane
94
95/*---------------------------------------------------------------------------*/
96/*---------------------------------------------------------------------------*/
97
98#endif
Declarations of Arcane's general types.
Interface of an entity family.
Definition IItemFamily.h:83
Interface for managing the compaction of mesh families.
virtual void endCompact()=0
Signals that the compaction is finished.
virtual IMeshCompacter * compacter()=0
Current active compacter.
virtual IMeshCompacter * beginCompact(IItemFamily *family)=0
Starts a compaction for the entity family family.
virtual IMesh * mesh() const =0
Associated mesh.
virtual IMeshCompacter * beginCompact()=0
Starts a compaction on all families of the mesh.
Management of mesh family compaction.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --