RRK2#
#include <Schema_RK_Rationnel.h>
: classe RRK2 Cette classe represente un schema de Runge Kutta
How to cite this class in this doc#
: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#
int RRK2::duplique() const override
Reimplements:
How to cite in this doc:
:ref:`int RRK2::duplique() const override <public-int-rrk2-duplique-const-override>`
[int RRK2::duplique() const override](#public-int-rrk2-duplique-const-override)
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.
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 cite in this doc:
:ref:`int RRK2::faire_un_pas_de_temps_eqn_base(Equation_base &) override <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](#public-int-rrk2-faire-un-pas-de-temps-eqn-base-equation-base-ref-override)
const Type_info * RRK2::get_info() const override
Donne des informations sur le type de l’ Objet_U .
Reimplements:
How to cite in this doc:
:ref:`const Type_info * RRK2::get_info() const override <public-const-type-info-ptr-rrk2-get-info-const-override>`
[const Type_info * RRK2::get_info() const override](#public-const-type-info-ptr-rrk2-get-info-const-override)
RRK2::RRK2()
How to cite in this doc:
:ref:`RRK2::RRK2() <public-rrk2-rrk2>`
[RRK2::RRK2()](#public-rrk2-rrk2)
unsigned RRK2::taille_memoire() const override
Reimplements:
How to cite in this doc:
:ref:`unsigned RRK2::taille_memoire() const override <public-unsigned-rrk2-taille-memoire-const-override>`
[unsigned RRK2::taille_memoire() const override](#public-unsigned-rrk2-taille-memoire-const-override)
RRK2::~RRK2()
How to cite in this doc:
:ref:`RRK2::~RRK2() <public-rrk2-dtor-rrk2>`
[RRK2::~RRK2()](#public-rrk2-dtor-rrk2)
Objet_U * RRK2::cree_instance()
How to cite in this doc:
:ref:`Objet_U * RRK2::cree_instance() <public-static-objet-u-ptr-rrk2-cree-instance>`
[Objet_U * RRK2::cree_instance()](#public-static-objet-u-ptr-rrk2-cree-instance)
const Type_info * RRK2::info()
How to cite in this doc:
:ref:`const Type_info * RRK2::info() <public-static-const-type-info-ptr-rrk2-info>`
[const Type_info * RRK2::info()](#public-static-const-type-info-ptr-rrk2-info)
const RRK2 & RRK2::self_cast(const Objet_U &)
How to cite in this doc:
:ref:`const RRK2 & RRK2::self_cast(const Objet_U &) <public-static-const-rrk2-ref-rrk2-self-cast-const-objet-u-ref>`
[const RRK2 & RRK2::self_cast(const Objet_U &)](#public-static-const-rrk2-ref-rrk2-self-cast-const-objet-u-ref)
RRK2 & RRK2::self_cast(Objet_U &)
How to cite in this doc:
:ref:`RRK2 & RRK2::self_cast(Objet_U &) <public-static-rrk2-ref-rrk2-self-cast-objet-u-ref>`
[RRK2 & RRK2::self_cast(Objet_U &)](#public-static-rrk2-ref-rrk2-self-cast-objet-u-ref)
Sortie & RRK2::printOn(Sortie &x) const override
Surcharge Objet_U::printOn(Sortie&) Imprime le schema en temps sur un flot de sortie.
!! Attention n’est pas symetrique de la lecture !! On ecrit les differents parametres du schema en temps.
Reimplements:
References
How to cite in this doc:
:ref:`Sortie & RRK2::printOn(Sortie &x) const override <protected-sortie-ref-rrk2-printon-sortie-ref-x-const-override>`
[Sortie & RRK2::printOn(Sortie &x) const override](#protected-sortie-ref-rrk2-printon-sortie-ref-x-const-override)
Entree & RRK2::readOn(Entree &) override
Lecture d’un schema en temps a partir d’un flot d’entree.
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 cite in this doc:
:ref:`Entree & RRK2::readOn(Entree &) override <protected-entree-ref-rrk2-readon-entree-ref-override>`
[Entree & RRK2::readOn(Entree &) override](#protected-entree-ref-rrk2-readon-entree-ref-override)
Attributes Documentation#
const Type_info RRK2::info_obj