Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
LimaUtils.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/* LimaUtils.h (C) 2000-2026 */
9/* */
10/* Utility functions for Lima. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_INTERNAL_LIMAUTILS_H
13#define ARCANE_CORE_INTERNAL_LIMAUTILS_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/lima/ArcaneLimaGlobal.h"
18#include "arcane/core/IMeshReader.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
29class IItemFamily;
30
31/*---------------------------------------------------------------------------*/
32/*---------------------------------------------------------------------------*/
33
34class ARCANE_LIMA_EXPORT LimaUtils
35{
36 public:
37
38 LimaUtils() = default;
39
40 ~LimaUtils() = default;
41
42 public:
43
51 static void createGroup(IItemFamily* family, const String& name, Int32ArrayView local_ids);
52
53 static IMeshReader::eReturnType _directLimaPartitionMalipp(ITimerMng* timer_mng, IPrimaryMesh* mesh, const String& filename, Real length_multiplier);
54 static IMeshReader::eReturnType _directLimaPartitionMalipp2(ITimerMng* timer_mng, IPrimaryMesh* mesh, const String& filename, Real length_multiplier);
55};
56
57/*---------------------------------------------------------------------------*/
58/*---------------------------------------------------------------------------*/
59
60} // namespace Arcane
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
64
65#endif
Interface of an entity family.
Definition IItemFamily.h:83
eReturnType
Types of return codes for a read or write operation.
Definition IMeshReader.h:38
Interface of a timer manager.
Definition ITimerMng.h:50
static void createGroup(IItemFamily *family, const String &name, Int32ArrayView local_ids)
Creates a group of entities.
Definition LimaUtils.cc:43
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
ArrayView< Int32 > Int32ArrayView
C equivalent of a 1D array of 32-bit integers.
Definition UtilsTypes.h:453
double Real
Type representing a real number.