16#include <Matrice_Nulle.h>
18#include <TRUSTArray.h>
105 Cerr <<
"Error in 'Matrice_Nulle::get_symmetric_stencil( )':" << finl;
106 Cerr <<
" Matrix is not square." << finl;
107 Cerr <<
" nb_lines = " <<
nb_lines_ << finl;
109 Cerr <<
" Exiting..." << finl;
116 StencilCoeffs& coefficients )
const
123 StencilCoeffs& coefficients )
const
127 Cerr <<
"Error in 'Matrice_Nulle::get_symmetric_stencil_and_coefficients( )':" << finl;
128 Cerr <<
" Matrix is not square." << finl;
129 Cerr <<
" nb_lines = " <<
nb_lines_ << finl;
131 Cerr <<
" Exiting..." << finl;
153 assert( nb_lines > 0 );
154 assert( nb_columns > 0 );
168 assert( nb_lines > 0 );
169 assert( nb_columns > 0 );
Class defining operators and methods for all reading operation in an input flow (file,...
Classe Matrice_Base Classe de base de la hierarchie des matrices.
DoubleVect & ajouter_multvect_(const DoubleVect &x, DoubleVect &r) const override
void get_stencil(Stencil &stencil) const override
DoubleVect & ajouter_multvectT_(const DoubleVect &x, DoubleVect &r) const override
void scale(const double x) override
void get_symmetric_stencil(Stencil &stencil) const override
int nb_lignes() const override
Return local number of lines (=size on the current proc).
int nb_colonnes() const override
Return local number of columns (=size on the current proc).
int ordre() const override
If square matrix, returns number of lines, otherwise 0.
void get_stencil_and_coefficients(Stencil &stencil, StencilCoeffs &coefficients) const override
double coeff(int i, int j) const
DoubleTab & ajouter_multTab_(const DoubleTab &x, DoubleTab &r) const override
void get_symmetric_stencil_and_coefficients(Stencil &stencil, StencilCoeffs &coefficients) const override
void dimensionner(int order)
virtual Entree & readOn(Entree &)
Lecture d'un Objet_U sur un flot d'entree Methode a surcharger.
virtual Sortie & printOn(Sortie &) const
Ecriture de l'objet sur un flot de sortie Methode a surcharger.
static void exit(int exit_code=-1)
Routine de sortie de TRUST dans une region Kokkos.
Classe de base des flux de sortie.
void resize(_SIZE_ new_size, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)
void resize(_SIZE_ n, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)