15#include <Frontiere_ouverte_vitesse_vortex.h>
18#include <Sous_Domaine.h>
19#include <Domaine_VF.h>
20#include <Domaine_Cl_dis_base.h>
21#include <Probleme_base.h>
22#include <Transport_Interfaces_FT_Disc.h>
35 param.lire_avec_accolades_depuis(is);
39 Cerr <<
"Frontiere_ouverte_vitesse_vortex: wrong dimension for coeff_vitesse" << finl;
42 Nom n(
"Champ_Front_Uniforme ");
66 double integrale = 0.;
69 for (i = 0; i < n; i++)
71 const int elem = sous_domaine[i];
72 const double x = indic(elem);
73 const double v = volume(elem);
76 DoubleTab& val = le_champ_front->valeurs();
85 le_champ_front->mettre_a_jour(temps);
86 Cerr <<
"Frontiere_ouverte_vitesse_vortex integrale=" << integrale <<
" vitesse="
87 << val(0,0) <<
" " << val(0,1) <<
" " << ((
dimension==3)?val(0,2):0.) << finl;
DoubleTab & valeurs() override
Returns the array of field values at the current time.
Domaine_Cl_dis_base & domaine_Cl_dis()
Returns the domain of discretized boundary conditions to which the object belongs.
const Sous_Domaine_t & ss_domaine(int i) const
class Domaine_Cl_dis_base Domaine_Cl_dis_base objects represent discretized boundary conditions
Domaine_dis_base & domaine_dis()
Returns a reference to the discretized domain associated with the boundary conditions.
Entree_fluide_vitesse_imposee Special case of the class Dirichlet_entree_fluide.
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....
Probleme_base & probleme()
Returns the problem associated with the equation.
double integrale_reference_
void mettre_a_jour(double temps) override
Performs a time update of the boundary condition.
ArrOfDouble coeff_vitesse_
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
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.
virtual const Equation_base & get_equation_by_name(const Nom &) const
(B. Math): Virtual method added for problems having several equations of the same type (Probleme_FT_D...
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
int_t nb_elem_tot() const
const Champ_Inc_base & inconnue() const override