RRK2#
#include <Schema_RK_Rationnel.h>
: classe RRK2 Cette classe represente un schema de Runge Kutta
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:`RRK2 <class-rrk2>`
[RRK2](#class-rrk2)
Detailed description#
rationel d’ordre 2 qui s’ecrit: U(n + 1) = U(n) + (2g1 (g1,b) - b(g1,g1))/(b,b) ou : g1 = dt f(U(n)) g2 = dt f(U(n) + c2 g1) b = b1 g1 + b2 g2 on choisit b1 = 2, b2 = - 1, c2 = 1/2
Inherits from#
public : TRUSTSchema_RK
<Ordre_RK::RATIO_DEUX>
List of Public Methods#
List of Public Static Methods#
List of Protected Methods#
Complete Member Function Documentation#
duplique#
int RRK2::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 RRK2::duplique() const override <rrk2-public-int-rrk2-duplique-const-override>`
[int RRK2::duplique() const override](#rrk2-public-int-rrk2-duplique-const-override)
faire_un_pas_de_temps_eqn_base#
int RRK2::faire_un_pas_de_temps_eqn_base(Equation_base &) override
Effectue un pas de temps de Runge Kutta rationnel d’ordre 2, sur l’equation passee en parametre.
Detailed description
Le schema de Runge Kutta rationel d’ordre 2: g1 = hf(y0) g2 = hf(y0 + c2g1) y1 = y0 + (g1g1)/(b1g1 + b2g2) ou ab/d = (a(b,d) + b(d,a) - d(a,b)/(d,d) y1 = y0 + (2g1(g1,b1g1 + b2g2) - (b1g1 + b2g2)(g1,g1)/(b1g1 + b2g2,b1g1 + b2g2) y1 = y0 + (2g1(g1,”g2”) - (“g2”)(g1,g1)/(“g2”,”g2”) ordre2 si b2c2 = - 1/2 b2c2< = - 1/2 A0 stabilite et I stabilite b2c2< = 1/(2cos(alpha)(2 - cos(alpha))) O< = alpha<pi/2 Aalpha stabilite
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 RRK2::faire_un_pas_de_temps_eqn_base(Equation_base &) override <rrk2-public-int-rrk2-faire-un-pas-de-temps-eqn-base-equation-base-ref-override>`
[int RRK2::faire_un_pas_de_temps_eqn_base(Equation_base &) override](#rrk2-public-int-rrk2-faire-un-pas-de-temps-eqn-base-equation-base-ref-override)
get_info#
const Type_info * RRK2::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 * RRK2::get_info() const override <rrk2-public-const-type-info-ptr-rrk2-get-info-const-override>`
[const Type_info * RRK2::get_info() const override](#rrk2-public-const-type-info-ptr-rrk2-get-info-const-override)
RRK2#
RRK2::RRK2()
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:`RRK2::RRK2() <rrk2-public-rrk2-rrk2>`
[RRK2::RRK2()](#rrk2-public-rrk2-rrk2)
taille_memoire#
unsigned RRK2::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 RRK2::taille_memoire() const override <rrk2-public-unsigned-rrk2-taille-memoire-const-override>`
[unsigned RRK2::taille_memoire() const override](#rrk2-public-unsigned-rrk2-taille-memoire-const-override)
~RRK2#
RRK2::~RRK2()
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:`RRK2::~RRK2() <rrk2-public-rrk2-dtor-rrk2>`
[RRK2::~RRK2()](#rrk2-public-rrk2-dtor-rrk2)
cree_instance#
Objet_U * RRK2::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 * RRK2::cree_instance() <rrk2-public-static-objet-u-ptr-rrk2-cree-instance>`
[Objet_U * RRK2::cree_instance()](#rrk2-public-static-objet-u-ptr-rrk2-cree-instance)
info#
const Type_info * RRK2::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 * RRK2::info() <rrk2-public-static-const-type-info-ptr-rrk2-info>`
[const Type_info * RRK2::info()](#rrk2-public-static-const-type-info-ptr-rrk2-info)
self_cast#
const RRK2 & RRK2::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 RRK2 & RRK2::self_cast(const Objet_U &) <rrk2-public-static-const-rrk2-ref-rrk2-self-cast-const-objet-u-ref>`
[const RRK2 & RRK2::self_cast(const Objet_U &)](#rrk2-public-static-const-rrk2-ref-rrk2-self-cast-const-objet-u-ref)
self_cast#
RRK2 & RRK2::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:`RRK2 & RRK2::self_cast(Objet_U &) <rrk2-public-static-rrk2-ref-rrk2-self-cast-objet-u-ref>`
[RRK2 & RRK2::self_cast(Objet_U &)](#rrk2-public-static-rrk2-ref-rrk2-self-cast-objet-u-ref)
printOn#
Sortie & RRK2::printOn(Sortie &x) const override
Surcharge Objet_U::printOn(Sortie&) Imprime le schema en temps sur un flot de sortie.
Detailed description
!! Attention n’est pas symetrique de la lecture !! On ecrit les differents parametres du schema en temps.
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 & RRK2::printOn(Sortie &x) const override <rrk2-protected-sortie-ref-rrk2-printon-sortie-ref-x-const-override>`
[Sortie & RRK2::printOn(Sortie &x) const override](#rrk2-protected-sortie-ref-rrk2-printon-sortie-ref-x-const-override)
readOn#
Entree & RRK2::readOn(Entree &) override
Lecture d’un schema en temps a partir d’un flot d’entree.
Detailed description
Le format de lecture attendu est le suivant: { [ Motcle valeur_reelle] } Les mots clefs peuvent etre: tinit, tmax, nb_pas_dt_max, dt_min, dt_max, dt_sauv, dt_impr, facsec, seuil_statio,
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 & RRK2::readOn(Entree &) override <rrk2-protected-entree-ref-rrk2-readon-entree-ref-override>`
[Entree & RRK2::readOn(Entree &) override](#rrk2-protected-entree-ref-rrk2-readon-entree-ref-override)
Attributes Documentation#
const Type_info RRK2::info_obj