Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
IGridMeshPartitioner.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 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/* IGridMeshPartitioner.h (C) 2000-2025 */
9/* */
10/* Interface of a mesh partitioner on a grid. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_IGRIDMESHPARTITIONER_H
13#define ARCANE_CORE_IGRIDMESHPARTITIONER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/core/IMeshPartitionerBase.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
53class ARCANE_CORE_EXPORT IGridMeshPartitioner
54// TODO: supprimer l'héritage de cette interface
56{
57 public:
58
65 virtual void setBoundingBox(Real3 min_val, Real3 max_val) = 0;
66
73 virtual void setPartIndex(Int32 i, Int32 j, Int32 k) = 0;
74
87 virtual void applyMeshPartitioning(IMesh* mesh) = 0;
88};
89
90/*---------------------------------------------------------------------------*/
91/*---------------------------------------------------------------------------*/
92
93} // End namespace Arcane
94
95/*---------------------------------------------------------------------------*/
96/*---------------------------------------------------------------------------*/
97
98#endif
Interface of a mesh partitioner on a grid.
virtual void setBoundingBox(Real3 min_val, Real3 max_val)=0
Positions the bounding box of our subdomain.
virtual void applyMeshPartitioning(IMesh *mesh)=0
Applies the repartitioning to the mesh mesh.
virtual void setPartIndex(Int32 i, Int32 j, Int32 k)=0
Index (i,j,k) of the part.
Interface of a mesh partitioner.
Class managing a 3-dimensional real vector.
Definition Real3.h:132
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
std::int32_t Int32
Signed integer type of 32 bits.