16#include <Source_rayo_semi_transp_VDF.h>
17#include <Pb_rayo_semi_transp.h>
18#include <Champ_Uniforme.h>
19#include <Fluide_base.h>
20#include <Domaine_VDF.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_elem = zvdf.
nb_elem();
41 for (
int elem = 0; elem < nb_elem; elem++)
57 double T = temperature(elem);
58 double vol = zvdf.
volumes(elem);
59 resu[elem] += k * (G(elem) - 4 * n * n * sigma * pow(T, 4)) * vol;
61 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.
double volumes(int i) const
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.