TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Eval_VDF_Elem.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 Eval_VDF_Elem_included
17#define Eval_VDF_Elem_included
18
19#include <Champ_P0_VDF.h>
20#include <TRUST_Ref.h>
21
23class Champ_base;
24
25/*! @brief class Eval_VDF_Elem Cette classe represente le prototype fonctionnel
26 *
27 * des evaluateurs de flux associes aux equations de
28 * conservation integrees sur les elements
29 *
30 */
32{
33public:
34 // To overload if needed ... see Eval_XXX in leaves files
38
39 template <typename BC_TYPE, typename Type_Double>
40 inline void coeffs_face_bloc_vitesse(const DoubleTab&, const DoubleTab&, int , const BC_TYPE&, int , Type_Double& ) const { /* Do nothing */ }
41
42 template <typename Type_Double> inline void coeffs_face_bloc_vitesse(const DoubleTab&, const DoubleTab&, int , int, int, const Echange_externe_impose&, int , Type_Double& ) const { /* Do nothing */ }
43 template <typename Type_Double> inline void coeffs_faces_interne_bloc_vitesse(const DoubleTab&, int , Type_Double& ) const { /* Do nothing */ }
44 inline void associer_inconnue(const Champ_base& );
45
46protected:
48};
49
51{
52 assert(sub_type(Champ_P0_VDF,inco));
53 inconnue=inco;
54}
55
56#endif /* Eval_VDF_Elem_included */
classe Champ_P0_VDF Classe qui represente un champ discret P0 par element associe a un domaine discre...
classe Champ_base Cette classe est la base de la hierarchie des champs.
Definition Champ_base.h:43
Classe Echange_externe_impose: Cette classe represente le cas particulier de la classe.
class Eval_VDF_Elem Cette classe represente le prototype fonctionnel
OBS_PTR(Champ_base) inconnue
static constexpr bool CALC_FLUX_FACES_PAR_FIXE
static constexpr bool CALC_FLUX_FACES_SORTIE_LIB
static constexpr bool CALC_FLUX_FACES_SCAL_IMPOSEE
void coeffs_faces_interne_bloc_vitesse(const DoubleTab &, int, Type_Double &) const
void coeffs_face_bloc_vitesse(const DoubleTab &, const DoubleTab &, int, const BC_TYPE &, int, Type_Double &) const
static constexpr bool CALC_FLUX_FACES_PERIO
static constexpr bool CALC_FLUX_FACES_ENTREE_FL
void associer_inconnue(const Champ_base &)
static constexpr bool CALC_FLUX_FACES_SYMM
static constexpr bool CALC_FLUX_FACES_ECH_EXT_IMP
static constexpr bool CALC_FLUX_FACES_PAR_DEFIL
void coeffs_face_bloc_vitesse(const DoubleTab &, const DoubleTab &, int, int, int, const Echange_externe_impose &, int, Type_Double &) const
static constexpr bool CALC_FLUX_FACES_ECH_GLOB_IMP
static constexpr bool CALC_FLUX_FACES_PAR_ADIAB
static constexpr bool CALC_FLUX_FACES_PAR