TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Op_EF_base.h
1/****************************************************************************
2* Copyright (c) 2022, 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 Op_EF_base_included
17#define Op_EF_base_included
18
19#include <TRUSTTabs_forward.h>
20#include <Matrice_Morse.h>
21#include <SFichier.h>
22
23//class Matrice_Morse;
24class Domaine_EF;
25class Domaine_Cl_EF;
26class Equation_base;
27class Sortie;
28class Operateur_base;
29
31{
32public :
33 void dimensionner(const Domaine_EF&, const Domaine_Cl_EF&, Matrice_Morse&) const;
34 void modifier_pour_Cl(const Domaine_EF&, const Domaine_Cl_EF&, Matrice_Morse&, DoubleTab&)const ;
35 void modifier_flux(const Operateur_base&) const;
36 int impr(Sortie&, const Operateur_base&) const;
37 int elem_contribue(const int elem) const;
38 void marque_elem( const Equation_base& eqn);
39protected:
41private:
42 mutable int controle_modifier_flux_;
43 ArrOfInt marqueur_elem_;
44 mutable SFichier Flux, Flux_moment, Flux_sum; // Fichiers .out
45};
46
47#endif
48
49
50
class Domaine_EF
Definition Domaine_EF.h:59
classe Equation_base Le role d'une equation est le calcul d'un ou plusieurs champs....
Classe Matrice_Morse Represente une matrice M (creuse), non necessairement carree.
void dimensionner(const Domaine_EF &, const Domaine_Cl_EF &, Matrice_Morse &) const
Dimensionnement de la matrice qui devra recevoir les coefficients provenant de la convection,...
void marque_elem(const Equation_base &eqn)
Matrice_Morse matrice_sto_
Definition Op_EF_base.h:40
int impr(Sortie &, const Operateur_base &) const
Impression des flux d'un operateur EF aux faces (ie: diffusion, convection).
int elem_contribue(const int elem) const
void modifier_pour_Cl(const Domaine_EF &, const Domaine_Cl_EF &, Matrice_Morse &, DoubleTab &) const
Modification des coef de la matrice et du second membre pour les conditions de Dirichlet.
void modifier_flux(const Operateur_base &) const
multiplie le flux bordpar rho cp ou rho si necessaire
classe Operateur_base Classe est la base de la hierarchie des objets representant un
Cette classe est a la classe C++ ofstream ce que la classe Sortie est a la classe C++ ostream Elle re...
Definition SFichier.h:27
Classe de base des flux de sortie.
Definition Sortie.h:52