16#include <Frontiere_dis_base.h>
37 if (le_champ_front->valeurs().size() == 1)
38 return le_champ_front->valeurs()(0, 0);
39 else if (le_champ_front->valeurs().dimension(1) == 1)
40 return le_champ_front->valeurs()(i, 0);
42 Cerr <<
"Neumann::flux_impose error" << finl;
55 if (le_champ_front->valeurs().dimension(0) == 1)
56 return le_champ_front->valeurs()(0, j);
58 return le_champ_front->valeurs()(i, j);
74 if (with_virtual_faces)
75 size = le_champ_front->valeurs().dimension(0) == 1 ? le_bord.
nb_faces_tot() : le_champ_front->valeurs().dimension_tot(0);
77 size = le_champ_front->valeurs().dimension(0) == 1 ? le_bord.
nb_faces() : le_champ_front->valeurs().dimension(0);
81 bool update = le_champ_front->instationnaire();
84 int nb_comp = le_champ_front->valeurs().nb_dim() == 1 ? 1 : le_champ_front->valeurs().dimension(1);
92 for (
int i = 0; i < size; i++)
93 for (
int j = 0; j < nb_comp; j++)
class Cond_lim_base Base class for the hierarchy of classes that represent the different boundary con...
virtual Frontiere_dis_base & frontiere_dis()
Returns the discretized boundary to which the boundary conditions apply.
Class defining operators and methods for all reading operation in an input flow (file,...
Classe Neumann This class is the base class of the hierarchy of Neumann-type boundary conditions.
virtual double flux_impose(int i) const
Returns the value of the imposed flux on the i-th component of the field representing the flux at the...
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.