TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Ensemble_faces_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 Ensemble_faces_rayo_transp_included
17#define Ensemble_faces_rayo_transp_included
18
19#include <Cond_lim_rayo_milieu_transp.h>
20#include <Domaine_forward.h>
21#include <TRUST_Ref.h>
22#include <Motcle.h>
23
24class Cond_lim_base;
25
27{
28 Declare_instanciable(Ensemble_faces_rayo_transp);
29public:
30
32 void lire(const Nom&, const Nom&, const Domaine&);
33 int contient(int) const;
34 int is_ok() const;
35
37 {
38 assert(la_cond_lim_rayo_ != 0);
39 return *la_cond_lim_rayo_;
40 }
41
43 {
44 assert(la_cond_lim_rayo_ != 0);
45 return *la_cond_lim_rayo_;
46 }
47
48 inline double surface(int numfa) const { return la_cond_lim_rayo_->surface(numfa); }
49 inline double teta_i(int numfa) { return la_cond_lim_rayo_->teta_i(numfa); }
50 inline const Cond_lim_base& la_cl_base() const { return les_cl_base_; }
51 inline Cond_lim_base& la_cl_base() { return les_cl_base_; }
52 inline const IntVect& Table_faces() const { return num_face_Ensemble_; }
53 inline int nb_faces_bord() const { return nb_faces_bord_; }
54
55protected:
57 OBS_PTR(Cond_lim_base) les_cl_base_;
60 DoubleTab positions_;
61};
62
63#endif /* Ensemble_faces_rayo_transp_included */
classe Cond_lim_base Classe de base pour la hierarchie des classes qui representent les differentes c...
void lire(const Nom &, const Nom &, const Domaine &)
const Cond_lim_base & la_cl_base() const
Cond_lim_rayo_milieu_transp & cond_lim_rayo()
OBS_PTR(Cond_lim_base) les_cl_base_
Cond_lim_rayo_milieu_transp * la_cond_lim_rayo_
const Cond_lim_rayo_milieu_transp & cond_lim_rayo() const
class Nom Une chaine de caractere pour nommer les objets de TRUST
Definition Nom.h:31
Objet_U()
Constructeur par defaut : attribue un numero d'identifiant unique a l'objet (object_id_),...
Definition Objet_U.cpp:55