Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
LimaMalipp2.cc
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/* LimaMalipp2.cc (C) 2000-2019 */
9/* */
10/* Lecture d'un fichier au format Lima MLI2. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "Lima/lima++.h"
15#include "Lima/malipp2.h"
16
17#include "arcane/cea/LimaMalippT.h"
18
19namespace Arcane
20{
21
22extern "C++" IMeshReader::eReturnType
23_directLimaPartitionMalipp2(ITimerMng* timer_mng,IPrimaryMesh* mesh,
24 const String& filename, Real length_multiplier)
25{
26 LimaMalippReader<Lima::MaliPPReader2> reader(mesh->traceMng());
27 auto rt = reader.readMeshFromFile(timer_mng,mesh,filename,length_multiplier);
28 return rt;
29}
30
31}
eReturnType
Types des codes de retour d'une lecture ou écriture.
Definition IMeshReader.h:42
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-