16#ifndef Sonde_Int_included
17#define Sonde_Int_included
24#include <Domaine_forward.h>
38 Declare_instanciable_sans_destructeur(
Sonde_Int);
51 inline const IntVect&
les_poly()
const;
53 inline double temps()
const;
65 int nbre_points1= -1,nbre_points2= -1,nbre_points3= -1;
66 OBS_PTR(IntVect) mon_tableau;
67 DoubleTab les_positions_;
70 double periode= 1.e10;
81 : nom_(nom), le_fichier(0)
92 return nb_bip*periode;
125 return mon_tableau.valeur();
135 return les_positions_;
class Nom: a character string for naming TRUST objects.
Objet_U()
Default constructor: assigns a unique identifier to the object (object_id_) and registers the object ...
class Postraitement. The class holds -a list of generic fields champs_post_complet_ containing
SFichier is to the C++ ofstream class what Sortie is to the C++ ostream class.
SFichier & fichier()
Returns the output file stream used by the probe.
double temps() const
Returns the elapsed time.
void ouvrir_fichier()
Opens the file associated with the probe.
const IntVect & le_tableau() const
Returns the associated array.
const DoubleTab & les_positions() const
Returns the array of probed positions.
const IntVect & les_poly() const
Returns the array of elements being probed.
void associer_post(const Postraitement &)
Associates a post-processing object with the probe.
void initialiser(const Domaine &)
Initialises the probe.
Sonde_Int(const Nom &)
Constructor for a probe given its name.
void fixer_periode(double)
Sets the sampling period for probing the field.
~Sonde_Int() override
Destructor.
void mettre_a_jour(double temps, double tinit)
Updates the probe in time and performs post-processing.
void fermer_fichier()
Closes the file to which the probe writes.
void postraiter(double)
Performs post-processing.