16#include <Discretisation_base.h>
17#include <Paroi_contact_rayo.h>
18#include <Probleme_base.h>
19#include <Equation_base.h>
43 return s <<
que_suis_je() <<
" " << nom_autre_pb <<
" " << nom_autre_bord <<
" " << type_rayo;
52 if (type_rayo !=
"TRANSP" && type_rayo !=
"SEMI_TRANSP")
54 Cerr <<
"type_rayo should be TRANSP or SEMI_TRANSP and not " << type_rayo << finl;
66 if (type_rayo ==
"TRANSP") rayo = 2;
67 else if (type_rayo ==
"SEMI_TRANSP") rayo = 1;
71 const Nom& nom_mon_pb = mon_equation->probleme().
le_nom();
72 if (nom_mon_pb == nom_autre_pb)
74 Cerr <<
"Error in " <<
que_suis_je() <<
" the name of the other problem is the same as my problem :" << nom_mon_pb <<
" on the boundary :" <<
nom_bord_ << finl;
78 if (mon_equation->discretisation().is_vdf() || mon_equation->discretisation().is_poly_family())
80 if (mon_equation->discretisation().is_vdf())
82 if (rayo == 2) ajout =
"Echange_contact_rayo_transp_VDF ";
83 if (rayo == 1) ajout =
"Paroi_Echange_contact_rayo_semi_transp_VDF ";
85 else ajout = mon_equation->discretisation().is_PolyMAC_HFV() ?
"paroi_echange_contact_PolyMAC_HFV " :
86 mon_equation->discretisation().is_PolyMAC_MPFA() ?
"paroi_echange_contact_PolyMAC_MPFA " :
"paroi_echange_contact_PolyMAC_CDO ";
88 ajout += nom_autre_pb;
90 ajout += nom_autre_bord +
" ";
91 ajout += mon_equation->inconnue().
le_nom() +
" 1.e10";
97 ajout =
"paroi_temperature_imposee_rayo_semi_transp ";
98 ajout +=
"Champ_Front_contact_rayo_semi_transp_VEF ";
102 ajout =
"paroi_temperature_imposee_rayo_transp ";
103 ajout +=
"Champ_Front_contact_rayo_transp_VEF ";
109 ajout += nom_autre_pb;
111 ajout += nom_autre_bord;
classe Cond_lim_utilisateur_base: Les classes heritant de cette classe sont des classes utilisaturs
int is_pb_rayo()
renvoit 0 si le pb n'est pas rayonnant 1 si il est semi_transp
Class defining operators and methods for all reading operation in an input flow (file,...
class Nom Une chaine de caractere pour nommer les objets de TRUST
const Nom & le_nom() const override
Renvoie *this;.
const Nom & que_suis_je() const
renvoie la chaine identifiant la classe.
virtual Entree & readOn(Entree &)
Lecture d'un Objet_U sur un flot d'entree Methode a surcharger.
virtual Sortie & printOn(Sortie &) const
Ecriture de l'objet sur un flot de sortie Methode a surcharger.
static void exit(int exit_code=-1)
Routine de sortie de TRUST dans une region Kokkos.
Classe de base des flux de sortie.