Arcane  v3.16.4.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
IMeshSubMeshTransition.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2025 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/* IMeshSubMeshTransition.h (C) 2000-2025 */
9/*---------------------------------------------------------------------------*/
10#ifndef ARCANE_CORE_IMESHSUBMESHTRANSITION_H
11#define ARCANE_CORE_IMESHSUBMESHTRANSITION_H
12/*---------------------------------------------------------------------------*/
13/*---------------------------------------------------------------------------*/
14
15#include "arcane/core/IMesh.h"
16#include "arcane/core/IPrimaryMesh.h"
17
18/*---------------------------------------------------------------------------*/
19/*---------------------------------------------------------------------------*/
20
21namespace Arcane
22{
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27/*!
28 * \brief Macro pour convertir un IMesh en IPrimaryMesh.
29 *
30 * \deprecated Ne pas utiliser. Appeler IMesh::toPrimaryMesh() à la place.
31 */
32#define PRIMARYMESH_CAST(m) ((m)->toPrimaryMesh())
33
34/*---------------------------------------------------------------------------*/
35/*---------------------------------------------------------------------------*/
36
37} // namespace Arcane
38
39/*---------------------------------------------------------------------------*/
40/*---------------------------------------------------------------------------*/
41
42#endif
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-