TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Equation_IBM_proto.h
1/****************************************************************************
2* Copyright (c) 2026, 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 Equation_IBM_proto_included
17#define Equation_IBM_proto_included
18
19#include <TRUST_Ref.h>
20#include <TRUSTTab.h>
21
22class Equation_base;
23class Matrice_Morse;
24class Entree;
25class Param;
26
28{
29public:
30 void assembler_ibm_proto( Matrice_Morse& mat_morse, const DoubleTab& present, DoubleTab& secmem) ;
31 void set_param_ibm_proto(Param& param) const;
33 bool initTimeStep_ibm_proto(double ddt);
34 DoubleTab& derivee_en_temps_inco_ibm_proto(DoubleTab& );
36 void modify_initial_variable_ibm_proto( DoubleTab& );
37
39 inline int get_i_source_pdf() const { return i_source_pdf_; }
40 inline const DoubleTab& get_champ_coeff_pdf_som() const { return champ_coeff_pdf_som_; }
41 inline void set_champ_coeff_pdf_som(DoubleTab& coeff) { champ_coeff_pdf_som_ = coeff; }
42 inline bool is_IBM() { return (i_source_pdf_ != -1) ? true : false ;} // utile pour eq temperature ... a retirer plus tard !
43
44protected:
48};
49
50#endif /* Equation_IBM_proto_included */
Class defining operators and methods for all reading operation in an input flow (file,...
Definition Entree.h:42
bool initTimeStep_ibm_proto(double ddt)
void modify_initial_variable_ibm_proto(DoubleTab &)
Entree & readOn_ibm_proto(Entree &is, Equation_base &eq)
void assembler_ibm_proto(Matrice_Morse &mat_morse, const DoubleTab &present, DoubleTab &secmem)
int get_correction_variable_initiale() const
void set_champ_coeff_pdf_som(DoubleTab &coeff)
void set_param_ibm_proto(Param &param) const
OBS_PTR(Equation_base) eq_IBM_
DoubleTab & derivee_en_temps_inco_ibm_proto(DoubleTab &)
const DoubleTab & get_champ_coeff_pdf_som() const
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.
Helper class to factorize the readOn method of Objet_U classes.
Definition Param.h:112