TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Cond_lim_rayo_semi_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 Cond_lim_rayo_semi_transp_included
17#define Cond_lim_rayo_semi_transp_included
18
19#include <Neumann_sortie_libre.h>
20#include <Cond_lim_base.h>
21#include <TRUST_Ref.h>
22
24
25/*! @brief Base class for semi-transparent radiation boundary conditions.
26 *
27 * @sa This is not a standalone TRUST class on its own. It is designed to be a base class for a class that also inherits from Objet_U.
28 */
30{
31public:
33
36 {
37 assert(pb_rayo_semi_transp_);
38 return pb_rayo_semi_transp_.valeur();
39 }
41 {
42 assert(pb_rayo_semi_transp_);
43 return pb_rayo_semi_transp_.valeur();
44 }
45
46 inline Champ_front_base& emissivite() { return emissivite_; }
47 inline const Champ_front_base& emissivite() const { return emissivite_; }
48 inline double& A() { return A_; }
49 inline const double& A() const { return A_; }
50
51 virtual void recherche_emissivite_et_A();
52 virtual const Cond_lim_base& la_cl() const =0;
54
55protected:
56 OBS_PTR(Pb_rayo_semi_transp) pb_rayo_semi_transp_;
58 double A_ = -123.;
59};
60
61#endif /* Cond_lim_rayo_semi_transp_included */
class Champ_front_base Base class for the hierarchy of boundary fields.
class Cond_lim_base Base class for the hierarchy of classes that represent the different boundary con...
Base class for semi-transparent radiation boundary conditions.
OWN_PTR(Champ_front_base) emissivite_
const Pb_rayo_semi_transp & pb_rayo_semi_transp() const
virtual void associer_pb_rayo_semi_transp(const Pb_rayo_semi_transp &)
virtual const Cond_lim_base & la_cl() const =0
const Champ_front_base & emissivite() const
Pb_rayo_semi_transp & pb_rayo_semi_transp()
OBS_PTR(Pb_rayo_semi_transp) pb_rayo_semi_transp_
Semi-transparent radiation problem. Pb_rayo_semi_transp is a Probleme_base with 4 specific features: