|
TrioCFD 1.9.9_beta
TrioCFD documentation
|
class Sources Sources represents a list of Source objects. More...
#include <Sources.h>
Public Member Functions | |
| DoubleTab & | ajouter (DoubleTab &) const |
| Adds the contribution of all sources in the list to the array passed as parameter, and returns this array. | |
| DoubleTab & | calculer (DoubleTab &) const |
| Calculates the contribution of all sources in the list and stores the result in the array passed as parameter,. | |
| void | contribuer_jacobienne (Matrice_Bloc &matrice, int n) const |
| void | mettre_a_jour (double temps) |
| Time update of all sources in the list. | |
| void | resetTime (double temps) |
| Rest all sources to a given time See ProblemeTrio::resetTime(). | |
| void | completer () |
| Calls Source::completer() on all sources in the list. | |
| void | dimensionner (Matrice_Morse &) const |
| Sizing of the implicit matrix of source terms. | |
| void | contribuer_a_avec (const DoubleTab &, Matrice_Morse &) const |
| Contribution to the implicit matrix of source terms. By default, no contribution. | |
| 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. | |
| 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). | |
| int | impr (Sortie &) const |
| Calls Source::impr() on all sources in the list. | |
| int | initialiser (double temps) |
| Calls Source::initialiser(temps) on all sources in the list. | |
| void | check_multiphase_compatibility () const override |
| Public Member Functions inherited from MorEqn | |
| void | associer_eqn (const Equation_base &) |
| Associates an equation with the object. | |
| virtual void | calculer_pour_post (Champ_base &espace_stockage, const Nom &option, int comp) const |
| virtual Motcle | get_localisation_pour_post (const Nom &option) const |
| const Equation_base & | equation () const |
| Returns the reference to the equation pointed to by MorEqn::mon_equation. | |
| Equation_base & | equation () |
| Returns the reference to the equation pointed to by MorEqn::mon_equation. | |
| int | mon_equation_non_nul () const |
Additional Inherited Members | |
| Protected Member Functions inherited from MorEqn | |
| OBS_PTR (Equation_base) mon_equation | |
| virtual | ~MorEqn () |
class Sources Sources represents a list of Source objects.
An equation contains a member Equation_base::les_sources of type Sources. A Sources object is a piece of an equation, so this class inherits from MorEqn.
|
virtual |
For each source in the list, calls a_pour_Champ_Fonc(mot,ch_ref).
This method is called by Equation_base::a_pour_Champ_Fonc.
Definition at line 154 of file Sources.cpp.
| DoubleTab & Sources::ajouter | ( | DoubleTab & | xx | ) | const |
Adds the contribution of all sources in the list to the array passed as parameter, and returns this array.
| (DoubleTab& | xx) the array in which the contribution of the source terms should be accumulated |
Definition at line 85 of file Sources.cpp.
|
virtual |
For each source in the list, calls the associer_champ_rho method of the source.
If the density is variable, the density field must be declared to the sources using this method (front-tracking) Otherwise, by default, calculations are performed with rho=1
Definition at line 139 of file Sources.cpp.
| DoubleTab & Sources::calculer | ( | DoubleTab & | xx | ) | const |
Calculates the contribution of all sources in the list and stores the result in the array passed as parameter,.
and returns this array.
| (DoubleTab& | xx) the array in which the sum of source contributions should be stored |
Definition at line 98 of file Sources.cpp.
|
overridevirtual |
Reimplemented from MorEqn.
Definition at line 234 of file Sources.cpp.
| void Sources::completer | ( | ) |
Calls Source::completer() on all sources in the list.
Definition at line 127 of file Sources.cpp.
| void Sources::contribuer_a_avec | ( | const DoubleTab & | a, |
| Matrice_Morse & | matrice ) const |
Contribution to the implicit matrix of source terms. By default, no contribution.
Definition at line 201 of file Sources.cpp.
| void Sources::contribuer_jacobienne | ( | Matrice_Bloc & | matrice, |
| int | n ) const |
Definition at line 211 of file Sources.cpp.
| void Sources::dimensionner | ( | Matrice_Morse & | matrice | ) | const |
Sizing of the implicit matrix of source terms.
Traverses all sources in the list to size the matrix.
Definition at line 187 of file Sources.cpp.
| int Sources::impr | ( | Sortie & | os | ) | const |
Calls Source::impr() on all sources in the list.
See Source_base::impr().
Definition at line 176 of file Sources.cpp.
| int Sources::initialiser | ( | double | temps | ) |
Calls Source::initialiser(temps) on all sources in the list.
See Source_base::initialiser(double temps).
Definition at line 226 of file Sources.cpp.
| void Sources::mettre_a_jour | ( | double | temps | ) |
Time update of all sources in the list.
| (double | temps) the time step for update |
Definition at line 109 of file Sources.cpp.
| void Sources::resetTime | ( | double | temps | ) |
Rest all sources to a given time See ProblemeTrio::resetTime().
Definition at line 117 of file Sources.cpp.