Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
NumArrayUtils.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2023 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/* NumArrayUtils.h (C) 2000-2023 */
9/* */
10/* Fonctions utilitaires pour NumArray. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_UTILS_NUMARRAYUTILS_H
13#define ARCANE_UTILS_NUMARRAYUTILS_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18#include "arcane/utils/MDDim.h"
19#include "arcane/utils/ArcaneCxx20.h"
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
25{
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29
35extern "C++" ARCANE_UTILS_EXPORT void
36readFromText(NumArray<double, MDDim1>& v, std::istream& input);
37
43extern "C++" ARCANE_UTILS_EXPORT void
44readFromText(NumArray<Int32, MDDim1>& v, std::istream& input);
45
51extern "C++" ARCANE_UTILS_EXPORT void
52readFromText(NumArray<Int64, MDDim1>& v, std::istream& input);
53
54/*---------------------------------------------------------------------------*/
55/*---------------------------------------------------------------------------*/
56
57} // namespace Arcane::NumArrayUtils
58
59/*---------------------------------------------------------------------------*/
60/*---------------------------------------------------------------------------*/
61
62#endif
Déclarations des types utilisés dans Arcane.
Fonctions utilitaires pour NumArray.
void readFromText(NumArray< double, MDDim1 > &v, std::istream &input)
Remplit v avec les valeurs de input.