TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Parametre_implicite.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 Parametre_implicite_included
17#define Parametre_implicite_included
18
19#include <Parametre_equation_base.h>
20#include <Equation_base.h>
21#include <SolveurSys.h>
22#include <Parser_U.h>
23
24/*! @brief class Parametre_implicite A Parametre_implicite object groups together the various
25 *
26 * options specific to piso or simpler
27 *
28 *
29 *
30 */
32{
33 Declare_instanciable(Parametre_implicite);
34public:
36 {
37 return le_solveur_ ;
38 }
39 inline const SolveurSys& solveur() const
40 {
41 return le_solveur_ ;
42 }
43 inline double& seuil_generation_solveur()
44 {
46 }
48 {
50 }
55
57 {
59 }
61 {
63 }
64 inline int& nb_it_max()
65 {
66 return nb_it_max_ ;
67 }
68 inline bool& calcul_explicite()
69 {
70 return calcul_explicite_ ;
71 }
72 inline int equation_frequence_resolue(double t)
73 {
74 equation_frequence_resolue_.setVar("t",t);
75 return (int)equation_frequence_resolue_.eval() ;
76 }
77
83protected:
89 bool calcul_explicite_ = false;
92};
93
94#endif
95
Parametre_equation_base A Parametre_equation_base object groups the various.
class Parametre_implicite A Parametre_implicite object groups together the various
double & seuil_verification_solveur()
int seuil_test_preliminaire_lu() const
void set_seuil_solveur_avec_seuil_convergence_solveur(double)
Allows setting thresholds equivalent to those of version 161: warning for now, error later.
double & seuil_diffusion_implicite()
int equation_frequence_resolue(double t)
const SolveurSys & solveur() const
double & seuil_generation_solveur()
double & seuil_convergence_implicite()
double & seuil_test_preliminaire_solveur()
class Parser_U Version of the Parser class, deriving from Objet_U.
Definition Parser_U.h:32
class SolveurSys A SolveurSys represents any class
Definition SolveurSys.h:32