TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Op_Diff_K_Omega_VEF_Face.h
1/****************************************************************************
2* Copyright (c) 2023, 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/*! @brief class Op_Diff_K_Omega_VEF_Face Cette classe represente l'operateur de diffusion turbulente
16 *
17 * La discretisation est VEF
18 * Les methodes pour l'implicite sont codees.
19 *
20 */
21#ifndef Op_Diff_K_Omega_VEF_Face_included
22#define Op_Diff_K_Omega_VEF_Face_included
23
24#include <Op_Dift_VEF_Face_Gen.h>
25#include <Op_Diff_K_Omega_VEF_base.h>
26
27
28class Domaine_Cl_VEF;
29class Champ_P1NC;
30class Champ_Don_base;
31
32//////////////////////////////////////////////////////////////////////////////
33//
34// CLASS: Op_Diff_K_Omega_VEF_Face
35//
36//////////////////////////////////////////////////////////////////////////////
37
38class Op_Diff_K_Omega_VEF_Face : public Op_Diff_K_Omega_VEF_base, public Op_Dift_VEF_Face_Gen<Op_Diff_K_Omega_VEF_Face>
39{
40
41 Declare_instanciable(Op_Diff_K_Omega_VEF_Face);
42
43public:
44
45 DoubleTab& ajouter(const DoubleTab&, DoubleTab&) const override; // pour l'explicite
46
47 void contribuer_a_avec(const DoubleTab&, Matrice_Morse&) const override; // pour l'implicite
48
49 void modifier_pour_Cl(Matrice_Morse& matrice, DoubleTab& secmem) const override;
50
51private:
52 void compute(DoubleTab&) const;
53};
54
55#endif
classe Champ_Don_base classe de base des Champs donnes (non calcules)
Classe Matrice_Morse Represente une matrice M (creuse), non necessairement carree.
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
DOES NOTHING - to override in derived classes.
void modifier_pour_Cl(Matrice_Morse &matrice, DoubleTab &secmem) const override
On modifie le second membre et la matrice dans le cas des conditions de dirichlet.
DoubleTab & ajouter(const DoubleTab &, DoubleTab &) const override
Op_Diff_K_Omega_VEF_base(double Sigma_K=SIGMA_K, double Sigma_Omega=SIGMA_OMEGA, double Sigma_K1=SIGMA_K1, double Sigma_K2=SIGMA_K2, double Sigma_OMEGA1=SIGMA_OMEGA1, double Sigma_OMEGA2=SIGMA_OMEGA2)