TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
NettoieNoeuds.h
1/****************************************************************************
2* Copyright (c) 2024, 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 NettoieNoeuds_included
17#define NettoieNoeuds_included
18
19#include <Interprete_geometrique_base.h>
20#include <Domaine_forward.h>
21
22/*! @brief Classe NettoieNoeuds x->alpha x
23 *
24 * @sa Interprete Pave
25 */
26template <typename _SIZE_>
28{
29
30 Declare_instanciable_32_64(NettoieNoeuds_32_64);
31
32public :
33 using int_t = _SIZE_;
34 using ArrOfInt_t = ArrOfInt_T<_SIZE_>;
35 using IntTab_t = IntTab_T<_SIZE_>;
36 using DoubleTab_t = DoubleTab_T<_SIZE_>;
37
41
43 static void nettoie(Domaine_t&);
44 static void verifie_noeuds(const Domaine_t&);
45 static int NettoiePasNoeuds;
46};
47
48using NettoieNoeuds = NettoieNoeuds_32_64<int>;
49using NettoieNoeuds_64 = NettoieNoeuds_32_64<trustIdType>;
50
51
52#endif
53
classe Domaine_32_64 un Domaine est un maillage compose d'un ensemble d'elements geometriques de meme...
Definition Domaine.h:62
Class defining operators and methods for all reading operation in an input flow (file,...
Definition Entree.h:42
Classe Faces Faces decrit un ensemble de faces par leur type (point ,segment, triangle ou quadrangle)...
Definition Faces.h:50
Classe Frontiere.
Definition Frontiere.h:32
classe Interprete_geometrique_base .
Classe NettoieNoeuds x->alpha x.
Domaine_32_64< _SIZE_ > Domaine_t
ArrOfInt_T< _SIZE_ > ArrOfInt_t
static void nettoie(Domaine_t &)
Entree & interpreter_(Entree &) override
Fonction principale de l'interprete NettoieNoeuds_32_64 Structure du jeu de donnee (en dimension 2) :
IntTab_T< _SIZE_ > IntTab_t
Faces_32_64< _SIZE_ > Faces_t
Frontiere_32_64< _SIZE_ > Frontiere_t
DoubleTab_T< _SIZE_ > DoubleTab_t
static void verifie_noeuds(const Domaine_t &)
regarde si on n'a pas des noeuds doubles