TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Operateur_IJK_elem_diff.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#ifndef Operateur_IJK_elem_diff_included
16#define Operateur_IJK_elem_diff_included
17
18#include <TRUST_Deriv.h>
19#include <Operateur_IJK_elem_diff_base.h>
20
21/////////////////////////////////////////////////////////////////////////////
22//
23// .DESCRIPTION : class Operateur_IJK_elem_diff
24//
25// <Description of class Operateur_IJK_elem_diff>
26//
27/////////////////////////////////////////////////////////////////////////////
28
29class Operateur_IJK_elem_diff: public OWN_PTR( Operateur_IJK_elem_diff_base_double )
30{
31
32 Declare_instanciable( Operateur_IJK_elem_diff );
33
34public:
35 inline void initialize(const Domaine_IJK &splitting);
36
37 void reset_operator();
38 void typer_diffusion_op(const char *diffusion_op);
40 int lire_motcle_non_standard(const Motcle &mot, Entree &is) override;
41 void set_param(Param &param) const override;
43
44 void set_conductivity_coefficient(const double &uniform_lambda, const IJK_Field_local_double &lambda, IJK_Field_local_double &coeff_field_x, IJK_Field_local_double &coeff_field_y,
45 IJK_Field_local_double &coeff_field_z);
46
47protected:
55};
56
58{
59 if (!is_cast_)
60 typer_diffusion_op("standard");
61 valeur().initialize(splitting);
62}
63
64#endif /* Operateur_IJK_elem_diff_included */
This class encapsulates all the information related to the eulerian mesh for TrioIJK.
Definition Domaine_IJK.h:47
Class defining operators and methods for all reading operation in an input flow (file,...
Definition Entree.h:42
Une chaine de caractere (Nom) en majuscules.
Definition Motcle.h:26
Un tableau d'objets de la classe Motcle.
Definition Motcle.h:63
class Nom Une chaine de caractere pour nommer les objets de TRUST
Definition Nom.h:31
int lire_motcle_non_standard(const Motcle &mot, Entree &is) override
void typer_diffusion_op(const char *diffusion_op)
void set_param(Param &param) const override
void initialize(const Domaine_IJK &splitting)
void set_conductivity_coefficient(const double &uniform_lambda, const IJK_Field_local_double &lambda, IJK_Field_local_double &coeff_field_x, IJK_Field_local_double &coeff_field_y, IJK_Field_local_double &coeff_field_z)
Helper class to factorize the readOn method of Objet_U classes.
Definition Param.h:112