Schema_Adams_Bashforth_order_2#

#include <Schema_Adams_Bashforth_order_2.h>

classe Schema_Adams_Bashforth_order_2 Cette classe represente un schema en temps d’Adams - Bashforth d’ordre 2

How to cite this class in this doc#

:ref:`Schema\_Adams\_Bashforth\_order\_2 <class-schema-adams-bashforth-order-2>`
[Schema\_Adams\_Bashforth\_order\_2](#class-schema-adams-bashforth-order-2)

Detailed description#

a pas de temps variable : U(n + 1) = U(n) + dt*(3/2*(dU/dt)(n) - 1/2(dU/dt)(n - 1)) si le pas de temps est constant

Inherits from#

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

compute_adams_bashforth_coefficients
void Schema_Adams_Bashforth_order_2::compute_adams_bashforth_coefficients(double time_step, const DoubleTab &times) override

Reimplements:

References
How to cite in this doc:
:ref:`void Schema_Adams_Bashforth_order_2::compute_adams_bashforth_coefficients(double time_step, const DoubleTab &times) override <public-void-schema-adams-bashforth-order-2-compute-adams-bashforth-coefficients-double-time-step-const-doubletab-ref-times-override>`
[void Schema_Adams_Bashforth_order_2::compute_adams_bashforth_coefficients(double time_step, const DoubleTab &times) override](#public-void-schema-adams-bashforth-order-2-compute-adams-bashforth-coefficients-double-time-step-const-doubletab-ref-times-override)
duplique
int Schema_Adams_Bashforth_order_2::duplique() const override

Reimplements:

How to cite in this doc:
:ref:`int Schema_Adams_Bashforth_order_2::duplique() const override <public-int-schema-adams-bashforth-order-2-duplique-const-override>`
[int Schema_Adams_Bashforth_order_2::duplique() const override](#public-int-schema-adams-bashforth-order-2-duplique-const-override)
get_info
const Type_info * Schema_Adams_Bashforth_order_2::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 * Schema_Adams_Bashforth_order_2::get_info() const override <public-const-type-info-ptr-schema-adams-bashforth-order-2-get-info-const-override>`
[const Type_info * Schema_Adams_Bashforth_order_2::get_info() const override](#public-const-type-info-ptr-schema-adams-bashforth-order-2-get-info-const-override)
nb_pas_dt_seuil
int Schema_Adams_Bashforth_order_2::nb_pas_dt_seuil() const override

Renvoie le nombre de pas de temps strictement au dela duquel on applique le schema d Adams - Bahshforth.

Ici : on a besoin d’au moins 1 temps du passe donc 0

Reimplements:

How to cite in this doc:
:ref:`int Schema_Adams_Bashforth_order_2::nb_pas_dt_seuil() const override <public-int-schema-adams-bashforth-order-2-nb-pas-dt-seuil-const-override>`
[int Schema_Adams_Bashforth_order_2::nb_pas_dt_seuil() const override](#public-int-schema-adams-bashforth-order-2-nb-pas-dt-seuil-const-override)
nb_valeurs_passees
int Schema_Adams_Bashforth_order_2::nb_valeurs_passees() const override

Renvoie le nombre de valeurs temporelles du passe.

Ici : n - 1 donc 1.

Reimplements:

How to cite in this doc:
:ref:`int Schema_Adams_Bashforth_order_2::nb_valeurs_passees() const override <public-int-schema-adams-bashforth-order-2-nb-valeurs-passees-const-override>`
[int Schema_Adams_Bashforth_order_2::nb_valeurs_passees() const override](#public-int-schema-adams-bashforth-order-2-nb-valeurs-passees-const-override)
nb_valeurs_temporelles
int Schema_Adams_Bashforth_order_2::nb_valeurs_temporelles() const override

Renvoie le nombre de valeurs temporelles a conserver.

Ici : n - 1, n et n + 1 donc 3.

Reimplements:

How to cite in this doc:
:ref:`int Schema_Adams_Bashforth_order_2::nb_valeurs_temporelles() const override <public-int-schema-adams-bashforth-order-2-nb-valeurs-temporelles-const-override>`
[int Schema_Adams_Bashforth_order_2::nb_valeurs_temporelles() const override](#public-int-schema-adams-bashforth-order-2-nb-valeurs-temporelles-const-override)
Schema_Adams_Bashforth_order_2
Schema_Adams_Bashforth_order_2::Schema_Adams_Bashforth_order_2()
How to cite in this doc:
:ref:`Schema_Adams_Bashforth_order_2::Schema_Adams_Bashforth_order_2() <public-schema-adams-bashforth-order-2-schema-adams-bashforth-order-2>`
[Schema_Adams_Bashforth_order_2::Schema_Adams_Bashforth_order_2()](#public-schema-adams-bashforth-order-2-schema-adams-bashforth-order-2)
taille_memoire
unsigned Schema_Adams_Bashforth_order_2::taille_memoire() const override

Reimplements:

How to cite in this doc:
:ref:`unsigned Schema_Adams_Bashforth_order_2::taille_memoire() const override <public-unsigned-schema-adams-bashforth-order-2-taille-memoire-const-override>`
[unsigned Schema_Adams_Bashforth_order_2::taille_memoire() const override](#public-unsigned-schema-adams-bashforth-order-2-taille-memoire-const-override)
~Schema_Adams_Bashforth_order_2
Schema_Adams_Bashforth_order_2::~Schema_Adams_Bashforth_order_2()
How to cite in this doc:
:ref:`Schema_Adams_Bashforth_order_2::~Schema_Adams_Bashforth_order_2() <public-schema-adams-bashforth-order-2-dtor-schema-adams-bashforth-order-2>`
[Schema_Adams_Bashforth_order_2::~Schema_Adams_Bashforth_order_2()](#public-schema-adams-bashforth-order-2-dtor-schema-adams-bashforth-order-2)
cree_instance
Objet_U * Schema_Adams_Bashforth_order_2::cree_instance()
How to cite in this doc:
:ref:`Objet_U * Schema_Adams_Bashforth_order_2::cree_instance() <public-static-objet-u-ptr-schema-adams-bashforth-order-2-cree-instance>`
[Objet_U * Schema_Adams_Bashforth_order_2::cree_instance()](#public-static-objet-u-ptr-schema-adams-bashforth-order-2-cree-instance)
info
const Type_info * Schema_Adams_Bashforth_order_2::info()
How to cite in this doc:
:ref:`const Type_info * Schema_Adams_Bashforth_order_2::info() <public-static-const-type-info-ptr-schema-adams-bashforth-order-2-info>`
[const Type_info * Schema_Adams_Bashforth_order_2::info()](#public-static-const-type-info-ptr-schema-adams-bashforth-order-2-info)
self_cast
const Schema_Adams_Bashforth_order_2 & Schema_Adams_Bashforth_order_2::self_cast(const Objet_U &)
How to cite in this doc:
:ref:`const Schema_Adams_Bashforth_order_2 & Schema_Adams_Bashforth_order_2::self_cast(const Objet_U &) <public-static-const-schema-adams-bashforth-order-2-ref-schema-adams-bashforth-order-2-self-cast-const-objet-u-ref>`
[const Schema_Adams_Bashforth_order_2 & Schema_Adams_Bashforth_order_2::self_cast(const Objet_U &)](#public-static-const-schema-adams-bashforth-order-2-ref-schema-adams-bashforth-order-2-self-cast-const-objet-u-ref)
self_cast
Schema_Adams_Bashforth_order_2 & Schema_Adams_Bashforth_order_2::self_cast(Objet_U &)
How to cite in this doc:
:ref:`Schema_Adams_Bashforth_order_2 & Schema_Adams_Bashforth_order_2::self_cast(Objet_U &) <public-static-schema-adams-bashforth-order-2-ref-schema-adams-bashforth-order-2-self-cast-objet-u-ref>`
[Schema_Adams_Bashforth_order_2 & Schema_Adams_Bashforth_order_2::self_cast(Objet_U &)](#public-static-schema-adams-bashforth-order-2-ref-schema-adams-bashforth-order-2-self-cast-objet-u-ref)
printOn
Sortie & Schema_Adams_Bashforth_order_2::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 & Schema_Adams_Bashforth_order_2::printOn(Sortie &x) const override <protected-sortie-ref-schema-adams-bashforth-order-2-printon-sortie-ref-x-const-override>`
[Sortie & Schema_Adams_Bashforth_order_2::printOn(Sortie &x) const override](#protected-sortie-ref-schema-adams-bashforth-order-2-printon-sortie-ref-x-const-override)
readOn
Entree & Schema_Adams_Bashforth_order_2::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 & Schema_Adams_Bashforth_order_2::readOn(Entree &) override <protected-entree-ref-schema-adams-bashforth-order-2-readon-entree-ref-override>`
[Entree & Schema_Adams_Bashforth_order_2::readOn(Entree &) override](#protected-entree-ref-schema-adams-bashforth-order-2-readon-entree-ref-override)

Attributes Documentation#

info_obj (public)
const Type_info Schema_Adams_Bashforth_order_2::info_obj