16#include <Terme_Source_Constituant.h>
17#include <Schema_Temps_base.h>
18#include <Probleme_base.h>
28 Cerr <<
"Reading the source field for the constituent(s) source term" << finl;
29 is >> la_source_constituant;
35 for (
int i = 0; i < inco.
nb_comp(); ++i)
50 if (type!=
"") nomfichier+=(
Nom)
"_"+type;
54 const int wcol = std::max(
colw_, sch.
wcol());
61 fic << (
Nom)
"# Printing of the source term " + qsj +
" of the equation "+ eq.
que_suis_je() +
" of the problem "+ eq.
probleme().
le_nom() << finl;
62 fic <<
"# " << description << finl;
63 if (!gnuplot_header) fic <<
"#";
67 for (
int i = 0; i < eq.
inconnue().nb_comp(); ++i)
74 os.
ouvrir(nomfichier,ios::app);
77 os.
setf(ios::scientific);
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....
virtual const Champ_Inc_base & inconnue() const =0
Probleme_base & probleme()
Returns the problem associated with the equation.
virtual int nb_comp() const
const Noms & noms_compo() const
Returns the array of names of the field components.
class Nom: a character string for naming TRUST objects.
const Nom & que_suis_je() const
Returns the string identifying the class.
const Nom & le_nom() const override
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
class Probleme_base It is a Probleme_U that is not a coupling.
bool & reprise_effectuee()
const Schema_Temps_base & schema_temps() const
Returns the time scheme associated with the problem.
SFichier is to the C++ ofstream class what Sortie is to the C++ ostream class.
int nb_impr() const
Returns the number of outputs performed.
int gnuplot_header() const
int precision_impr() const
virtual int ouvrir(const char *name, IOS_OPEN_MODE mode=ios::out)
void precision(int pre) override
void setf(IOS_FORMAT code) override
void set_col_width(int w)
virtual int add_col(const double ob)
void lire_donnees(Entree &)
Reads the power term from an input stream.
int completer(const Champ_Inc_base &inco)
void ouvrir_fichier(const Equation_base &eq, const Nom &out, const Nom &qsj, const Nom &description, SFichier &os, const Nom &type, const int flag) const