TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Champ_Elem_PolyMAC_HFV.h
1/****************************************************************************
2* Copyright (c) 2025, 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_Elem_PolyMAC_HFV_included
17#define Champ_Elem_PolyMAC_HFV_included
18
19#include <Op_Diff_PolyMAC_HFV_base.h>
20#include <Domaine_PolyMAC_HFV.h>
21#include <Champ_Elem_PolyMAC_CDO.h>
22#include <Operateur.h>
23
24/*! @brief : class Champ_Elem_PolyMAC_HFV
25 *
26 * Champ correspondant a une inconnue scalaire (type temperature ou pression)
27 * Degres de libertes : valeur aux elements + flux aux faces
28 */
30{
31 Declare_instanciable(Champ_Elem_PolyMAC_HFV);
32public :
33 Champ_base& affecter_(const Champ_base& ch) override;
34
35 int fixer_nb_valeurs_nodales(int n) override; //valeurs aux elements
36
38 int nb_valeurs_nodales() const override;
39 virtual void init_auxiliary_variables(); //pour demander en plus les inconnues auxiliaires (valeurs aux faces)
40 int reprendre(Entree& fich) override;
41};
42
43#endif /* Champ_Elem_PolyMAC_HFV_included */
: class Champ_Elem_PolyMAC_HFV
int reprendre(Entree &fich) override
Reprise d'un Objet_U sur un flot d'entree Methode a surcharger.
int fixer_nb_valeurs_nodales(int n) override
int nb_valeurs_nodales() const override
const Domaine_PolyMAC_HFV & domaine_PolyMAC_HFV() const
Champ_base & affecter_(const Champ_base &ch) override
classe Champ_base Cette classe est la base de la hierarchie des champs.
Definition Champ_base.h:43
Class defining operators and methods for all reading operation in an input flow (file,...
Definition Entree.h:42