TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Bord.cpp
1/****************************************************************************
2* Copyright (c) 2026, 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#include <Bord.h>
17
18Implemente_instanciable_32_64(Bord_32_64,"Bord",Frontiere_32_64<_T_>);
19
20// XD defbord objet_lecture nul NO_BRACE Class to define an edge.
21
22// XD defbord_2 defbord nul INHERITS_BRACE 1-D edge (straight line) in the 2-D space.
23// XD attr dir chaine(into=["X","Y"]) dir REQ Edge is perpendicular to this direction.
24// XD attr eq chaine(into=["="]) eq REQ Equality sign.
25// XD attr pos floattant pos REQ Position value.
26// XD attr pos2_min floattant pos2_min REQ Minimal value.
27// XD attr inf1 chaine(into=["<="]) inf1 REQ Less than or equal to sign.
28// XD attr dir2 chaine(into=["X","Y"]) dir2 REQ Edge is parallel to this direction.
29// XD attr inf2 chaine(into=["<="]) inf2 REQ Less than or equal to sign.
30// XD attr pos2_max floattant pos2_max REQ Maximal value.
31
32// XD defbord_3 defbord nul INHERITS_BRACE 2-D edge (plane) in the 3-D space.
33// XD attr dir chaine(into=["X","Y","Z"]) dir REQ Edge is perpendicular to this direction.
34// XD attr eq chaine(into=["="]) eq REQ Equality sign.
35// XD attr pos floattant pos REQ Position value.
36// XD attr pos2_min floattant pos2_min REQ Minimal value.
37// XD attr inf1 chaine(into=["<="]) inf1 REQ Less than or equal to sign.
38// XD attr dir2 chaine(into=["X","Y"]) dir2 REQ Edge is parallel to this direction.
39// XD attr inf2 chaine(into=["<="]) inf2 REQ Less than or equal to sign.
40// XD attr pos2_max floattant pos2_max REQ Maximal value.
41// XD attr pos3_min floattant pos3_min REQ Minimal value.
42// XD attr inf3 chaine(into=["<="]) inf3 REQ Less than or equal to sign.
43// XD attr dir3 chaine(into=["Y","Z"]) dir3 REQ Edge is parallel to this direction.
44// XD attr inf4 chaine(into=["<="]) inf4 REQ Less than or equal to sign.
45// XD attr pos3_max floattant pos3_max REQ Maximal value.
46
47// XD bord bord_base bord NO_BRACE The block side is not in contact with another block and boundary conditions are
48// XD_CONT applied to it.
49// XD attr nom chaine nom REQ Name of block side.
50// XD attr defbord defbord defbord REQ Definition of block side.
51
52/*! @brief Simple call to: Frontiere::printOn(Sortie&)
53 *
54 * @param (Sortie& s) an output stream
55 * @return (Sortie&) the modified output stream
56 */
57template <typename _SIZE_>
59{
61}
62
63/*! @brief Simple call to: Frontiere::readOn(Entree&)
64 *
65 * @param (Entree& s) an input stream
66 * @return (Entree&) the modified input stream
67 */
68template <typename _SIZE_>
70{
72}
73
74
75template class Bord_32_64<int>;
76#if INT_is_64_ == 2
77template class Bord_32_64<trustIdType>;
78#endif
Class Bord This class represents a boundary of a domain, it is a type of frontier.
Definition Bord.h:31
Class defining operators and methods for all reading operation in an input flow (file,...
Definition Entree.h:42
Class Frontiere.
Definition Frontiere.h:32
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
Definition Objet_U.cpp:289
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
Definition Objet_U.cpp:278
Base class for output streams.
Definition Sortie.h:52