TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Remove_elem.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
16#ifndef Remove_elem_included
17#define Remove_elem_included
18
19/*! @brief class Remove_elem Enleve du maillage les elements specifies par l'utilisateur dans le jeu de donnees
20 *
21 *
22 *
23 * @sa Interprete
24 */
25
26#include <Interprete_geometrique_base.h>
27#include <TRUSTList.h>
28#include <Parser_U.h>
29#include <Domaine.h>
30
31#include <Domaine_forward.h>
32
33class Remove_elem : public Interprete_geometrique_base
34{
35 Declare_instanciable(Remove_elem);
36
37public :
38
39 Entree& interpreter_(Entree&) override;
40 void remove_elem_(Domaine&);
41 void recreer_faces(Domaine& , Faces&, IntTab&) const;
42 void creer_faces(Domaine& , Faces&, IntTab&) const;
43 void remplir_liste(IntTab&, int, int, int, int) const;
44
45protected :
46
47 IntList listelem;
49 int f_ok = -10;
50private :
51 int lire_motcle_non_standard(const Motcle&, Entree&) override;
52};
53
54#endif
55
56
Une chaine de caractere (Nom) en majuscules.
Definition Motcle.h:26
friend class Entree
Definition Objet_U.h:76
classe Parser_U Version de la classe Parser, derivant de Objet_U.
Definition Parser_U.h:32
class Remove_elem Enleve du maillage les elements specifies par l'utilisateur dans le jeu de donnees
Definition Remove_elem.h:34
void recreer_faces(Domaine &, Faces &, IntTab &) const
Entree & interpreter_(Entree &) override
Parser_U f
Definition Remove_elem.h:48
void remove_elem_(Domaine &)
void creer_faces(Domaine &, Faces &, IntTab &) const
IntList listelem
Definition Remove_elem.h:47
void remplir_liste(IntTab &, int, int, int, int) const