TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Face_rayo_transp.h
1/****************************************************************************
2* Copyright (c) 2026, CEA
3* All rights reserved.
4*
5* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8* 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
9*
10* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
11* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
12* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13*
14*****************************************************************************/
15
16#ifndef Face_rayo_transp_included
17#define Face_rayo_transp_included
18
19#include <Ensemble_faces_rayo_transp.h>
20#include <TRUST_Vector.h>
21
23{
24 Declare_instanciable(Face_rayo_transp);
25public:
26
27 int chercher_ensemble_faces(const Nom&) const;
28 void ecrire_temperature_bord() const;
29
30 double calculer_temperature();
31 double imprimer_flux_radiatif(Sortie&, Sortie&, Sortie&) const;
32
33 inline double T_face_rayo() const { return T_face_rayo_; }
34 inline double emissivite() const { return emissivite_; }
35 inline double flux_radiatif() const { return flux_radiatif_; }
36 inline double surface_rayo() const { return surf_; }
37 inline void mettre_a_jour_flux_radiatif(double J) { flux_radiatif_ = J; }
38 inline const Nom& nom_bord_rayo() const { return nom_bord_rayo_; }
39 inline const Nom& nom_bord_rayo_lu() const { return nom_bord_rayo_lu_; }
40 inline const IntVect& num_faces(int j) const { return num_faces_; }
41 inline int nb_ensembles_faces() const { return nb_ensembles_faces_; }
42
43 inline const Ensemble_faces_rayo_transp& ensembles_faces_bord(int j) const { return les_ensembles_faces_bord_[j]; }
44 inline Ensemble_faces_rayo_transp& ensembles_faces_bord(int j) { return les_ensembles_faces_bord_[j]; }
45
46private:
47 VECT(Ensemble_faces_rayo_transp) les_ensembles_faces_bord_;
48 IntVect num_faces_;
49 Nom nom_bord_rayo_, nom_bord_rayo_lu_;
50 double T_face_rayo_ = -123., emissivite_ = -123., surf_ = -123., flux_radiatif_ = 0.;
51 int nb_ensembles_faces_ = 1;
52};
53
54#endif /* Face_rayo_transp_included */
double T_face_rayo() const
int chercher_ensemble_faces(const Nom &) const
void mettre_a_jour_flux_radiatif(double J)
double surface_rayo() const
const Nom & nom_bord_rayo_lu() const
double flux_radiatif() const
void ecrire_temperature_bord() const
const Nom & nom_bord_rayo() const
double imprimer_flux_radiatif(Sortie &, Sortie &, Sortie &) const
double emissivite() const
const IntVect & num_faces(int j) const
int nb_ensembles_faces() const
const Ensemble_faces_rayo_transp & ensembles_faces_bord(int j) const
Ensemble_faces_rayo_transp & ensembles_faces_bord(int j)
class Nom Une chaine de caractere pour nommer les objets de TRUST
Definition Nom.h:31
friend class Sortie
Definition Objet_U.h:75
Objet_U()
Constructeur par defaut : attribue un numero d'identifiant unique a l'objet (object_id_),...
Definition Objet_U.cpp:55