TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Matrice_SuperMorse Class Reference

: Matrice avec un stockage encore plus creux que Matrice_Morse: On stocke uniquement les lignes non vides (economie sur la taille de tab1_, More...

#include <Matrice_SuperMorse.h>

Collaboration diagram for Matrice_SuperMorse:
[legend]

Public Member Functions

const auto & tab1 (int i) const
auto & tab1 (int i)
const int & tab2 (int i) const
int & tab2 (int i)
const double & coeff (int i) const
double & coeff (int i)
auto & get_set_tab1 ()
auto & get_set_tab2 ()
auto & get_set_coeff ()
const auto & get_tab1 () const
const auto & get_tab2 () const
const auto & get_coeff () const
double ajouter_mult_vect_et_prodscal (const DoubleVect &x, DoubleVect &resu) const
 Calcul de "resu += MATRICE * x" et d'un produit scalaire (c'est une brique de base pour le gradient conjugue, voir class Solv_GCP).

Public Attributes

ArrOfInt lignes_non_vides_

Protected Attributes

IntVect tab1_
IntVect tab2_
DoubleVect coeff_

Detailed Description

: Matrice avec un stockage encore plus creux que Matrice_Morse: On stocke uniquement les lignes non vides (economie sur la taille de tab1_,

tab2_ et coeff_ restent identiques)

Definition at line 25 of file Matrice_SuperMorse.h.

Member Function Documentation

◆ ajouter_mult_vect_et_prodscal()

double Matrice_SuperMorse::ajouter_mult_vect_et_prodscal ( const DoubleVect & x,
DoubleVect & resu ) const

Calcul de "resu += MATRICE * x" et d'un produit scalaire (c'est une brique de base pour le gradient conjugue, voir class Solv_GCP).

Valeur de retour: partie locale a ce processeur de "(MATRICE * x) scalaire x" (attention: le produit scalaire compte toutes les lignes de la matrice les items communs ne sont pas supprimes !) (attention: c'est different de resu scalaire x !)

Definition at line 26 of file Matrice_SuperMorse.cpp.

◆ coeff() [1/2]

double & Matrice_SuperMorse::coeff ( int i)
inline

Definition at line 33 of file Matrice_SuperMorse.h.

◆ coeff() [2/2]

const double & Matrice_SuperMorse::coeff ( int i) const
inline

Definition at line 32 of file Matrice_SuperMorse.h.

◆ get_coeff()

const auto & Matrice_SuperMorse::get_coeff ( ) const
inline

Definition at line 41 of file Matrice_SuperMorse.h.

◆ get_set_coeff()

auto & Matrice_SuperMorse::get_set_coeff ( )
inline

Definition at line 37 of file Matrice_SuperMorse.h.

◆ get_set_tab1()

auto & Matrice_SuperMorse::get_set_tab1 ( )
inline

Definition at line 35 of file Matrice_SuperMorse.h.

◆ get_set_tab2()

auto & Matrice_SuperMorse::get_set_tab2 ( )
inline

Definition at line 36 of file Matrice_SuperMorse.h.

◆ get_tab1()

const auto & Matrice_SuperMorse::get_tab1 ( ) const
inline

Definition at line 39 of file Matrice_SuperMorse.h.

◆ get_tab2()

const auto & Matrice_SuperMorse::get_tab2 ( ) const
inline

Definition at line 40 of file Matrice_SuperMorse.h.

◆ tab1() [1/2]

auto & Matrice_SuperMorse::tab1 ( int i)
inline

Definition at line 29 of file Matrice_SuperMorse.h.

◆ tab1() [2/2]

const auto & Matrice_SuperMorse::tab1 ( int i) const
inline

Definition at line 28 of file Matrice_SuperMorse.h.

◆ tab2() [1/2]

int & Matrice_SuperMorse::tab2 ( int i)
inline

Definition at line 31 of file Matrice_SuperMorse.h.

◆ tab2() [2/2]

const int & Matrice_SuperMorse::tab2 ( int i) const
inline

Definition at line 30 of file Matrice_SuperMorse.h.

Member Data Documentation

◆ coeff_

DoubleVect Matrice_SuperMorse::coeff_
protected

Definition at line 57 of file Matrice_SuperMorse.h.

◆ lignes_non_vides_

ArrOfInt Matrice_SuperMorse::lignes_non_vides_

Definition at line 45 of file Matrice_SuperMorse.h.

◆ tab1_

IntVect Matrice_SuperMorse::tab1_
protected

Definition at line 55 of file Matrice_SuperMorse.h.

◆ tab2_

IntVect Matrice_SuperMorse::tab2_
protected

Definition at line 56 of file Matrice_SuperMorse.h.


The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/cea-trust-platform/checkouts/master/src/Kernel/Math/Matrices/Matrice_SuperMorse.h
  • /home/docs/checkouts/readthedocs.org/user_builds/cea-trust-platform/checkouts/master/src/Kernel/Math/Matrices/Matrice_SuperMorse.cpp