TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Champ_front_contact_rayo_semi_transp_VEF.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 Champ_front_contact_rayo_semi_transp_VEF_included
17#define Champ_front_contact_rayo_semi_transp_VEF_included
18
19#include <Champ_front_contact_VEF.h>
20#include <TRUST_Ref.h>
21
23
25{
26 Declare_instanciable(Champ_front_contact_rayo_semi_transp_VEF);
27
28public :
29 int initialiser(double temps, const Champ_Inc_base& inco) override;
30 void calculer_temperature_bord(double temps);
31 Champ_front_base& affecter_(const Champ_front_base& ch) override ;
32 void mettre_a_jour(double temps) override;
34 void calcul_grads_locaux(double temps) override;
35 void modifie_gradients_pour_rayonnement(DoubleVect& gradient_num_transf, DoubleVect& gradient_num_transf_autre_pb);
36
37 inline Champ_Inc_base& inconnue1() { return l_inconnue1.valeur(); }
38 inline const Champ_Inc_base& inconnue1() const { return l_inconnue1.valeur(); }
39 inline Champ_Inc_base& inconnue2() { return l_inconnue2.valeur(); }
40 inline const Champ_Inc_base& inconnue2() const { return l_inconnue2.valeur(); }
41 inline const Pb_rayo_semi_transp& pb_rayo_semi_transp() const { return pb_rayo_semi_transp_.valeur(); }
42 inline Nom& nom_prob1() { return nom_pb1; }
43 inline const Nom& nom_prob1() const { return nom_pb1; }
44 inline Nom& nom_prob2() { return nom_pb2; }
45 inline const Nom& nom_prob2() const { return nom_pb2; }
46
48 {
49 pb_rayo_semi_transp_ = pb;
50 }
51
52protected :
53 DoubleVect flux_radiatif_;
54 OBS_PTR(Pb_rayo_semi_transp) pb_rayo_semi_transp_;
55};
56
57#endif /* Champ_front_contact_rayo_semi_transp_VEF_included */
Classe Champ_Inc_base.
classe Champ_front_base Classe de base pour la hierarchie des champs aux frontieres.
classe Champ_front_contact_VEF Permet le couplage scalaire (temperature ou concentration) entre probl...
int initialiser(double temps, const Champ_Inc_base &inco) override
Initialisation en debut de calcul.
void mettre_a_jour(double temps) override
NE FAIT RIEN, a surcharger.
Champ_front_base & affecter_(const Champ_front_base &ch) override
OBS_PTR(Pb_rayo_semi_transp) pb_rayo_semi_transp_
void modifie_gradients_pour_rayonnement(DoubleVect &gradient_num_transf, DoubleVect &gradient_num_transf_autre_pb)
class Nom Une chaine de caractere pour nommer les objets de TRUST
Definition Nom.h:31
Le Pb_rayo_semi_transp est un Probleme_base qui a 4 particularites : * Son equation doit etre typee e...