16#include <Champ_Elem_PolyMAC_HFV.h>
17#include <Domaine_PolyMAC_HFV.h>
18#include <Connectivite_som_elem.h>
19#include <Domaine_Cl_PolyMAC_family.h>
20#include <MD_Vector_base.h>
22#include <Pb_Multiphase.h>
44 return le_dom_VF->nb_elem();
50 const IntTab& f_e =
domaine.face_voisins();
52 if (
futur(n).size_reelle_ok())
54 DoubleTab& vals =
futur(n);
59 for (
int f = 0, ne_tot =
domaine.nb_elem_tot(); f <
domaine.nb_faces(); f++)
60 for (
int m = 0, e = f_e(f, 0); m < vals.
dimension(1); m++)
61 vals(ne_tot + f, m) = vals(e, m);
85 DoubleTab_parts part(
valeurs());
: class Champ_Elem_PolyMAC_HFV
int reprendre(Entree &fich) override
Restores an Objet_U from an input stream. Virtual method to override.
int fixer_nb_valeurs_nodales(int n) override
int nb_valeurs_nodales() const override
const Domaine_PolyMAC_HFV & domaine_PolyMAC_HFV() const
virtual void init_auxiliary_variables()
Champ_base & affecter_(const Champ_base &ch) override
const Domaine & domaine() const
virtual void creer_tableau_distribue(const MD_Vector &, RESIZE_OPTIONS=RESIZE_OPTIONS::COPY_INIT)
DoubleTab & futur(int i=1) override
Returns field values at instant t+i.
virtual int nb_valeurs_temporelles() const
Returns the number of temporal values currently kept.
const Domaine_dis_base & domaine_dis_base() const override
DoubleTab & valeurs() override
Returns the array of field values at the current time.
int reprendre(Entree &) override
Reads an unknown field from an input stream for a restart.
bool via_ch_fonc_reprise() const
virtual DoubleTab & valeurs()=0
class Champ_base This class is the base of the fields hierarchy.
virtual DoubleTab & valeur_aux(const DoubleTab &positions, DoubleTab &valeurs) const
Causes an error! Must be overridden by derived classes.
Class defining operators and methods for all reading operation in an input flow (file,...
const Nom & le_nom() const override
Returns the name of the field.
: This class is an OWN_PTR but the pointed object is shared among multiple
int mon_equation_non_nul() const
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.
Multiphase thermohydraulics problem of type "3*N equations":
Base class for output streams.
void set_md_vector(const MD_Vector &) override
_SIZE_ dimension_tot(int) const override
void resize_dim0(_SIZE_ n, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)
_SIZE_ dimension(int d) const
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")