16#include <Source_rayo_semi_transp_VEF.h>
17#include <Pb_rayo_semi_transp.h>
18#include <Champ_Uniforme.h>
19#include <Domaine_VEF.h>
20#include <Fluide_base.h>
30 statistics().end_count(STD_COUNTERS::source_terms,0,0);
32 const double sigma = pb_rayo_semi_transp_->valeur_sigma();
34 const int nb_faces = zvef.
nb_faces();
43 for (
int face = 0; face < nb_faces; face++)
58 double T = temperature(face);
59 double vol = volumes_entrelaces(face);
60 resu[face] += k * (G(face) - 4 * n * n * sigma * pow(T, 4)) * vol;
62 statistics().begin_count(STD_COUNTERS::source_terms, statistics().get_last_opened_counter_level() + 1);
DoubleTab & valeurs() override
Overrides Champ_base::valeurs() Returns the array of values.
DoubleTab & valeurs() override
Returns the array of field values at the current time.
int nb_faces() const
Returns the total number of faces.
DoubleVect & volumes_entrelaces()
Class defining operators and methods for all reading operation in an input flow (file,...
const Champ_Inc_base & inconnue() const override
virtual const Champ_Inc_base & inconnue() const =0
Domaine_dis_base & domaine_dis()
Returns the discretized domain associated with the equation.
virtual int nb_comp() const
Base class for an incompressible fluid and its properties:
Champ_Don_base & indice()
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
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.
Base class for output streams.
DoubleTab & ajouter(DoubleTab &resu) const override
Source_rayo_semi_transp_base Base class of the source term hierarchy for the temperature.