TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Traitement_particulier_NS_Pression_VEF.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 Traitement_particulier_NS_Pression_VEF_included
17#define Traitement_particulier_NS_Pression_VEF_included
18
19#include <Traitement_particulier_NS_Pression.h>
20#include <Champ_Fonc_P1_isoP1Bulle.h>
21#include <Champ_P1_isoP1Bulle.h>
22#include <Navier_Stokes_std.h>
23#include <Champ_Fonc_P1NC.h>
24#include <TRUST_Ref.h>
25
26class Champ_Inc_base;
27
28/*! @brief classe Traitement_particulier_NS_Pression_VEF Cette classe permet de faire les traitements particuliers
29 *
30 * pour les calculs de la pression
31 *
32 *
33 * @sa Navier_Stokes, Traitement_particulier_base, Traitement_particulier_Pression
34 */
36{
37 Declare_instanciable_sans_constructeur(Traitement_particulier_NS_Pression_VEF);
38
39public :
41 inline int a_pour_Champ_Fonc(const Motcle& mot, OBS_PTR(Champ_base)& ch_ref) const ;
42 inline int comprend_champ(const Motcle& mot) const ;
43 inline void post_traitement_particulier() override ;
44 Entree& lire(Entree& ) override;
45
46protected :
47// Champ_Fonc_P1NC ch_p ; => ca plante sur l'initialisation du module VEF!!!
48// Champ_Fonc_P1B ch_p ; => ca compile pas car classe 'declare base'!
49// Champ_P0_VEF ch_p;
50// Champ_Fonc_P0_VEF ch_p; => ca plante sur l'initialisation du module VEF!!!
52 //Champ_Inc_base ch_p;
53
54private:
55 void post_traitement_particulier_calcul_pression() ;
56
57 int c_pression= 0;
58
59};
60
61#endif
Classe Champ_Inc_base.
classe Champ_base Cette classe est la base de la hierarchie des champs.
Definition Champ_base.h:43
Une chaine de caractere (Nom) en majuscules.
Definition Motcle.h:26
friend class Entree
Definition Objet_U.h:76
int a_pour_Champ_Fonc(const Motcle &mot, OBS_PTR(Champ_base)&ch_ref) const
OBS_PTR(Navier_Stokes_std) mon_equation