16#ifndef Sources_included
17#define Sources_included
19#include <TRUST_List.h>
35 DoubleTab&
ajouter(DoubleTab& )
const;
36 DoubleTab&
calculer(DoubleTab& )
const;
class Champ_base This class is the base of the fields hierarchy.
Matrice_Morse class - Represents a (sparse) matrix M, not necessarily square,.
class MorEqn Class that groups the functionalities of linking with an
OBS_PTR(Equation_base) mon_equation
A character string (Nom) in uppercase.
Base class for output streams.
class Sources Sources represents a list of Source objects.
void contribuer_jacobienne(Matrice_Bloc &matrice, int n) const
int impr(Sortie &) const
Calls Source::impr() on all sources in the list.
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const
Contribution to the implicit matrix of source terms. By default, no contribution.
int initialiser(double temps)
Calls Source::initialiser(temps) on all sources in the list.
void resetTime(double temps)
Rest all sources to a given time See ProblemeTrio::resetTime().
void mettre_a_jour(double temps)
Time update of all sources in the list.
virtual int a_pour_Champ_Fonc(const Motcle &mot, OBS_PTR(Champ_base)&ch_ref) const
For each source in the list, calls a_pour_Champ_Fonc(mot,ch_ref).
void check_multiphase_compatibility() const override
void dimensionner(Matrice_Morse &) const
Sizing of the implicit matrix of source terms.
void completer()
Calls Source::completer() on all sources in the list.
virtual void associer_champ_rho(const Champ_base &champ_rho)
For each source in the list, calls the associer_champ_rho method of the source.
DoubleTab & ajouter(DoubleTab &) const
Adds the contribution of all sources in the list to the array passed as parameter,...
DoubleTab & calculer(DoubleTab &) const
Calculates the contribution of all sources in the list and stores the result in the array passed as p...