TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Remaillage_FT_IJK.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 Remaillage_FT_IJK_included
17#define Remaillage_FT_IJK_included
18
19#include <Remaillage_FT.h>
20#include <Maillage_FT_IJK.h>
21#include <vector>
22#include <iostream>
23/*! @brief : class Remaillage_FT_IJK
24 *
25 * <Description of class Remaillage_FT_IJK>
26 *
27 *
28 * Pour initialiser la classe il faut:
29 * - appeler le readOn pour lire les parametres (optionnels)
30 * - appeler associer_domaine()
31 *
32 */
34
36{
37
38 Declare_instanciable(Remaillage_FT_IJK);
39
40public :
41 Vecteur3 get_delta_euler(const Maillage_FT_IJK& maillage) const;
43 ArrOfDouble& var_volume);
44 void barycentrer_lisser_apres_remaillage(Maillage_FT_IJK& maillage, ArrOfDouble& var_volume);
45
46 void remaillage_local_interface(double temps, Maillage_FT_IJK& maillage);
47
48 const double& get_facteur_longueur_ideale() const { return facteur_longueur_ideale_; };
49protected :
50// N'oublie pas de mettre a jour le tableau compo_connexe_facettes
51 int diviser_grandes_aretes(Maillage_FT_IJK& maillage) const;
53 ArrOfDouble& varVolume) const;
54 double calculer_longueurIdeale2_arete(const Maillage_FT_Disc& maillage, int som0, double x, double y, double z) const override;
55};
56
57#endif /* Remaillage_FT_IJK_included */
: class Maillage_FT_Disc Cette classe decrit un maillage:
: class Maillage_FT_IJK
void remaillage_local_interface(double temps, Maillage_FT_IJK &maillage)
int supprimer_petites_aretes(Maillage_FT_IJK &maillage, ArrOfDouble &varVolume) const
Vecteur3 get_delta_euler(const Maillage_FT_IJK &maillage) const
int diviser_grandes_aretes(Maillage_FT_IJK &maillage) const
void barycentrer_lisser_apres_remaillage(Maillage_FT_IJK &maillage, ArrOfDouble &var_volume)
void barycentrer_lisser_systematique_ijk(Maillage_FT_IJK &maillage, ArrOfDouble &var_volume)
double calculer_longueurIdeale2_arete(const Maillage_FT_Disc &maillage, int som0, double x, double y, double z) const override
Cette fonction calcule le carre de la longueur ideale d'une arete Dans un premier,...
const double & get_facteur_longueur_ideale() const
double facteur_longueur_ideale_