16#include <Sortie_libre_pression_imposee_QC.h>
17#include <Champ_Uniforme.h>
18#include <Equation_base.h>
19#include <Milieu_base.h>
33 le_champ_ext.typer(
"Champ_front_uniforme");
34 le_champ_ext->valeurs().resize(1,
dimension);
74 if (le_champ_front->valeurs().size() == 1)
75 return (le_champ_front->valeurs()(0, 0) -
Pthn) / rho_;
76 else if (le_champ_front->valeurs().dimension(1) == 1)
77 return (le_champ_front->valeurs()(i, 0) -
Pthn) / rho_;
79 Cerr <<
"Neumann::flux_impose error" << finl;
104 if (le_champ_front->valeurs().dimension(0) == 1)
105 return (le_champ_front->valeurs()(0, j) -
Pthn) / rho_;
107 return (le_champ_front->valeurs()(i, j) -
Pthn) / rho_;
DoubleTab & valeurs() override
Overrides Champ_base::valeurs() Returns the array of values.
virtual DoubleTab & valeurs()=0
class Champ_base This class is the base of the fields hierarchy.
std::vector< Motcle > app_domains
Class defining operators and methods for all reading operation in an input flow (file,...
virtual const Milieu_base & milieu() const =0
Milieu_base This class is the base of the (physical) medium hierarchy.
virtual const Equation_base & equation(const std::string &nom_inc) const
virtual const Champ_base & masse_volumique() const
Returns the mass density of the medium (const version).
Neumann_sortie_libre This class represents an open boundary without imposed velocity.
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.
Open boundary with imposed pressure condition, derived from Neumann_sortie_libre.
double flux_impose(int i) const override
Returns the imposed flux value for the i-th component of the field representing the flux at the bound...
void completer() override
Completes the boundary conditions.
Sortie_libre_pression_imposee_QC()
Base class for output streams.