Leap_frog#
#include <Leap_frog.h>
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#
public : Schema_Temps_base
Inheritance graph#
If the image is too small, right-click and open in new tab
List of Public Methods#
List of Public Static Methods#
List of Protected Methods#
Complete Member Function Documentation#
completer#
void Leap_frog::completer() 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:`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#
int Leap_frog::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 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#
int Leap_frog::faire_un_pas_de_temps_eqn_base(Equation_base &) override
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#
const Type_info * Leap_frog::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 * 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#
Leap_frog::Leap_frog()
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#
int Leap_frog::nb_valeurs_futures() const override
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#
int Leap_frog::nb_valeurs_temporelles() const override
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#
unsigned Leap_frog::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 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#
double Leap_frog::temps_defaut() const override
Renvoie le le temps le temps que doivent rendre les champs a l’appel de valeurs()
Detailed description
Ici : t(n + 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:`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#
double Leap_frog::temps_futur(int i) const override
Renvoie le le temps a la i - eme valeur future.
Detailed description
Ici : t(n + 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:`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#
Leap_frog::~Leap_frog()
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#
Objet_U * Leap_frog::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 * 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#
const Type_info * Leap_frog::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 * 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#
const Leap_frog & Leap_frog::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 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#
Leap_frog & Leap_frog::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:`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#
Sortie & Leap_frog::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 & 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#
Entree & Leap_frog::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 & 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#
const Type_info Leap_frog::info_obj