Save_Restart#

#include <Save_Restart.h>
Brief description

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:`Save\_Restart <class-save-restart>`
[Save\_Restart](#class-save-restart)

Detailed description#

List of Public Methods#

List of Private Methods#

Complete Member Function Documentation#

allocate_file_size#

Definition
int Save_Restart::allocate_file_size(long int &size) const
Brief description

Verifie que la place necessaire existe sur le disque dur.

Detailed description
References
Referenced By
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 Save_Restart::allocate_file_size(long int &size) const <save-restart-public-int-save-restart-allocate-file-size-long-int-ref-size-const>`
[int Save_Restart::allocate_file_size(long int &size) const](#save-restart-public-int-save-restart-allocate-file-size-long-int-ref-size-const)

allocation#

Definition
void Save_Restart::allocation() const
Brief description
Detailed description
References
Referenced By
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 Save_Restart::allocation() const <save-restart-public-void-save-restart-allocation-const>`
[void Save_Restart::allocation() const](#save-restart-public-void-save-restart-allocation-const)

assoscier_pb_base#

Definition
void Save_Restart::assoscier_pb_base(const Probleme_base &)
Brief description
Detailed description
Referenced By
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 Save_Restart::assoscier_pb_base(const Probleme_base &) <save-restart-public-void-save-restart-assoscier-pb-base-const-probleme-base-ref>`
[void Save_Restart::assoscier_pb_base(const Probleme_base &)](#save-restart-public-void-save-restart-assoscier-pb-base-const-probleme-base-ref)

checkpoint_filename#

Definition
const Nom & Save_Restart::checkpoint_filename() const
Brief description
Detailed description
Referenced By
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 Nom & Save_Restart::checkpoint_filename() const <save-restart-public-const-nom-ref-save-restart-checkpoint-filename-const>`
[const Nom & Save_Restart::checkpoint_filename() const](#save-restart-public-const-nom-ref-save-restart-checkpoint-filename-const)

checkpoint_format#

Definition
const Nom & Save_Restart::checkpoint_format() const
Brief description
Detailed description
Referenced By
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 Nom & Save_Restart::checkpoint_format() const <save-restart-public-const-nom-ref-save-restart-checkpoint-format-const>`
[const Nom & Save_Restart::checkpoint_format() const](#save-restart-public-const-nom-ref-save-restart-checkpoint-format-const)

finir#

Definition
void Save_Restart::finir()
Brief description
Detailed description
References
Referenced By
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 Save_Restart::finir() <save-restart-public-void-save-restart-finir>`
[void Save_Restart::finir()](#save-restart-public-void-save-restart-finir)

is_restart_in_progress#

Definition
bool Save_Restart::is_restart_in_progress() const
Brief description
Detailed description
Referenced By
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:`bool Save_Restart::is_restart_in_progress() const <save-restart-public-bool-save-restart-is-restart-in-progress-const>`
[bool Save_Restart::is_restart_in_progress() const](#save-restart-public-bool-save-restart-is-restart-in-progress-const)

is_sauvegarde_simple#

Definition
int Save_Restart::is_sauvegarde_simple() const
Brief description
Detailed description
Referenced By
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 Save_Restart::is_sauvegarde_simple() const <save-restart-public-int-save-restart-is-sauvegarde-simple-const>`
[int Save_Restart::is_sauvegarde_simple() const](#save-restart-public-int-save-restart-is-sauvegarde-simple-const)

lire_sauvegarde_reprise#

Definition
void Save_Restart::lire_sauvegarde_reprise(Entree &is, Motcle &motlu)
Brief description
Detailed description
References
Referenced By
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 Save_Restart::lire_sauvegarde_reprise(Entree &is, Motcle &motlu) <save-restart-public-void-save-restart-lire-sauvegarde-reprise-entree-ref-is-motcle-ref-motlu>`
[void Save_Restart::lire_sauvegarde_reprise(Entree &is, Motcle &motlu)](#save-restart-public-void-save-restart-lire-sauvegarde-reprise-entree-ref-is-motcle-ref-motlu)

preparer_calcul#

Definition
void Save_Restart::preparer_calcul()
Brief description
Detailed description
References
Referenced By
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 Save_Restart::preparer_calcul() <save-restart-public-void-save-restart-preparer-calcul>`
[void Save_Restart::preparer_calcul()](#save-restart-public-void-save-restart-preparer-calcul)

reprise_effectuee#

Definition
bool & Save_Restart::reprise_effectuee()
Brief description
Detailed description
Referenced By
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:`bool & Save_Restart::reprise_effectuee() <save-restart-public-bool-ref-save-restart-reprise-effectuee>`
[bool & Save_Restart::reprise_effectuee()](#save-restart-public-bool-ref-save-restart-reprise-effectuee)

reprise_effectuee#

Definition
bool Save_Restart::reprise_effectuee() const
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:`bool Save_Restart::reprise_effectuee() const <save-restart-public-bool-save-restart-reprise-effectuee-const>`
[bool Save_Restart::reprise_effectuee() const](#save-restart-public-bool-save-restart-reprise-effectuee-const)

reprise_format_temps#

Definition
const char * Save_Restart::reprise_format_temps() const
Brief description
Detailed description
Referenced By
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 char * Save_Restart::reprise_format_temps() const <save-restart-public-const-char-ptr-save-restart-reprise-format-temps-const>`
[const char * Save_Restart::reprise_format_temps() const](#save-restart-public-const-char-ptr-save-restart-reprise-format-temps-const)

restart_filename#

Definition
const Nom & Save_Restart::restart_filename() const
Brief description
Detailed description
Referenced By
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 Nom & Save_Restart::restart_filename() const <save-restart-public-const-nom-ref-save-restart-restart-filename-const>`
[const Nom & Save_Restart::restart_filename() const](#save-restart-public-const-nom-ref-save-restart-restart-filename-const)

sauver#

Definition
int Save_Restart::sauver() const
Brief description

Ecriture sur fichier en vue d’une reprise (sauvegarde)

Detailed description
References
Referenced By
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 Save_Restart::sauver() const <save-restart-public-int-save-restart-sauver-const>`
[int Save_Restart::sauver() const](#save-restart-public-int-save-restart-sauver-const)

sauver_xyz#

Definition
void Save_Restart::sauver_xyz(int) const
Brief description
Detailed description
References
Referenced By
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 Save_Restart::sauver_xyz(int) const <save-restart-public-void-save-restart-sauver-xyz-int-const>`
[void Save_Restart::sauver_xyz(int) const](#save-restart-public-void-save-restart-sauver-xyz-int-const)

set_restart_in_progress#

Definition
void Save_Restart::set_restart_in_progress(const bool res)
Brief description
Detailed description
Referenced By
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 Save_Restart::set_restart_in_progress(const bool res) <save-restart-public-void-save-restart-set-restart-in-progress-const-bool-res>`
[void Save_Restart::set_restart_in_progress(const bool res)](#save-restart-public-void-save-restart-set-restart-in-progress-const-bool-res)

yaml_filename#

Definition
const Nom & Save_Restart::yaml_filename() const
Brief description
Detailed description
Referenced By
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 Nom & Save_Restart::yaml_filename() const <save-restart-public-const-nom-ref-save-restart-yaml-filename-const>`
[const Nom & Save_Restart::yaml_filename() const](#save-restart-public-const-nom-ref-save-restart-yaml-filename-const)

checkVersion#

Definition
void Save_Restart::checkVersion(const Nom &nomfic)
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:`void Save_Restart::checkVersion(const Nom &nomfic) <save-restart-private-void-save-restart-checkversion-const-nom-ref-nomfic>`
[void Save_Restart::checkVersion(const Nom &nomfic)](#save-restart-private-void-save-restart-checkversion-const-nom-ref-nomfic)

lire_pdi_sauvegarde_reprise#

Definition
void Save_Restart::lire_pdi_sauvegarde_reprise(Entree &is, Motcle &motlu, Nom &restart_file_name, Nom &yaml_fname)
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:`void Save_Restart::lire_pdi_sauvegarde_reprise(Entree &is, Motcle &motlu, Nom &restart_file_name, Nom &yaml_fname) <save-restart-private-void-save-restart-lire-pdi-sauvegarde-reprise-entree-ref-is-motcle-ref-motlu-nom-ref-restart-file-name-nom-ref-yaml-fname>`
[void Save_Restart::lire_pdi_sauvegarde_reprise(Entree &is, Motcle &motlu, Nom &restart_file_name, Nom &yaml_fname)](#save-restart-private-void-save-restart-lire-pdi-sauvegarde-reprise-entree-ref-is-motcle-ref-motlu-nom-ref-restart-file-name-nom-ref-yaml-fname)

lire_reprise#

Definition
void Save_Restart::lire_reprise(Entree &is, Motcle &motlu)
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:`void Save_Restart::lire_reprise(Entree &is, Motcle &motlu) <save-restart-private-void-save-restart-lire-reprise-entree-ref-is-motcle-ref-motlu>`
[void Save_Restart::lire_reprise(Entree &is, Motcle &motlu)](#save-restart-private-void-save-restart-lire-reprise-entree-ref-is-motcle-ref-motlu)

lire_sauvegarde#

Definition
void Save_Restart::lire_sauvegarde(Entree &is, Motcle &motlu)
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:`void Save_Restart::lire_sauvegarde(Entree &is, Motcle &motlu) <save-restart-private-void-save-restart-lire-sauvegarde-entree-ref-is-motcle-ref-motlu>`
[void Save_Restart::lire_sauvegarde(Entree &is, Motcle &motlu)](#save-restart-private-void-save-restart-lire-sauvegarde-entree-ref-is-motcle-ref-motlu)

prepare_PDI_restart#

Definition
void Save_Restart::prepare_PDI_restart(int resume_last_time)
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:`void Save_Restart::prepare_PDI_restart(int resume_last_time) <save-restart-private-void-save-restart-prepare-pdi-restart-int-resume-last-time>`
[void Save_Restart::prepare_PDI_restart(int resume_last_time)](#save-restart-private-void-save-restart-prepare-pdi-restart-int-resume-last-time)

setTinitFromLastTime#

Definition
void Save_Restart::setTinitFromLastTime(double last_time)
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:`void Save_Restart::setTinitFromLastTime(double last_time) <save-restart-private-void-save-restart-settinitfromlasttime-double-last-time>`
[void Save_Restart::setTinitFromLastTime(double last_time)](#save-restart-private-void-save-restart-settinitfromlasttime-double-last-time)

Attributes Documentation#

checkpoint_filename_ (private)
Nom Save_Restart::checkpoint_filename_
checkpoint_format_ (private)
Nom Save_Restart::checkpoint_format_
error_ (private)
Nom Save_Restart::error_
ficsauv_ (private)
TRUST_Deriv<Sortie_Fichier_base> Save_Restart::ficsauv_
ficsauv_created_ (private)
bool Save_Restart::ficsauv_created_ = false
osauv_hdf_ (private)
Sortie_Brute* Save_Restart::osauv_hdf_ = nullptr
pb_base_ (private)
TRUST_Ref<Probleme_base *> Save_Restart::pb_base_
restart_done_ (private)
bool Save_Restart::restart_done_ = false
restart_filename_ (private)
Nom Save_Restart::restart_filename_
restart_in_progress_ (private)
bool Save_Restart::restart_in_progress_ = false
restart_version_ (private)
int Save_Restart::restart_version_ = 155
simple_restart_ (private)
int Save_Restart::simple_restart_ = 0
yaml_fname_ (private)
Nom Save_Restart::yaml_fname_
Bad_allocate_ (private)
int Save_Restart::Bad_allocate_ = 1
File_size_ (private)
long int Save_Restart::File_size_ = 0

Initialisation de file_size, bad_allocate, nb_pb_total, num_pb.

Nb_pb_total_ (private)
int Save_Restart::Nb_pb_total_ = 0
Num_pb_ (private)
int Save_Restart::Num_pb_ = 1