TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Matrice_SuperMorse Class Reference

: Matrix with an even sparser storage than Matrice_Morse: only non-empty rows are stored (saving on the size of 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
 Computes "resu += MATRICE * x" and a dot product (this is a building block for the conjugate gradient, see class Solv_GCP).

Public Attributes

ArrOfInt lignes_non_vides_

Protected Attributes

IntVect tab1_
IntVect tab2_
DoubleVect coeff_

Detailed Description

: Matrix with an even sparser storage than Matrice_Morse: only non-empty rows are stored (saving on the size of tab1_,

tab2_ and coeff_ remain identical)

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

Computes "resu += MATRICE * x" and a dot product (this is a building block for the conjugate gradient, see class Solv_GCP).

Return value: local contribution of this processor to "(MATRICE * x) dot x" (note: the dot product counts all rows of the matrix; shared items are not removed!) (note: this is different from resu dot 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: