Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
IMeshFactoryMng.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/* IMeshFactoryMng.h (C) 2000-2025 */
9/* */
10/* Interface of the mesh factory manager. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IMESHFACTORYMNG_H
13#define ARCANE_CORE_IMESHFACTORYMNG_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
31class ARCANE_CORE_EXPORT IMeshFactoryMng
32{
33 public:
34
36 virtual ~IMeshFactoryMng() = default;
37
38 public:
39
41 virtual IMeshMng* meshMng() const = 0;
42
48 virtual IPrimaryMesh* createMesh(const MeshBuildInfo& build_info) = 0;
49};
50
51/*---------------------------------------------------------------------------*/
52/*---------------------------------------------------------------------------*/
53
54} // End namespace Arcane
55
56/*---------------------------------------------------------------------------*/
57/*---------------------------------------------------------------------------*/
58
59#endif
Declarations of Arcane's general types.
Interface of the mesh factory manager.
virtual IMeshMng * meshMng() const =0
Associated mesh manager.
virtual ~IMeshFactoryMng()=default
Frees the resources.
virtual IPrimaryMesh * createMesh(const MeshBuildInfo &build_info)=0
Creates a mesh or a sub-mesh.
Mesh manager interface.
Definition IMeshMng.h:41
Parameters necessary for building a mesh.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --