Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
IMeshFactory.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 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-2020 */
9/* */
10/* Interface d'un service de de fabrique de maillage. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_IMESHFACTORY_H
13#define ARCANE_IMESHFACTORY_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/ArcaneTypes.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27/*!
28 * \internal
29 * \brief Interface du service gérant la lecture d'un maillage.
30 */
31class ARCANE_CORE_EXPORT IMeshFactory
32{
33 public:
34
35 virtual ~IMeshFactory() {} //<! Libère les ressources
36
37 public:
38
39 //! Créé un maillage avec les informations de \a build_info
40 virtual IPrimaryMesh* createMesh(IMeshMng* mm,const MeshBuildInfo& build_info) =0;
41};
42
43/*---------------------------------------------------------------------------*/
44/*---------------------------------------------------------------------------*/
45
46} // End namespace Arcane
47
48/*---------------------------------------------------------------------------*/
49/*---------------------------------------------------------------------------*/
50
51#endif
52
virtual IPrimaryMesh * createMesh(IMeshMng *mm, const MeshBuildInfo &build_info)=0
Créé un maillage avec les informations de build_info.
Interface du gestionnaire des maillages.
Definition IMeshMng.h:40
Paramètres nécessaires à la construction d'un maillage.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-