Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
matrix/Matrix.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/* IndexedSpace.h (C) 2014 */
9/* */
10/* Space for linear algebra. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MATRIX_H
13#define ARCANE_MATRIX_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17//#include "arcane/ArcaneTypes.h"
18//#include "arcane/matrix/MatrixExpressionT.h"
19
20#include "MatrixExpressionT.h"
21
22/*---------------------------------------------------------------------------*/
23/*---------------------------------------------------------------------------*/
24
25ARCANE_BEGIN_NAMESPACE
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29
30
31
35class Matrix: public MatrixExpr<Matrix>
36{
37 public:
39 : m_from(from), m_to(to) {}
40
41 template <class M>
42 Matrix(const MatrixExpr<M>& src) {}
43
44 ~Matrix() {}
45
46 template <class M>
47 Matrix& operator=(const MatrixExpr<M>& src) { return *this;}
48
49 const IndexedSpace& maps_from() const { return m_from; }
50 const IndexedSpace& maps_to() const { return m_to; }
51
52 private:
53 IndexedSpace m_from;
54 IndexedSpace m_to;
55};
56
57
58
59/*---------------------------------------------------------------------------*/
60/*---------------------------------------------------------------------------*/
61
62ARCANE_END_NAMESPACE
63
64/*---------------------------------------------------------------------------*/
65/*---------------------------------------------------------------------------*/
66
67#endif // ARCANE_MATRIX_H
Indexed set/space to define matrix and vector support.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Class to inherite to perform matrix computations.
Matrix class, to be used by user.