Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
MeshToMeshTransposer.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/* MeshToMeshTransposer.h (C) 2000-2009 */
9/* */
10/* Opérateur de transposition entre sous-maillages. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MESGTOMESHTRANSPOSE_H
13#define ARCANE_MESGTOMESHTRANSPOSE_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include <arcane/ItemVectorView.h>
18#include <arcane/ItemVector.h>
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23ARCANE_BEGIN_NAMESPACE
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28class IMesh;
29
30/*---------------------------------------------------------------------------*/
31/*---------------------------------------------------------------------------*/
32
33//! Transposeur d'items entre sous-maillages
34class ARCANE_CORE_EXPORT MeshToMeshTransposer {
35public:
36 //! Transpose \a itemsA from \a meshB to \a items on \a meshB
37 static ItemVector transpose(IMesh * meshA, IMesh * meshB, ItemVectorView itemsA, bool do_fatal = false);
38
39 //! Transpose \a itemsA from \a familyA to \a items on \a familyB
40 static ItemVector transpose(IItemFamily * familyA, IItemFamily * familyB, ItemVectorView itemsA, bool do_fatal = false);
41
42 //! Transpose le genre \a kindA du maillage \a meshA en le genre associé dans \a meshB
43 static eItemKind kindTranspose(eItemKind kindA, IMesh * meshA, IMesh * meshB);
44
45private:
46
47 static ItemVector _transpose(IItemFamily * familyA, IItemFamily * familyB, const ItemVectorView & itemsA, bool do_fatal);
48};
49
50/*---------------------------------------------------------------------------*/
51/*---------------------------------------------------------------------------*/
52
53ARCANE_END_NAMESPACE
54
55/*---------------------------------------------------------------------------*/
56/*---------------------------------------------------------------------------*/
57
58#endif
Interface d'une famille d'entités.
Vue sur un vecteur d'entités.
Vecteur d'entités.
Definition ItemVector.h:59
Transposeur d'items entre sous-maillages.
eItemKind
Genre d'entité de maillage.