TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Diffu_k.h
1/****************************************************************************
2* Copyright (c) 2015 - 2016, 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 Diffu_k_included
17#define Diffu_k_included
18#include <Diffu_totale_hyd_base.h>
19#include <Eq_couch_lim.h>
20#include <TRUST_Ref.h>
21
23
24
25/*! @brief Classe Diffu_k Calsse derivant de la classe Diffu_totale_hyd__base et specifiant la valeur
26 *
27 * de la diffusivite_totale
28 *
29 *
30 *
31 */
33{
34 Declare_instanciable(Diffu_k);
35
36public :
37
38 double calculer_a_local(int ind) override;
40 {
41 mod_echelle_LRM_base = mod;
42 };
43 double calculer_D_local(int ind) override
44 {
45 return 1.;
46 };
47
48protected:
49 OBS_PTR(Mod_echelle_LRM_base) mod_echelle_LRM_base;
50};
51
52#endif
Classe Diffu_k Calsse derivant de la classe Diffu_totale_hyd__base et specifiant la valeur.
Definition Diffu_k.h:33
void associer_modele_echelles(Mod_echelle_LRM_base &mod)
Definition Diffu_k.h:39
double calculer_D_local(int ind) override
Definition Diffu_k.h:43
double calculer_a_local(int ind) override
Definition Diffu_k.cpp:40
OBS_PTR(Mod_echelle_LRM_base) mod_echelle_LRM_base
Classe Diffu_totale_hyd_base Classe abstraite calculant la diffusivite totale (somme diffusivite.
Classe Mod_echelle_LRM_base.