TrioCFD 1.9.9_beta
TrioCFD documentation
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 Class Mailler A mesher by agglomeration of domains (paves in 2D and blocks in 3D).
22 *
23 * Data set structure (in 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 * Two points will be merged as soon as the distance between them is
42 * less than Epsilon.
43 *
44 * @sa Interprete Pave, Currently the only object type recognized by TRUST for meshing a domain is Pave
45 */
46template <typename _SIZE_>
48{
49 Declare_instanciable_32_64(Mailler_32_64);
50public :
52
53 Entree& interpreter_(Entree&) override;
54};
55#endif
class Domaine_32_64 A Domain is a mesh composed of a set of geometric elements of the same type.
Definition Domaine.h:62
Class Interprete_geometrique_base.
Class Mailler A mesher by agglomeration of domains (paves in 2D and blocks in 3D).
Definition Mailler.h:48
Domaine_32_64< _SIZE_ > Domaine_t
Definition Mailler.h:51
Entree & interpreter_(Entree &) override
Main function of the Mailler interpreter Data set structure (in dimension 2):
Definition Mailler.cpp:74
friend class Entree
Definition Objet_U.h:71