Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
IMeshMng.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/* IMeshMng.h (C) 2000-2025 */
9/* */
10/* Mesh manager interface. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IMESHMNG_H
13#define ARCANE_CORE_IMESHMNG_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
40class ARCANE_CORE_EXPORT IMeshMng
41{
42 public:
43
45 virtual ~IMeshMng() = default;
46
47 public:
48
50 virtual ITraceMng* traceMng() const = 0;
51
53 virtual IMeshFactoryMng* meshFactoryMng() const = 0;
54
56 virtual IVariableMng* variableMng() const = 0;
57
58 public:
59
67 virtual MeshHandle* findMeshHandle(const String& name, bool throw_exception) = 0;
68
74 virtual MeshHandle findMeshHandle(const String& name) = 0;
75
81 virtual MeshHandle createMeshHandle(const String& name) = 0;
82
92 virtual void destroyMesh(MeshHandle handle) = 0;
93
95 virtual MeshHandle defaultMeshHandle() const = 0;
96};
97
98/*---------------------------------------------------------------------------*/
99/*---------------------------------------------------------------------------*/
100
101} // End namespace Arcane
102
103/*---------------------------------------------------------------------------*/
104/*---------------------------------------------------------------------------*/
105
106#endif
Declarations of Arcane's general types.
Interface of the mesh factory manager.
Mesh manager interface.
Definition IMeshMng.h:41
virtual ITraceMng * traceMng() const =0
Trace manager associated with this manager.
virtual ~IMeshMng()=default
Frees the resources.
virtual MeshHandle findMeshHandle(const String &name)=0
Searches for the mesh with name name.
virtual IVariableMng * variableMng() const =0
Variable manager associated with this manager.
virtual void destroyMesh(MeshHandle handle)=0
Destroys the mesh associated with handle.
virtual MeshHandle createMeshHandle(const String &name)=0
Creates and returns a handle for a mesh with name name.
virtual IMeshFactoryMng * meshFactoryMng() const =0
Mesh factory associated with this manager.
virtual MeshHandle * findMeshHandle(const String &name, bool throw_exception)=0
Searches for the mesh with name name.
virtual MeshHandle defaultMeshHandle() const =0
Handle for the default mesh.
Variable manager interface.
Handle on a mesh.
Definition MeshHandle.h:48
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --