16#ifndef Champ_Elem_PolyMAC_CDO_included
17#define Champ_Elem_PolyMAC_CDO_included
19#include <Op_Diff_PolyMAC_CDO_base.h>
20#include <Champ_Inc_P0_base.h>
43 const DoubleTab& src =
valeurs();
46 const IntTab& f_e =
domaine.face_voisins();
54 for (n = 0, f = fvf.
num_face(i); n < N; n++)
56 e = (f_e(f, 0) > -1) ? f_e(f, 0) : f_e(f, 1);
57 dst(f, n) = src(has_faces ?
domaine.nb_elem_tot() + f : e, n);
Champ_base & affecter_(const Champ_base &ch) override
int imprime(Sortie &, int) const override
int fixer_nb_valeurs_nodales(int n) override
DoubleTab & trace(const Frontiere_dis_base &fr, DoubleTab &x, double t, int distant) const override
Computes the trace of a field on a boundary at time tps.
DoubleTab & valeur_aux_faces(DoubleTab &vals) const override
Returns the field value at the faces.
: class Champ_Inc_P0_base
const Domaine & domaine() const
const Domaine_dis_base & domaine_dis_base() const override
DoubleTab & valeurs() override
Returns the array of field values at the current time.
Champ_base()
Default constructor of a Champ_base.
int num_face(const int) const
virtual void trace_face_distant(const DoubleTab &, DoubleTab &) const
virtual void trace_face_local(const DoubleTab &, DoubleTab &) const
class Frontiere_dis_base Class representing a discretized boundary.
const Frontiere & frontiere() const
Returns the associated geometric boundary.
Base class for output streams.
void resize(_SIZE_ n, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)
_SIZE_ dimension_tot(int) const override
_SIZE_ dimension(int d) const
virtual const MD_Vector & get_md_vector() const