TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
DecoupeBord.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 DecoupeBord_included
17#define DecoupeBord_included
18
19
20#include <Interprete_geometrique_base.h>
21#include <Domaine.h>
22#include <Domaine_forward.h>
23
24/*! @brief class DecoupeBord Realise un maillage en decoupant chaque pave en 40 tetraedres
25 *
26 * Le maillage obtenu n'a pas de directions preferentielles
27 *
28 * @sa Interprete
29 */
30template <typename _SIZE_>
32{
33 Declare_instanciable_32_64(DecoupeBord_32_64);
34
35public :
36 using int_t = _SIZE_;
37 using ArrOfInt_t = ArrOfInt_T<_SIZE_>;
38 using IntTab_t = IntTab_T<_SIZE_>;
39 using IntVect_t = IntVect_T<_SIZE_>;
40 using DoubleTab_t = DoubleTab_T<_SIZE_>;
41 using ArrsOfInt_t = ArrsOfInt_T<_SIZE_>;
42
50
52 void decouper(Domaine_t& dom, const Nom& nom_file);
53
54};
55
56using DecoupeBord = DecoupeBord_32_64<int>;
57using DecoupeBord_64 = DecoupeBord_32_64<trustIdType>;
58
59#endif
60
Classe Bord Cette classe represente un bord d'un domaine, c'est un type de frontiere.
Definition Bord.h:32
Classe Bords Cette classe represente une liste d'objets de type Bord.
Definition Bords.h:28
class DecoupeBord Realise un maillage en decoupant chaque pave en 40 tetraedres
Definition DecoupeBord.h:32
ArrOfInt_T< _SIZE_ > ArrOfInt_t
Definition DecoupeBord.h:37
ArrsOfInt_T< _SIZE_ > ArrsOfInt_t
Definition DecoupeBord.h:41
Bord_32_64< _SIZE_ > Bord_t
Definition DecoupeBord.h:45
DoubleTab_T< _SIZE_ > DoubleTab_t
Definition DecoupeBord.h:40
Raccords_32_64< _SIZE_ > Raccords_t
Definition DecoupeBord.h:49
Entree & interpreter_(Entree &) override
OWN_PTR(Raccord_base_32_64< _SIZE_ >) Raccord_t
Definition DecoupeBord.h:48
Bords_32_64< _SIZE_ > Bords_t
Definition DecoupeBord.h:46
Frontiere_32_64< _SIZE_ > Frontiere_t
Definition DecoupeBord.h:47
IntTab_T< _SIZE_ > IntTab_t
Definition DecoupeBord.h:38
void decouper(Domaine_t &dom, const Nom &nom_file)
IntVect_T< _SIZE_ > IntVect_t
Definition DecoupeBord.h:39
Domaine_32_64< _SIZE_ > Domaine_t
Definition DecoupeBord.h:43
Faces_32_64< _SIZE_ > Faces_t
Definition DecoupeBord.h:44
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 .
class Nom Une chaine de caractere pour nommer les objets de TRUST
Definition Nom.h:31
Classe Raccord_base Cette classe est simplement une frontiere, c'est la classe de base de la.
Classe Raccords Cette represente une liste d'objets de type Raccord.
Definition Raccords.h:29