TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Critere_Q_Champ_Face.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 Critere_Q_Champ_Face_included
17#define Critere_Q_Champ_Face_included
18
19#include <Domaine_Cl_dis_base.h>
20#include <Champ_Fonc_P0_VDF.h>
21#include <Champ_Critere_Q.h>
22#include <TRUST_Ref.h>
23
24class Domaine_Cl_VDF;
25class Champ_Face_VDF;
26
27/*! @brief classe Critere_Q_Champ_Face
28 *
29 * @sa Champ_Critere_Q Champ_Fonc_P0_VDF
30 */
32{
33 Declare_instanciable(Critere_Q_Champ_Face);
34public:
35 void mettre_a_jour(double) override;
36 void associer_champ(const Champ_Face_VDF&);
37 void me_calculer(double) override;
38
40
41 inline const Champ_Face_VDF& mon_champ() const { return mon_champ_.valeur(); }
42 inline void associer_domaine_Cl_dis_base(const Domaine_Cl_dis_base& le_dom_Cl_dis_base)
43 {
44 le_dom_Cl_VDF = (const Domaine_Cl_VDF&) le_dom_Cl_dis_base;
45 }
46
47protected:
49 OBS_PTR(Domaine_Cl_VDF) le_dom_Cl_VDF;
50};
51
52#endif /* Critere_Q_Champ_Face_included */
classe Champ_Critere_Q Permet de visualiser les tourbillons sans etre polluer par les gradients
class Champ_Face_VDF Cette classe sert a representer un champ vectoriel dont on ne calcule
classe Champ_Fonc_P0_VDF
classe Critere_Q_Champ_Face
void mettre_a_jour(double) override
Mise a jour en temps du champ.
const Domaine_Cl_dis_base & domaine_Cl_dis_base() const
const Champ_Face_VDF & mon_champ() const
void associer_domaine_Cl_dis_base(const Domaine_Cl_dis_base &le_dom_Cl_dis_base)
void associer_champ(const Champ_Face_VDF &)
OBS_PTR(Domaine_Cl_VDF) le_dom_Cl_VDF
OBS_PTR(Champ_Face_VDF) mon_champ_
void me_calculer(double) override
class Domaine_Cl_VDF
classe Domaine_Cl_dis_base Les objets Domaine_Cl_dis_base representent les conditions aux limites