TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Mailler.h
1/****************************************************************************
2* Copyright (c) 2025, 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 Mailler_included
17#define Mailler_included
18
19#include <Interprete_geometrique_base.h>
20
21/*! @brief Classe Mailler Un mailleur par agglomeration de domaines (paves en 2D et blocks en 3D)
22 *
23 * Structure du jeu de donnee (en dimension 2) :
24 * Mailler dom
25 * {
26 * [Epsilon eps]
27 * Pave nompave1
28 * {
29 * Origine OX OY
30 * Longueurs LX LY
31 * Nombre_de_Noeuds NX NY
32 * }
33 * {
34 * Bord nom_bord1 X = X0 Y0 <= Y <= Y1
35 * Bord nom_bord2 X = X0 Y1 <= Y <= Y2
36 * Bord nom_bord2 Y = Y0 X1 <= X <= X2
37 * ...
38 * } ,
39 * Pave nompave2 ...
40 * }
41 * Deux points seront confondus des que la distance entre eux est
42 * inferieure a Epsilon.
43 *
44 * @sa Interprete Pave, Actuellement le seul tyep d'objet reconnu par TRUST pour mailler, un domaine est l'objet Pave
45 */
46template <typename _SIZE_>
48{
49 Declare_instanciable_32_64(Mailler_32_64);
50public :
52
53 Entree& interpreter_(Entree&) override;
54};
55#endif
classe Domaine_32_64 un Domaine est un maillage compose d'un ensemble d'elements geometriques de meme...
Definition Domaine.h:62
classe Interprete_geometrique_base .
Classe Mailler Un mailleur par agglomeration de domaines (paves en 2D et blocks en 3D).
Definition Mailler.h:48
Domaine_32_64< _SIZE_ > Domaine_t
Definition Mailler.h:51
Entree & interpreter_(Entree &) override
Fonction principale de l'interprete Mailler Structure du jeu de donnee (en dimension 2) :
Definition Mailler.cpp:74
friend class Entree
Definition Objet_U.h:76