16#include <Entree_fluide_T_h_imposee.h>
37 le_champ_front.typer(
"Champ_front_uniforme");
38 le_champ_Text.typer(
"Champ_front_uniforme");
41 Motcles les_motcles(6);
43 les_motcles[0] =
"T_ext";
44 les_motcles[1] =
"C_ext";
45 les_motcles[2] =
"K_Eps_ext";
46 les_motcles[3] =
"H_ext";
47 les_motcles[4] =
"Y_ext";
48 les_motcles[5] =
"K_Omega_ext";
51 Motcle accfermee =
"}";
52 Motcle accouverte =
"{";
55 if (motlu != accouverte)
57 Cerr <<
"Expected a { when reading the interface " << finl;
61 while (motlu != accfermee)
63 rang = les_motcles.search(motlu);
81 Cerr <<
"Error reading boundary condition of type: " << finl;
83 Cerr <<
"Expected " << les_motcles <<
" instead of " << motlu << finl;
104 if (le_champ_Text->valeurs().size() == 1)
105 return le_champ_Text->valeurs()(0, 0);
106 else if (le_champ_Text->valeurs().dimension(1) == 1)
107 return le_champ_Text->valeurs()(i, 0);
109 Cerr <<
"Entree_fluide_T_h_imposee::val_ext" << finl;
121 Cerr <<
"Entree_fluide_T_h_imposee::val_ext" << finl;
138 if (le_champ_Text->valeurs().dimension(0) == 1)
139 return le_champ_Text->valeurs()(0, j);
141 return le_champ_Text->valeurs()(i, j);
std::vector< Motcle > app_domains
Dirichlet_entree_fluide This class represents a boundary condition imposing a quantity.
Entree_fluide_temperature_imposee Special case of the Dirichlet_entree_fluide class.
double val_imp(int i) const override
Returns the value of the i-th component of the field imposed on the exterior of the boundary.
Class defining operators and methods for all reading operation in an input flow (file,...
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.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.