17#ifndef Schema_Cahn_Hilliard_Navier_Stokes_included
18#define Schema_Cahn_Hilliard_Navier_Stokes_included
20#include <Schema_Cahn_Hilliard.h>
39 inline int nb_valeurs_futures()
const override {
return schema_convection_->nb_valeurs_futures(); };
40 double temps_futur(
int i)
const override {
return schema_convection_->temps_futur(i); };
41 double temps_defaut()
const override {
return schema_convection_->temps_defaut(); };
52 int stop()
const override;
Class defining operators and methods for all reading operation in an input flow (file,...
class Equation_base The role of an equation is the calculation of one or more fields....
A character string (Nom) in uppercase.
Helper class to factorize the readOn method of Objet_U classes.
class Probleme_base It is a Probleme_U that is not a coupling.
: class Schema_CH_NS_Partitionne
void initialize() override
void set_param(Param &) const override
double temps_futur(int i) const override
int nb_valeurs_temporelles() const override
void associer_pb(const Probleme_base &) override
const Schema_Temps_base & get_schema_convection() const
int faire_un_pas_de_temps_eqn_base(Equation_base &) override
Effectue un pas de temps sur l'equation de Cahn-Hilliard, d'où le test sur le sub_type.
bool iterateTimeStep(bool &converged) override
Calculate the U(n+1) unknown for each equation (if solved) of the problem with the selected time sche...
bool initTimeStep(double dt) override
int mettre_a_jour() override
Updates the current time (t+=dt) and the number of time steps performed (nb_pas_dt_++).
int stop() const override
Returns 1 if it is necessary to stop the computation for various reasons:
double temps_defaut() const override
void changer_temps_courant(const double t) override
Changes the current time.
OWN_PTR(Schema_Temps_base) schema_convection_
int nb_valeurs_futures() const override
void completer() override
bool corriger_dt_calcule(double &dt) const override
Corrects the computed time step passed as parameter and verifies it is not "too" small (< dt_min_).
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
void imprimer(Sortie &os) const override
Prints the time step to an output stream if appropriate.
class Schema_Cahn_Hilliard. Il herite de schema Euler semi implicite et ne s'applique qu'à Cahn-Hilli...
Base class for output streams.