Sonde#
#include <Sonde.h>
classe Sonde Cette classe permet d’effectuer l’evolution d’un champ au cours du temps.
How to cite this class in this doc#
:ref:`Sonde <class-sonde>`
[Sonde](#class-sonde)
Detailed description#
On choisit l’ensemble des points sur lesquels on veut sonder un champ et la periodicite des observations. Les objets Postraitement porte des des sondes sur les champs a observer, une sonde porte d’ailleurs une reference sur un postraitement.
Inherits from#
public : Objet_U
Inherited by#
public : Sonde_IJK
List of Public Static Methods#
List of Public Methods#
List of Protected Methods#
Complete Member Function Documentation#
Objet_U * Sonde::cree_instance()
How to cite in this doc:
:ref:`Objet_U * Sonde::cree_instance() <public-static-objet-u-ptr-sonde-cree-instance>`
[Objet_U * Sonde::cree_instance()](#public-static-objet-u-ptr-sonde-cree-instance)
const Type_info * Sonde::info()
How to cite in this doc:
:ref:`const Type_info * Sonde::info() <public-static-const-type-info-ptr-sonde-info>`
[const Type_info * Sonde::info()](#public-static-const-type-info-ptr-sonde-info)
const Sonde & Sonde::self_cast(const Objet_U &)
How to cite in this doc:
:ref:`const Sonde & Sonde::self_cast(const Objet_U &) <public-static-const-sonde-ref-sonde-self-cast-const-objet-u-ref>`
[const Sonde & Sonde::self_cast(const Objet_U &)](#public-static-const-sonde-ref-sonde-self-cast-const-objet-u-ref)
Sonde & Sonde::self_cast(Objet_U &)
How to cite in this doc:
:ref:`Sonde & Sonde::self_cast(Objet_U &) <public-static-sonde-ref-sonde-self-cast-objet-u-ref>`
[Sonde & Sonde::self_cast(Objet_U &)](#public-static-sonde-ref-sonde-self-cast-objet-u-ref)
void Sonde::ajouter_bords(const DoubleTab &coords_bords)
References
Referenced By
How to cite in this doc:
:ref:`void Sonde::ajouter_bords(const DoubleTab &coords_bords) <public-void-sonde-ajouter-bords-const-doubletab-ref-coords-bords>`
[void Sonde::ajouter_bords(const DoubleTab &coords_bords)](#public-void-sonde-ajouter-bords-const-doubletab-ref-coords-bords)
void Sonde::associer_post(const Postraitement &)
Associer le postraitement a la sonde.
References
How to cite in this doc:
:ref:`void Sonde::associer_post(const Postraitement &) <public-void-sonde-associer-post-const-postraitement-ref>`
[void Sonde::associer_post(const Postraitement &)](#public-void-sonde-associer-post-const-postraitement-ref)
void Sonde::completer()
References
How to cite in this doc:
:ref:`void Sonde::completer() <public-void-sonde-completer>`
[void Sonde::completer()](#public-void-sonde-completer)
int Sonde::duplique() const override
Reimplements:
How to cite in this doc:
:ref:`int Sonde::duplique() const override <public-int-sonde-duplique-const-override>`
[int Sonde::duplique() const override](#public-int-sonde-duplique-const-override)
void Sonde::fermer_fichier()
Ferme le fichier sur laquelle la sonde ecrit.
References
Referenced By
How to cite in this doc:
:ref:`void Sonde::fermer_fichier() <public-void-sonde-fermer-fichier>`
[void Sonde::fermer_fichier()](#public-void-sonde-fermer-fichier)
SFichier & Sonde::fichier()
Renvoie un flot de sortie Fichier, pointant sur le fichier de sortie utilise par la sonde.
References
Referenced By
How to cite in this doc:
:ref:`SFichier & Sonde::fichier() <public-sfichier-ref-sonde-fichier>`
[SFichier & Sonde::fichier()](#public-sfichier-ref-sonde-fichier)
void Sonde::fixer_periode(double)
Fixe la periode avec laquelle on sonde le champ.
References
How to cite in this doc:
:ref:`void Sonde::fixer_periode(double) <public-void-sonde-fixer-periode-double>`
[void Sonde::fixer_periode(double)](#public-void-sonde-fixer-periode-double)
const Type_info * Sonde::get_info() const override
Donne des informations sur le type de l’ Objet_U .
Reimplements:
How to cite in this doc:
:ref:`const Type_info * Sonde::get_info() const override <public-const-type-info-ptr-sonde-get-info-const-override>`
[const Type_info * Sonde::get_info() const override](#public-const-type-info-ptr-sonde-get-info-const-override)
const Nom & Sonde::get_type() const
References
Referenced By
How to cite in this doc:
:ref:`const Nom & Sonde::get_type() const <public-const-nom-ref-sonde-get-type-const>`
[const Nom & Sonde::get_type() const](#public-const-nom-ref-sonde-get-type-const)
void Sonde::init_bords()
References
How to cite in this doc:
:ref:`void Sonde::init_bords() <public-void-sonde-init-bords>`
[void Sonde::init_bords()](#public-void-sonde-init-bords)
void Sonde::initialiser()
Initialise la sonde.
Dimensionne les tableaux, de valeurs, verifie si les points specifies sont bien dans le domaine de calcul.
References
Referenced By
How to cite in this doc:
:ref:`void Sonde::initialiser() <public-void-sonde-initialiser>`
[void Sonde::initialiser()](#public-void-sonde-initialiser)
const Champ_Generique_base & Sonde::le_champ() const
Renvoie le champ associe.
References
How to cite in this doc:
:ref:`const Champ_Generique_base & Sonde::le_champ() const <public-const-champ-generique-base-ref-sonde-le-champ-const>`
[const Champ_Generique_base & Sonde::le_champ() const](#public-const-champ-generique-base-ref-sonde-le-champ-const)
const IntVect & Sonde::les_poly() const
Renvoie le tableau des elements qui sont sondes.
References
How to cite in this doc:
:ref:`const IntVect & Sonde::les_poly() const <public-const-intvect-ref-sonde-les-poly-const>`
[const IntVect & Sonde::les_poly() const](#public-const-intvect-ref-sonde-les-poly-const)
const DoubleTab & Sonde::les_positions() const
References
Referenced By
How to cite in this doc:
:ref:`const DoubleTab & Sonde::les_positions() const <public-const-doubletab-ref-sonde-les-positions-const>`
[const DoubleTab & Sonde::les_positions() const](#public-const-doubletab-ref-sonde-les-positions-const)
const DoubleTab & Sonde::les_positions_sondes() const
References
Referenced By
How to cite in this doc:
:ref:`const DoubleTab & Sonde::les_positions_sondes() const <public-const-doubletab-ref-sonde-les-positions-sondes-const>`
[const DoubleTab & Sonde::les_positions_sondes() const](#public-const-doubletab-ref-sonde-les-positions-sondes-const)
const DoubleTab & Sonde::les_positions_sondes_initiales() const
Renvoie le tableau des positions du champ qui sont sondees.
References
Referenced By
How to cite in this doc:
:ref:`const DoubleTab & Sonde::les_positions_sondes_initiales() const <public-const-doubletab-ref-sonde-les-positions-sondes-initiales-const>`
[const DoubleTab & Sonde::les_positions_sondes_initiales() const](#public-const-doubletab-ref-sonde-les-positions-sondes-initiales-const)
void Sonde::mettre_a_jour(double temps, double tinit)
Effectue une mise a jour en temps de la sonde effectue le postraitement.
How to cite in this doc:
:ref:`void Sonde::mettre_a_jour(double temps, double tinit) <public-void-sonde-mettre-a-jour-double-temps-double-tinit>`
[void Sonde::mettre_a_jour(double temps, double tinit)](#public-void-sonde-mettre-a-jour-double-temps-double-tinit)
void Sonde::mettre_a_jour_bords()
References
Referenced By
How to cite in this doc:
:ref:`void Sonde::mettre_a_jour_bords() <public-void-sonde-mettre-a-jour-bords>`
[void Sonde::mettre_a_jour_bords()](#public-void-sonde-mettre-a-jour-bords)
void Sonde::nommer(const Nom &n) override
Donne un nom a l’ Objet_U Methode virtuelle a surcharger.
Reimplements:
References
How to cite in this doc:
:ref:`void Sonde::nommer(const Nom &n) override <public-void-sonde-nommer-const-nom-ref-n-override>`
[void Sonde::nommer(const Nom &n) override](#public-void-sonde-nommer-const-nom-ref-n-override)
void Sonde::ouvrir_fichier()
Ouvre le fichier associe a la sonde.
(*.son)
References
Referenced By
How to cite in this doc:
:ref:`void Sonde::ouvrir_fichier() <public-void-sonde-ouvrir-fichier>`
[void Sonde::ouvrir_fichier()](#public-void-sonde-ouvrir-fichier)
void Sonde::postraiter()
Effectue un postraitement.
Calcul les valeurs du champ aux position demandees et les imprime sur le fichier associe.
References
Referenced By
How to cite in this doc:
:ref:`void Sonde::postraiter() <public-void-sonde-postraiter>`
[void Sonde::postraiter()](#public-void-sonde-postraiter)
Sonde::Sonde()
Constructeur d’une sonde sans parametre.
How to cite in this doc:
:ref:`Sonde::Sonde() <public-sonde-sonde>`
[Sonde::Sonde()](#public-sonde-sonde)
Sonde::Sonde(const Nom &)
Constructeur d’une sonde a partir de son nom.
How to cite in this doc:
:ref:`Sonde::Sonde(const Nom &) <public-sonde-sonde-const-nom-ref>`
[Sonde::Sonde(const Nom &)](#public-sonde-sonde-const-nom-ref)
unsigned Sonde::taille_memoire() const override
Reimplements:
How to cite in this doc:
:ref:`unsigned Sonde::taille_memoire() const override <public-unsigned-sonde-taille-memoire-const-override>`
[unsigned Sonde::taille_memoire() const override](#public-unsigned-sonde-taille-memoire-const-override)
Sonde::~Sonde() override
Destructeur.
Ferme le fichier avant de detruire l’objet.
References
How to cite in this doc:
:ref:`Sonde::~Sonde() override <public-sonde-dtor-sonde-override>`
[Sonde::~Sonde() override](#public-sonde-dtor-sonde-override)
void Sonde::create_champ_generique(Entree &is, const Motcle &motlu)
Creation des Champ_Generique_refChamp necessaire pour l initialisation de la REF a Champ_Generique_base Si le champ demande est un Champ_base connu du probleme on cree le Champ_Generique_refChamp correspondant
References
Referenced By
How to cite in this doc:
:ref:`void Sonde::create_champ_generique(Entree &is, const Motcle &motlu) <protected-void-sonde-create-champ-generique-entree-ref-is-const-motcle-ref-motlu>`
[void Sonde::create_champ_generique(Entree &is, const Motcle &motlu)](#protected-void-sonde-create-champ-generique-entree-ref-is-const-motcle-ref-motlu)
void Sonde::fill_local_values()
Fill the array ‘valeurs_locales’ used by each proc to store prob local values
References
Referenced By
How to cite in this doc:
:ref:`void Sonde::fill_local_values() <protected-void-sonde-fill-local-values>`
[void Sonde::fill_local_values()](#protected-void-sonde-fill-local-values)
virtual void Sonde::fix_probe_position()
Fix probe position - used by IJK
Referenced By
How to cite in this doc:
:ref:`virtual void Sonde::fix_probe_position() <protected-virtual-void-sonde-fix-probe-position>`
[virtual void Sonde::fix_probe_position()](#protected-virtual-void-sonde-fix-probe-position)
void Sonde::fix_probe_position_grav()
Fix probe position when keyword grav or gravcl is used
References
Referenced By
How to cite in this doc:
:ref:`void Sonde::fix_probe_position_grav() <protected-void-sonde-fix-probe-position-grav>`
[void Sonde::fix_probe_position_grav()](#protected-void-sonde-fix-probe-position-grav)
const Domaine & Sonde::get_domaine_geom() const
Retrieve the domain to be used for the probe
References
Referenced By
How to cite in this doc:
:ref:`const Domaine & Sonde::get_domaine_geom() const <protected-const-domaine-ref-sonde-get-domaine-geom-const>`
[const Domaine & Sonde::get_domaine_geom() const](#protected-const-domaine-ref-sonde-get-domaine-geom-const)
int Sonde::get_nb_compo_champ() const
Retrieve the number of component for the field - overriden in IJK
References
Referenced By
How to cite in this doc:
:ref:`int Sonde::get_nb_compo_champ() const <protected-int-sonde-get-nb-compo-champ-const>`
[int Sonde::get_nb_compo_champ() const](#protected-int-sonde-get-nb-compo-champ-const)
const Noms Sonde::get_noms_champ() const
Retrieve the field names - overriden in IJK
References
Referenced By
How to cite in this doc:
:ref:`const Noms Sonde::get_noms_champ() const <protected-const-noms-sonde-get-noms-champ-const>`
[const Noms Sonde::get_noms_champ() const](#protected-const-noms-sonde-get-noms-champ-const)
double Sonde::get_temps_champ() const
Retrieve the current time for the field - overriden in IJK
References
Referenced By
How to cite in this doc:
:ref:`double Sonde::get_temps_champ() const <protected-double-sonde-get-temps-champ-const>`
[double Sonde::get_temps_champ() const](#protected-double-sonde-get-temps-champ-const)
Sortie & Sonde::printOn(Sortie &x) const override
Imprime le type de l’objet sur un flot de sortie.
Reimplements:
References
How to cite in this doc:
:ref:`Sortie & Sonde::printOn(Sortie &x) const override <protected-sortie-ref-sonde-printon-sortie-ref-x-const-override>`
[Sortie & Sonde::printOn(Sortie &x) const override](#protected-sortie-ref-sonde-printon-sortie-ref-x-const-override)
Entree & Sonde::readOn(Entree &) override
Lit les specifications d’une sonde a partir d’un flot d’entree.
Format: Sondes { [nom_sonde nom_champ Periode dts Points n x1 y1 [z1] … xn yn [zn] [nom_sonde nom_champ Periode dts Segment ns x1 y1 [z1] x2 y2 [z2] … }
Reimplements:
References
Referenced By
How to cite in this doc:
:ref:`Entree & Sonde::readOn(Entree &) override <protected-entree-ref-sonde-readon-entree-ref-override>`
[Entree & Sonde::readOn(Entree &) override](#protected-entree-ref-sonde-readon-entree-ref-override)
void Sonde::update_source(double un_temps)
Update the underlying field source if needed
References
Referenced By
How to cite in this doc:
:ref:`void Sonde::update_source(double un_temps) <protected-void-sonde-update-source-double-un-temps>`
[void Sonde::update_source(double un_temps)](#protected-void-sonde-update-source-double-un-temps)
virtual void Sonde::validate_position() const
Should exit if invalid position has been set for a probe-overriden for IJK
Referenced By
How to cite in this doc:
:ref:`virtual void Sonde::validate_position() const <protected-virtual-void-sonde-validate-position-const>`
[virtual void Sonde::validate_position() const](#protected-virtual-void-sonde-validate-position-const)
virtual void Sonde::validate_type(const Motcle &loc) const
Should exit if invalid type for a probe-overriden for IJK
Referenced By
How to cite in this doc:
:ref:`virtual void Sonde::validate_type(const Motcle &loc) const <protected-virtual-void-sonde-validate-type-const-motcle-ref-loc-const>`
[virtual void Sonde::validate_type(const Motcle &loc) const](#protected-virtual-void-sonde-validate-type-const-motcle-ref-loc-const)
Attributes Documentation#
const Type_info Sonde::info_obj
bool Sonde::chsom
int Sonde::dim
la dimension de la sone (point:0,segment:1,plan:2,volume:3)
IntVect Sonde::elem_
les elements contenant les sondes ponctuelles locales
ArrOfInt Sonde::faces_bords_
array containing the indices of the boundary faces hit by the probe
bool Sonde::grav
bool Sonde::gravcl
SFichier Sonde::le_fichier_
DoubleTab Sonde::les_positions_
les coordonnees des sondes locales sur chaque proc
DoubleTab Sonde::les_positions_sondes_
les coordonnees des sondes sur tout le domaine apres deplacement (uniquement sur le maitre)
DoubleTab Sonde::les_positions_sondes_initiales_
les coordonnees des sondes ponctuelles initiales
TRUST_Ref<Champ_Generique_base *> Sonde::mon_champ
TRUST_Ref<Postraitement *> Sonde::mon_post
double Sonde::nb_bip
int Sonde::nbre_points1 = - 1
int Sonde::nbre_points2 = - 1
int Sonde::nbre_points3 = - 1
faire des sonde_segment,sonde_plan,etc…
int Sonde::ncomp
Numero de la composante a sonder. Si ncomp = - 1 la sonde s’applique a toutes les composantes du champ
bool Sonde::nodes
cles pour typage des sondes (sondes redefinies aux noeuds ou d’apres les valeurs aux sommets ou au centre de gravite ou aux sommets)
Nom Sonde::nom_
le nom de la sonde
Motcle Sonde::nom_champ_lu_
Nom Sonde::nom_fichier_
le nom du fichier contenant la sonde
int Sonde::numero_elem_
vaut - 1 si pas defini et vaut le numero de l’elem sur le maitre
TRUST_Ref<Operateur_Statistique_tps_base *> Sonde::operateur_statistique_
int Sonde::orientation_faces_
ArrsOfInt Sonde::participant
double Sonde::periode
periode d’echantillonnage
IntTab Sonde::rang_cl_
for a given face, index of the CL that this face bears
bool Sonde::som
Nom Sonde::type_
DoubleTab Sonde::valeurs_locales
DoubleTab Sonde::valeurs_sur_maitre
valeurs_locales les valeurs sur chaque proc, valeurs_sur_maitre les valeurs regroupes sur le maitre