Arcane  4.1.12.0
User 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-2025 */
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/*---------------------------------------------------------------------------*/
27
28/*!
29 * \internal
30 * \brief Interface of a class providing mesh information.
31 */
32class ARCANE_CORE_EXPORT IMeshStats
33{
34 public:
35
36 //! Releases resources
37 virtual ~IMeshStats() = default;
38
39 public:
40
41 //! Creation of a default instance
42 static IMeshStats* create(ITraceMng* trace, IMesh* mesh, IParallelMng* pm);
43
44 public:
45
46 //! Prints mesh information
47 virtual void dumpStats() = 0;
48
49 //! Prints mesh graph information
50 virtual void dumpGraphStats() = 0;
51};
52
53/*---------------------------------------------------------------------------*/
54/*---------------------------------------------------------------------------*/
55
56} // namespace Arcane
57
58/*---------------------------------------------------------------------------*/
59/*---------------------------------------------------------------------------*/
60
61#endif
Declarations of Arcane's general types.
virtual void dumpGraphStats()=0
Prints mesh graph information.
virtual void dumpStats()=0
Prints mesh information.
static IMeshStats * create(ITraceMng *trace, IMesh *mesh, IParallelMng *pm)
Creation of a default instance.
Definition MeshStats.cc:43
virtual ~IMeshStats()=default
Releases resources.
Interface of the parallelism manager for a subdomain.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --