Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
DoFManager.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2024 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/* DoFManager.h (C) 2000-2024 */
9/* */
10/* Class to handle dof families and connectivities. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MESH_DOFMANAGER_H
13#define ARCANE_MESH_DOFMANAGER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/core/IMesh.h"
18#include "arcane/core/IItemConnectivityMng.h"
19#include "arcane/mesh/DoFFamily.h"
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
24// TODO: mettre dans Arcane::mesh
25namespace Arcane
26{
27
28/*---------------------------------------------------------------------------*/
29/*---------------------------------------------------------------------------*/
30
31//TODO: renommer en DofMng
32class ARCANE_MESH_EXPORT DoFManager
33{
34 public:
35
37 explicit DoFManager(IMesh* mesh);
38
39 public:
40
41 // TODO: a supprimer. Utiliser getFamily() à la place
42 ARCANE_DEPRECATED_REASON("Y2024: use getFamily instead")
44 {
45 bool create_if_needed = true;
48 return *dof_family;
49 }
50
51 IDoFFamily* getFamily(const String& family_name, bool register_modifier_if_created = false)
52 {
53 bool create_if_needed = true;
55 return item_family->toDoFFamily();
56 }
57
58 IItemConnectivityMng* connectivityMng() const { return m_connectivity_mng; }
59
60 private:
61
62 Arcane::IMesh* m_mesh;
63 IItemConnectivityMng* m_connectivity_mng;
64};
65
66/*---------------------------------------------------------------------------*/
67/*---------------------------------------------------------------------------*/
68
69} // namespace Arcane
70
71/*---------------------------------------------------------------------------*/
72/*---------------------------------------------------------------------------*/
73
74#endif /* DOFMANAGER_H_ */
Interface d'une famille de DoF.
Definition IDoFFamily.h:33
Interface d'une famille d'entités.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Chaîne de caractères unicode.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
@ IK_DoF
Entité de maillage de genre degre de liberte.