Solv_Petsc#
#include <Solv_Petsc.h>
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#
public : Solv_Externe
Inherited by#
public : Solv_AMGX
public : Solv_Petsc_GPU
Inheritance graph#
If the image is too small, right-click and open in new tab
List of Public Static Methods#
List of Public Methods#
List of Protected Methods#
Complete Member Function Documentation#
cree_instance#
Objet_U * Solv_Petsc::cree_instance()
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#
const Type_info * Solv_Petsc::info()
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#
const Solv_Petsc & Solv_Petsc::self_cast(const Objet_U &)
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#
Solv_Petsc & Solv_Petsc::self_cast(Objet_U &)
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#
void Solv_Petsc::create_solver(Entree &)
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#
int Solv_Petsc::duplique() const override
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#
const Type_info * Solv_Petsc::get_info() const override
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#
bool Solv_Petsc::read_matrix() const
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#
void Solv_Petsc::reset()
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#
int Solv_Petsc::resoudre_systeme(const Matrice_Base &, const DoubleVect &, DoubleVect &) override
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#
int Solv_Petsc::resoudre_systeme(const Matrice_Base &M, const DoubleVect &A, DoubleVect &B, int niter_max) override
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#
Solv_Petsc::Solv_Petsc()
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#
int Solv_Petsc::solveur_direct() const override
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#
unsigned Solv_Petsc::taille_memoire() const override
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#
Solv_Petsc::~Solv_Petsc() override
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() 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#
const Nom Solv_Petsc::config()
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#
Sortie & Solv_Petsc::printOn(Sortie &x) const override
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#
Entree & Solv_Petsc::readOn(Entree &) override
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#
const Type_info Solv_Petsc::info_obj
int Solv_Petsc::instance = - 1
int Solv_Petsc::numero_solveur = 0
bool Solv_Petsc::allow_realloc_ = true
bool Solv_Petsc::amgx_ = false
bool Solv_Petsc::amgx_initialized_ = false
bool Solv_Petsc::clean_matrix_ = true
bool Solv_Petsc::gpu_ = false
bool Solv_Petsc::ignore_new_nonzero_ = false
int Solv_Petsc::nb_it_previous_ = - 1
int Solv_Petsc::read_matrix_
bool Solv_Petsc::rebuild_matrix_ = false
bool Solv_Petsc::reduce_ram_ = false
bool Solv_Petsc::reorder_matrix_ = false
int Solv_Petsc::reuse_preconditioner_nb_it_max_ = - 1
int Solv_Petsc::solveur_direct_ = no
bool Solv_Petsc::verbose = false