16#include <IJK_switch_FT.h>
17#include <init_forcage_THI.h>
18#include <corrections_qdm.h>
74 Cout <<
que_suis_je() <<
"::initialise() Pb of type Probleme_FTD_IJK_base detected." << finl;
78 const double dx =
old_mesh_.get_constant_delta(DIRECTION_I);
79 const double dy =
old_mesh_.get_constant_delta(DIRECTION_J);
81 const double new_dx =
new_mesh_.get_constant_delta(DIRECTION_I);
82 const double new_dy =
new_mesh_.get_constant_delta(DIRECTION_J);
85 const double old_to_new_ratio = std::min(dx/new_dx, dy/new_dy);
89 <<
" new = " << new_ijk_splitting_ft_extension << finl;
90 Cerr <<
"Construction du domaine VDF..." << finl;
92 build_extended_splitting(
new_mesh_, splitting_ft, new_ijk_splitting_ft_extension);
95 Probleme_base& refprobleme_ft_disc = creer_domaine_vdf(splitting_ft, vdf_name);
116 Cout <<
"new_forcage_.get_semi_gen()" <<
new_forcage_.get_semi_gen() << finl;
117 Cout <<
"old_forcage_.get_semi_gen()" <<
old_forcage_.get_semi_gen() << finl;
118 Cout <<
"new_forcage_.get_b_flt()" <<
new_forcage_.get_b_flt() << finl;
136 Nom lata_name(fichier_sauvegarde);
137 lata_name +=
".lata";
141 Cerr <<
"T= " <<
current_time_ <<
" Checkpointing dans le fichier " << fichier_sauvegarde << finl;
142 SFichier fichier(fichier_sauvegarde);
144 fichier.
setf(std::ios_base::scientific);
153 <<
" fichier_reprise_vitesse " << lata_name <<
"\n"
154 <<
" timestep_reprise_vitesse 1\n";
157 Cerr <<
" saving interfaces... " << finl;
162 Cerr <<
" potentially saving temperature fields... " << finl;
164 thermals_.ecrire_fichier_reprise(fichier, lata_name);
181 Cout <<
"Adding interfaces into " << lata_name << finl;
208 DoubleTab& coeff_i, IntTab Indice_i,
209 DoubleTab& coeff_j, IntTab Indice_j,
210 DoubleTab& coeff_k, IntTab Indice_k)
212 thermals_.compute_new_thermal_field((*
this),
224 DoubleTab& coeff_i, IntTab Indice_i,
225 DoubleTab& coeff_j, IntTab Indice_j,
226 DoubleTab& coeff_k, IntTab Indice_k)
This class encapsulates all the information related to the eulerian mesh for TrioIJK.
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
Class defining operators and methods for all reading operation in an input flow (file,...
class Nom: a character string for naming TRUST objects.
const Nom & que_suis_je() const
Returns the string identifying the class.
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
static bool DISABLE_DIPHASIQUE
Helper class to factorize the readOn method of Objet_U classes.
void ajouter(const char *keyword, const int *value, Param::Nature nat=Param::OPTIONAL)
Register an integer parameter.
class Probleme_base It is a Probleme_U that is not a coupling.
const Domaine_dis_base & domaine_dis() const
Returns the discretized domain associated with the problem (const version).
static int nproc()
Returns the number of processors in the current group. See Comm_Group::nproc() and PE_Groups::current...
static int je_suis_maitre()
Returns 1 if on the master processor of the current group (i.e. me() == 0), 0 otherwise.
SFichier is to the C++ ofstream class what Sortie is to the C++ ostream class.
void precision(int pre) override
void setf(IOS_FORMAT code) override
Base class for output streams.
corrections_qdm old_qdm_corrections_
init_forcage_THI old_forcage_
void set_param_reprise(Param ¶m) override
init_forcage_THI new_forcage_
void initialise() override
IJK_Interfaces interfaces_
double vap_velocity_tmoy_
int old_ijk_splitting_ft_extension_
void compute_and_write_extra_fields_direct(SFichier &file, DoubleTab &coeff_i, IntTab Indice_i, DoubleTab &coeff_j, IntTab Indice_j, DoubleTab &coeff_k, IntTab Indice_k) override
double liq_velocity_tmoy_
void prepare_run() override
double vitesse_upstream_reprise_
double velocity_bubble_old_
corrections_qdm new_qdm_corrections_
void ecrire_header_lata(const Nom lata_name) override
void set_param(Param ¶m) const override
void prepare_thermals(const Nom lata_name) override
void init_thermals() override
void ecrire_fichier_reprise(const char *fichier_sauvegarde, const bool and_lata=true) override
void compute_and_write_extra_fields(const Nom &lata_name, DoubleTab &coeff_i, IntTab Indice_i, DoubleTab &coeff_j, IntTab Indice_j, DoubleTab &coeff_k, IntTab Indice_k) override
virtual void set_param_reprise(Param ¶m)
virtual void ecrire_header_lata(const Nom lata_name)
virtual void initialise()
double terme_source_acceleration_
virtual void prepare_run()
double terme_source_acceleration_z_
virtual void set_param(Param ¶m) const override
void write_velocity(const Nom lata_name) const