Leap_frog#

#include <Leap_frog.h>
Brief description

classe Leap_frog Cette classe represente un schema en temps Leap_Frog.

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:`Leap\_frog <class-leap-frog>`
[Leap\_frog](#class-leap-frog)

Detailed description#

Si (n< = 4) U(n + 1) = 2*dt*(dU/dt)(n) + U(n) Si(n>4) U(n + 1) = dt*(dU/dt)(n) + gamma*U(n) + (1 - 2*gamma)*U(n - 1) + gamma*U(n - 2)

Inherits from#

Inheritance graph#

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

../../../../../_images/classLeap__frog__inherit__graph.png

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

completer#

Definition
void Leap_frog::completer() 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:`void Leap_frog::completer() override <leap-frog-public-void-leap-frog-completer-override>`
[void Leap_frog::completer() override](#leap-frog-public-void-leap-frog-completer-override)

duplique#

Definition
int Leap_frog::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 Leap_frog::duplique() const override <leap-frog-public-int-leap-frog-duplique-const-override>`
[int Leap_frog::duplique() const override](#leap-frog-public-int-leap-frog-duplique-const-override)

faire_un_pas_de_temps_eqn_base#

Definition
int Leap_frog::faire_un_pas_de_temps_eqn_base(Equation_base &) override
Brief description

Effectue un pas de temps Leap_frog , sur l’equation passee en parametre.

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 Leap_frog::faire_un_pas_de_temps_eqn_base(Equation_base &) override <leap-frog-public-int-leap-frog-faire-un-pas-de-temps-eqn-base-equation-base-ref-override>`
[int Leap_frog::faire_un_pas_de_temps_eqn_base(Equation_base &) override](#leap-frog-public-int-leap-frog-faire-un-pas-de-temps-eqn-base-equation-base-ref-override)

get_info#

Definition
const Type_info * Leap_frog::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 * Leap_frog::get_info() const override <leap-frog-public-const-type-info-ptr-leap-frog-get-info-const-override>`
[const Type_info * Leap_frog::get_info() const override](#leap-frog-public-const-type-info-ptr-leap-frog-get-info-const-override)

Leap_frog#

Definition
Leap_frog::Leap_frog()
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:`Leap_frog::Leap_frog() <leap-frog-public-leap-frog-leap-frog>`
[Leap_frog::Leap_frog()](#leap-frog-public-leap-frog-leap-frog)

nb_valeurs_futures#

Definition
int Leap_frog::nb_valeurs_futures() const override
Brief description

Renvoie le nombre de valeurs temporelles futures.

Detailed description

Ici : n + 1, donc 1.

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 Leap_frog::nb_valeurs_futures() const override <leap-frog-public-int-leap-frog-nb-valeurs-futures-const-override>`
[int Leap_frog::nb_valeurs_futures() const override](#leap-frog-public-int-leap-frog-nb-valeurs-futures-const-override)

nb_valeurs_temporelles#

Definition
int Leap_frog::nb_valeurs_temporelles() const override
Brief description

Renvoie le nombre de valeurs temporelles a conserver.

Detailed description

Ici : n - 2, n - 1, n, et n + 1, donc 4.

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 Leap_frog::nb_valeurs_temporelles() const override <leap-frog-public-int-leap-frog-nb-valeurs-temporelles-const-override>`
[int Leap_frog::nb_valeurs_temporelles() const override](#leap-frog-public-int-leap-frog-nb-valeurs-temporelles-const-override)

taille_memoire#

Definition
unsigned Leap_frog::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 Leap_frog::taille_memoire() const override <leap-frog-public-unsigned-leap-frog-taille-memoire-const-override>`
[unsigned Leap_frog::taille_memoire() const override](#leap-frog-public-unsigned-leap-frog-taille-memoire-const-override)

temps_defaut#

Definition
double Leap_frog::temps_defaut() const override
Brief description

Renvoie le le temps le temps que doivent rendre les champs a l’appel de valeurs()

Detailed description

Ici : t(n + 1)

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:`double Leap_frog::temps_defaut() const override <leap-frog-public-double-leap-frog-temps-defaut-const-override>`
[double Leap_frog::temps_defaut() const override](#leap-frog-public-double-leap-frog-temps-defaut-const-override)

temps_futur#

Definition
double Leap_frog::temps_futur(int i) const override
Brief description

Renvoie le le temps a la i - eme valeur future.

Detailed description

Ici : t(n + 1)

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:`double Leap_frog::temps_futur(int i) const override <leap-frog-public-double-leap-frog-temps-futur-int-i-const-override>`
[double Leap_frog::temps_futur(int i) const override](#leap-frog-public-double-leap-frog-temps-futur-int-i-const-override)

~Leap_frog#

Definition
Leap_frog::~Leap_frog()
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:`Leap_frog::~Leap_frog() <leap-frog-public-leap-frog-dtor-leap-frog>`
[Leap_frog::~Leap_frog()](#leap-frog-public-leap-frog-dtor-leap-frog)

cree_instance#

Definition
Objet_U * Leap_frog::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 * Leap_frog::cree_instance() <leap-frog-public-static-objet-u-ptr-leap-frog-cree-instance>`
[Objet_U * Leap_frog::cree_instance()](#leap-frog-public-static-objet-u-ptr-leap-frog-cree-instance)

info#

Definition
const Type_info * Leap_frog::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 * Leap_frog::info() <leap-frog-public-static-const-type-info-ptr-leap-frog-info>`
[const Type_info * Leap_frog::info()](#leap-frog-public-static-const-type-info-ptr-leap-frog-info)

self_cast#

Definition
const Leap_frog & Leap_frog::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 Leap_frog & Leap_frog::self_cast(const Objet_U &) <leap-frog-public-static-const-leap-frog-ref-leap-frog-self-cast-const-objet-u-ref>`
[const Leap_frog & Leap_frog::self_cast(const Objet_U &)](#leap-frog-public-static-const-leap-frog-ref-leap-frog-self-cast-const-objet-u-ref)

self_cast#

Definition
Leap_frog & Leap_frog::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:`Leap_frog & Leap_frog::self_cast(Objet_U &) <leap-frog-public-static-leap-frog-ref-leap-frog-self-cast-objet-u-ref>`
[Leap_frog & Leap_frog::self_cast(Objet_U &)](#leap-frog-public-static-leap-frog-ref-leap-frog-self-cast-objet-u-ref)

printOn#

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

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 & Leap_frog::printOn(Sortie &x) const override <leap-frog-protected-sortie-ref-leap-frog-printon-sortie-ref-x-const-override>`
[Sortie & Leap_frog::printOn(Sortie &x) const override](#leap-frog-protected-sortie-ref-leap-frog-printon-sortie-ref-x-const-override)

readOn#

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

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 & Leap_frog::readOn(Entree &) override <leap-frog-protected-entree-ref-leap-frog-readon-entree-ref-override>`
[Entree & Leap_frog::readOn(Entree &) override](#leap-frog-protected-entree-ref-leap-frog-readon-entree-ref-override)

Attributes Documentation#

info_obj (public)
const Type_info Leap_frog::info_obj