16#ifndef Pb_rayo_semi_transp_included
17#define Pb_rayo_semi_transp_included
19#include <Eq_rayo_semi_transp.h>
20#include <Probleme_base.h>
102 static constexpr double sigma_ = 5.67e-8;
class Champ_front_base Base class for the hierarchy of boundary fields.
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.
class Nom: a character string for naming TRUST objects.
An array of character strings (VECT(Nom)).
Semi-transparent radiation problem. Pb_rayo_semi_transp is a Probleme_base with 4 specific features:
double calculer_pas_de_temps() const override
Computes the value of the next time step for the problem.
void preparer_calcul() override
Prepares the computation: initializes the medium parameters and prepares the computation of each equa...
void creer_champ(const Motcle &motlu) override
Equation_base & equation(int i) override
void associer_probleme_fluide(Probleme_base &Pb)
const Champ_front_base & flux_radiatif(const Nom &nom_bord) const
OBS_PTR(Probleme_base) pb_fluide_
bool iterateTimeStep(bool &converged) override
In the case solveTimeStep uses an iterative process, this method executes a single iteration.
void terminate() override
This method is called once at the end, after any other one.
void validateTimeStep() override
Validates the calculated unknown by moving the present time at the end of the time step.
void get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override
double computeTimeStep(bool &stop) const override
Compute the value the Problem would like for the next time step.
void discretise_longueur_rayo()
void typer_lire_milieu(Entree &is) override
int nombre_d_equations() const override
Eq_rayo_semi_transp & eq_rayo()
const double & valeur_sigma() const
Probleme_base & probleme_fluide()
void calculer_flux_radiatif()
void mettre_a_jour(double temps) override
Performs a time update of the problem.
static constexpr double sigma_
Equation_base & getset_equation_by_name(const Nom &un_nom) override
(B. Math): Virtual method added for problems having several equations of the same type (Probleme_FT_D...
void associer_sch_tps_base(const Schema_Temps_base &) override
Associates a time scheme with the problem.
bool initTimeStep(double dt) override
This method allocates and initializes the unknown and given fields for the future time step.
const Equation_base & equation(int i) const override
const Probleme_base & probleme_fluide() const
const Eq_rayo_semi_transp & eq_rayo() const
void completer() override
Completes the equations associated with the problem.
const Equation_base & get_equation_by_name(const Nom &un_nom) const override
(B. Math): Virtual method added for problems having several equations of the same type (Probleme_FT_D...
Eq_rayo_semi_transp eq_rayo_
class Probleme_base It is a Probleme_U that is not a coupling.
virtual void finir()
Finalizes post-processing and saves the problem to a file.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.