Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
IMeshFactory.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/* IMeshFactory.h (C) 2000-2025 */
9/* */
10/* Interface of a mesh factory service. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IMESHFACTORY_H
13#define ARCANE_CORE_IMESHFACTORY_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28/*!
29 * \internal
30 * \brief Interface of the service managing mesh reading.
31 */
32class ARCANE_CORE_EXPORT IMeshFactory
33{
34 public:
35
36 virtual ~IMeshFactory() {} //<! Releases resources
37
38 public:
39
40 //! Creates a mesh with the information from \a build_info
41 virtual IPrimaryMesh* createMesh(IMeshMng* mm, const MeshBuildInfo& build_info) = 0;
42};
43
44/*---------------------------------------------------------------------------*/
45/*---------------------------------------------------------------------------*/
46
47} // End namespace Arcane
48
49/*---------------------------------------------------------------------------*/
50/*---------------------------------------------------------------------------*/
51
52#endif
Declarations of Arcane's general types.
virtual IPrimaryMesh * createMesh(IMeshMng *mm, const MeshBuildInfo &build_info)=0
Creates a mesh with the information from build_info.
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 --