Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
ICartesianMeshGenerationInfo.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/* ICartesianMeshGenerationInfo.h (C) 2000-2021 */
9/* */
10/* Informations sur la génération des maillages cartésiens. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_INTERNAL_ICARTESIANMESHGENERATIONINFO_H
13#define ARCANE_CORE_INTERNAL_ICARTESIANMESHGENERATIONINFO_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/ArcaneTypes.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27/*!
28 * \internal
29 * \brief Informations sur la génération des maillages cartésiens.
30 */
31class ARCANE_CORE_EXPORT ICartesianMeshGenerationInfo
32{
33 public:
34
35 static ICartesianMeshGenerationInfo* getReference(IMesh* mesh,bool create);
36
37 public:
38
39 virtual ~ICartesianMeshGenerationInfo() = default;
40
41 public:
42
43 virtual Int64 globalNbCell() const =0;
44 virtual Int64ConstArrayView globalNbCells() const =0;
45 virtual Int32ConstArrayView subDomainOffsets() const =0;
46 virtual Int32ConstArrayView nbSubDomains() const =0;
47 virtual Int32ConstArrayView ownNbCells() const =0;
48 virtual Int64ConstArrayView ownCellOffsets() const =0;
49 virtual Int64 firstOwnCellUniqueId() const =0;
50 virtual Real3 globalOrigin() const =0;
51 virtual Real3 globalLength() const =0;
52
53 virtual void setOwnCellOffsets(Int64 x,Int64 y,Int64 z) =0;
54 virtual void setGlobalNbCells(Int64 x,Int64 y,Int64 z) =0;
55 virtual void setSubDomainOffsets(Int32 x,Int32 y,Int32 z) =0;
56 virtual void setNbSubDomains(Int32 x,Int32 y,Int32 z) =0;
57 virtual void setOwnNbCells(Int32 x,Int32 y,Int32 z) =0;
58 virtual void setFirstOwnCellUniqueId(Int64 uid) =0;
59 virtual void setGlobalOrigin(Real3 pos) =0;
60 virtual void setGlobalLength(Real3 length) =0;
61};
62
63/*---------------------------------------------------------------------------*/
64/*---------------------------------------------------------------------------*/
65
66} // End namespace Arcane
67
68/*---------------------------------------------------------------------------*/
69/*---------------------------------------------------------------------------*/
70
71#endif
Classe gérant un vecteur de réel de dimension 3.
Definition Real3.h:132
Vue constante d'un tableau de type T.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-