Arcane  4.2.3.0
Developer documentation
Loading...
Searching...
No Matches
IMeshStats.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/* IMeshStats.h (C) 2000-2026 */
9/* */
10/* Interface of a class providing mesh information. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IMESHSTATS_H
13#define ARCANE_CORE_IMESHSTATS_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
30class ARCANE_CORE_EXPORT IMeshStats
31{
32 public:
33
35 virtual ~IMeshStats() = default;
36
37 public:
38
39 ARCANE_DEPRECATED_REASON("Y2026: Use create(ITraceMng*, IMesh*) instead")
40 static IMeshStats* create(ITraceMng* trace, IMesh* mesh, IParallelMng* pm);
41
43 static Ref<IMeshStats> create(ITraceMng* trace, IMesh* mesh);
44
45 public:
46
48 virtual void dumpStats() = 0;
49
51 virtual void dumpGraphStats() = 0;
52};
53
54/*---------------------------------------------------------------------------*/
55/*---------------------------------------------------------------------------*/
56
57} // namespace Arcane
58
59/*---------------------------------------------------------------------------*/
60/*---------------------------------------------------------------------------*/
61
62#endif
Declarations of Arcane's general types.
Interface of a class providing mesh information.
Definition IMeshStats.h:31
virtual void dumpGraphStats()=0
Prints mesh graph information.
virtual void dumpStats()=0
Prints mesh information.
virtual ~IMeshStats()=default
Releases resources.
Interface of the parallelism manager for a subdomain.
Reference to an instance.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --