Solv_Petsc#

#include <Solv_Petsc.h>
Brief description

How to reference this class#

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Solv\_Petsc <class-solv-petsc>`
[Solv\_Petsc](#class-solv-petsc)

Detailed description#

Inherits from#

Inherited by#

Inheritance graph#

If the image is too small, right-click and open in new tab

../../../../../_images/classSolv__Petsc__inherit__graph.png

List of Public Static Methods#

List of Public Methods#

List of Protected Methods#

Complete Member Function Documentation#

cree_instance#

Definition
Objet_U * Solv_Petsc::cree_instance()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Objet_U * Solv_Petsc::cree_instance() <solv-petsc-public-static-objet-u-ptr-solv-petsc-cree-instance>`
[Objet_U * Solv_Petsc::cree_instance()](#solv-petsc-public-static-objet-u-ptr-solv-petsc-cree-instance)

info#

Definition
const Type_info * Solv_Petsc::info()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Type_info * Solv_Petsc::info() <solv-petsc-public-static-const-type-info-ptr-solv-petsc-info>`
[const Type_info * Solv_Petsc::info()](#solv-petsc-public-static-const-type-info-ptr-solv-petsc-info)

self_cast#

Definition
const Solv_Petsc & Solv_Petsc::self_cast(const Objet_U &)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Solv_Petsc & Solv_Petsc::self_cast(const Objet_U &) <solv-petsc-public-static-const-solv-petsc-ref-solv-petsc-self-cast-const-objet-u-ref>`
[const Solv_Petsc & Solv_Petsc::self_cast(const Objet_U &)](#solv-petsc-public-static-const-solv-petsc-ref-solv-petsc-self-cast-const-objet-u-ref)

self_cast#

Definition
Solv_Petsc & Solv_Petsc::self_cast(Objet_U &)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Solv_Petsc & Solv_Petsc::self_cast(Objet_U &) <solv-petsc-public-static-solv-petsc-ref-solv-petsc-self-cast-objet-u-ref>`
[Solv_Petsc & Solv_Petsc::self_cast(Objet_U &)](#solv-petsc-public-static-solv-petsc-ref-solv-petsc-self-cast-objet-u-ref)

create_solver#

Definition
void Solv_Petsc::create_solver(Entree &)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Solv_Petsc::create_solver(Entree &) <solv-petsc-public-void-solv-petsc-create-solver-entree-ref>`
[void Solv_Petsc::create_solver(Entree &)](#solv-petsc-public-void-solv-petsc-create-solver-entree-ref)

duplique#

Definition
int Solv_Petsc::duplique() const override
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Solv_Petsc::duplique() const override <solv-petsc-public-int-solv-petsc-duplique-const-override>`
[int Solv_Petsc::duplique() const override](#solv-petsc-public-int-solv-petsc-duplique-const-override)

get_info#

Definition
const Type_info * Solv_Petsc::get_info() const override
Brief description

Donne des informations sur le type de l’ Objet_U .

Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Type_info * Solv_Petsc::get_info() const override <solv-petsc-public-const-type-info-ptr-solv-petsc-get-info-const-override>`
[const Type_info * Solv_Petsc::get_info() const override](#solv-petsc-public-const-type-info-ptr-solv-petsc-get-info-const-override)

read_matrix#

Definition
bool Solv_Petsc::read_matrix() const
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool Solv_Petsc::read_matrix() const <solv-petsc-public-bool-solv-petsc-read-matrix-const>`
[bool Solv_Petsc::read_matrix() const](#solv-petsc-public-bool-solv-petsc-read-matrix-const)

reset#

Definition
void Solv_Petsc::reset()
Brief description
Detailed description
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Solv_Petsc::reset() <solv-petsc-public-void-solv-petsc-reset>`
[void Solv_Petsc::reset()](#solv-petsc-public-void-solv-petsc-reset)

resoudre_systeme#

Definition
int Solv_Petsc::resoudre_systeme(const Matrice_Base &, const DoubleVect &, DoubleVect &) override
Brief description
Detailed description

Reimplements:

References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Solv_Petsc::resoudre_systeme(const Matrice_Base &, const DoubleVect &, DoubleVect &) override <solv-petsc-public-int-solv-petsc-resoudre-systeme-const-matrice-base-ref-const-doublevect-ref-doublevect-ref-override>`
[int Solv_Petsc::resoudre_systeme(const Matrice_Base &, const DoubleVect &, DoubleVect &) override](#solv-petsc-public-int-solv-petsc-resoudre-systeme-const-matrice-base-ref-const-doublevect-ref-doublevect-ref-override)

resoudre_systeme#

Definition
int Solv_Petsc::resoudre_systeme(const Matrice_Base &M, const DoubleVect &A, DoubleVect &B, int niter_max) override
Brief description
Detailed description

Reimplements:

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Solv_Petsc::resoudre_systeme(const Matrice_Base &M, const DoubleVect &A, DoubleVect &B, int niter_max) override <solv-petsc-public-int-solv-petsc-resoudre-systeme-const-matrice-base-ref-m-const-doublevect-ref-a-doublevect-ref-b-int-niter-max-override>`
[int Solv_Petsc::resoudre_systeme(const Matrice_Base &M, const DoubleVect &A, DoubleVect &B, int niter_max) override](#solv-petsc-public-int-solv-petsc-resoudre-systeme-const-matrice-base-ref-m-const-doublevect-ref-a-doublevect-ref-b-int-niter-max-override)

Solv_Petsc#

Definition
Solv_Petsc::Solv_Petsc()
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Solv_Petsc::Solv_Petsc() <solv-petsc-public-solv-petsc-solv-petsc>`
[Solv_Petsc::Solv_Petsc()](#solv-petsc-public-solv-petsc-solv-petsc)

solveur_direct#

Definition
int Solv_Petsc::solveur_direct() const override
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Solv_Petsc::solveur_direct() const override <solv-petsc-public-int-solv-petsc-solveur-direct-const-override>`
[int Solv_Petsc::solveur_direct() const override](#solv-petsc-public-int-solv-petsc-solveur-direct-const-override)

taille_memoire#

Definition
unsigned Solv_Petsc::taille_memoire() const override
Brief description
Detailed description

Reimplements:

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`unsigned Solv_Petsc::taille_memoire() const override <solv-petsc-public-unsigned-solv-petsc-taille-memoire-const-override>`
[unsigned Solv_Petsc::taille_memoire() const override](#solv-petsc-public-unsigned-solv-petsc-taille-memoire-const-override)

~Solv_Petsc#

Definition
Solv_Petsc::~Solv_Petsc() override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Solv_Petsc::~Solv_Petsc() override <solv-petsc-public-solv-petsc-dtor-solv-petsc-override>`
[Solv_Petsc::~Solv_Petsc() override](#solv-petsc-public-solv-petsc-dtor-solv-petsc-override)

config#

Definition
const Nom Solv_Petsc::config()
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const Nom Solv_Petsc::config() <solv-petsc-protected-const-nom-solv-petsc-config>`
[const Nom Solv_Petsc::config()](#solv-petsc-protected-const-nom-solv-petsc-config)

printOn#

Definition
Sortie & Solv_Petsc::printOn(Sortie &x) const override
Brief description

Ecriture de l’objet sur un flot de sortie Methode a surcharger.

Detailed description

Reimplements:

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Sortie & Solv_Petsc::printOn(Sortie &x) const override <solv-petsc-protected-sortie-ref-solv-petsc-printon-sortie-ref-x-const-override>`
[Sortie & Solv_Petsc::printOn(Sortie &x) const override](#solv-petsc-protected-sortie-ref-solv-petsc-printon-sortie-ref-x-const-override)

readOn#

Definition
Entree & Solv_Petsc::readOn(Entree &) override
Brief description

Lecture d’un Objet_U sur un flot d’entree Methode a surcharger.

Detailed description

Reimplements:

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Entree & Solv_Petsc::readOn(Entree &) override <solv-petsc-protected-entree-ref-solv-petsc-readon-entree-ref-override>`
[Entree & Solv_Petsc::readOn(Entree &) override](#solv-petsc-protected-entree-ref-solv-petsc-readon-entree-ref-override)

Attributes Documentation#

info_obj (public)
const Type_info Solv_Petsc::info_obj
instance (public)
int Solv_Petsc::instance = - 1
numero_solveur (public)
int Solv_Petsc::numero_solveur = 0
allow_realloc_ (protected)
bool Solv_Petsc::allow_realloc_ = true
amgx_ (protected)
bool Solv_Petsc::amgx_ = false
amgx_initialized_ (protected)
bool Solv_Petsc::amgx_initialized_ = false
clean_matrix_ (protected)
bool Solv_Petsc::clean_matrix_ = true
gpu_ (protected)
bool Solv_Petsc::gpu_ = false
ignore_new_nonzero_ (protected)
bool Solv_Petsc::ignore_new_nonzero_ = false
nb_it_previous_ (protected)
int Solv_Petsc::nb_it_previous_ = - 1
read_matrix_ (protected)
int Solv_Petsc::read_matrix_
rebuild_matrix_ (protected)
bool Solv_Petsc::rebuild_matrix_ = false
reduce_ram_ (protected)
bool Solv_Petsc::reduce_ram_ = false
reorder_matrix_ (protected)
bool Solv_Petsc::reorder_matrix_ = false
reuse_preconditioner_nb_it_max_ (protected)
int Solv_Petsc::reuse_preconditioner_nb_it_max_ = - 1
solveur_direct_ (protected)
int Solv_Petsc::solveur_direct_ = no
verbose (protected)
bool Solv_Petsc::verbose = false