16#include <Sortie_libre_Gradient_Pression_impose_VEF.h>
17#include <Discretisation_base.h>
18#include <Navier_Stokes_std.h>
19#include <Champ_P0_VEF.h>
33 le_champ_ext.typer(
"Champ_front_uniforme");
34 le_champ_ext->valeurs().resize(1,
dimension);
40 if (le_champ_front->valeurs().size() == 1)
43 double a2 =
coeff[face];
44 double a3 = le_champ_front->valeurs()(0, 0);
45 double Pimp = a1 + a2 * a3;
48 else if (le_champ_front->valeurs().line_size() == 1)
53 Cerr <<
"Sortie_libre_Gradient_Pression_impose_VEF::flux_impose error" << finl;
62 Cerr <<
"Sortie_libre_Gradient_Pression_impose_VEF::flux_impose(int , int )" << finl;
63 Cerr <<
"Only the normal component of the gradient can be imposed" << finl;
std::vector< Motcle > app_domains
Class defining operators and methods for all reading operation in an input flow (file,...
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.
Sortie_libre_Gradient_Pression_impose_VEF.
DoubleVect trace_pression_int
double flux_impose(int) const override
Returns the value of the imposed flux on the i-th component of the field representing the flux at the...
Base class for output streams.