TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Cond_lim_utilisateur_base.h
1/****************************************************************************
2* Copyright (c) 2024, 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_utilisateur_base_included
17#define Cond_lim_utilisateur_base_included
18
19#include <Cond_lim_base.h>
20#include <Motcle.h>
21
22class Cond_lim;
23
24/*! @brief classe Cond_lim_utilisateur_base: Les classes heritant de cette classe sont des classes utilisaturs
25 *
26 * elles vont transformer le jdd
27 * la cl_utilisateur est typee est passe dans la methode complement(ajout)
28 * Dans le jdd on aviat bord cl_util champ....
29 * tout se passe comme si on n avait pas cl_util mais ajout champ...
30 *
31 */
33{
34 Declare_base(Cond_lim_utilisateur_base);
35public:
36 void lire(Entree&,Equation_base&,const Nom& nom_bord);
37 virtual void complement(Nom&);
38
39 inline int compatible_avec_eqn(const Equation_base&) const override
40 {
41 Cerr<<"we should not be here"<<(int)__LINE__<<__FILE__ <<finl;
43 return 0;
44 }
45
46 Cond_lim& la_cl();
47 int is_pb_rayo();
48
49 virtual void ecrire(const Nom&);
50protected :
51 Cond_lim* la_cl_ = nullptr;
52 OBS_PTR(Equation_base) mon_equation;
54};
55
56#endif /* Cond_lim_utilisateur_base_included */
classe Cond_lim_base Classe de base pour la hierarchie des classes qui representent les differentes c...
classe Cond_lim_utilisateur_base: Les classes heritant de cette classe sont des classes utilisaturs
OBS_PTR(Equation_base) mon_equation
void lire(Entree &, Equation_base &, const Nom &nom_bord)
int is_pb_rayo()
renvoit 0 si le pb n'est pas rayonnant 1 si il est semi_transp
int compatible_avec_eqn(const Equation_base &) const override
classe Cond_lim Classe generique servant a representer n'importe quelle classe
Definition Cond_lim.h:31
classe Equation_base Le role d'une equation est le calcul d'un ou plusieurs champs....
class Nom Une chaine de caractere pour nommer les objets de TRUST
Definition Nom.h:31
friend class Entree
Definition Objet_U.h:76
static void exit(int exit_code=-1)
Routine de sortie de TRUST dans une region Kokkos.
Definition Process.cpp:455