Documentation 6b54b78464
Loading...
Searching...
No Matches
CSU2BinaryMeshReaderFEM.hpp
Go to the documentation of this file.
1/*!
2 * \file CSU2BinaryMeshReaderFEM.hpp
3 * \brief Header file for the class CSU2BinaryMeshReaderFEM.
4 * The implementations are in the <i>CSU2BinaryMeshReaderFEM.cpp</i> file.
5 * \author T. Economon, E. van der Weide
6 * \version 8.5.0 "Harrier"
7 *
8 * SU2 Project Website: https://su2code.github.io
9 *
10 * The SU2 Project is maintained by the SU2 Foundation
11 * (http://su2foundation.org)
12 *
13 * Copyright 2012-2026, SU2 Contributors (cf. AUTHORS.md)
14 *
15 * SU2 is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU Lesser General Public
17 * License as published by the Free Software Foundation; either
18 * version 2.1 of the License, or (at your option) any later version.
19 *
20 * SU2 is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Lesser General Public License for more details.
24 *
25 * You should have received a copy of the GNU Lesser General Public
26 * License along with SU2. If not, see <http://www.gnu.org/licenses/>.
27 */
28
29#pragma once
30
32
33/*!
34 * \class CSU2BinaryMeshReaderFEM
35 * \brief Reads a native SU2 binary grid into linear partitions for the finite element solver (FEM).
36 * \author T. Economon, E. van der Weide
37 */
39 private:
40 /*!
41 * \brief Reads the grid points from an SU2 zone into linear partitions across all ranks.
42 */
43 void ReadPointCoordinates();
44
45 /*!
46 * \brief Reads the interior volume elements from one section of an SU2 zone into linear partitions across all ranks.
47 */
48 void ReadVolumeElementConnectivity();
49
50 /*!
51 * \brief Reads the surface (boundary) elements from one section of an SU2 zone into linear partitions across all
52 * ranks.
53 */
54 void ReadSurfaceElementConnectivity();
55
56 public:
57 /*!
58 * \brief Constructor of the CSU2BinaryMeshReaderFEM class.
59 */
60 CSU2BinaryMeshReaderFEM(CConfig* val_config, unsigned short val_iZone, unsigned short val_nZone);
61
62 /*!
63 * \brief Destructor of the CSU2BinaryMeshReaderFEM class.
64 */
66};
Header file for the class CSU2BinaryMeshReaderBase. The implementations are in the CSU2BinaryMeshRead...
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Base class for the reading of a native SU2 binary grid.
Definition CSU2BinaryMeshReaderBase.hpp:39
Reads a native SU2 binary grid into linear partitions for the finite element solver (FEM).
Definition CSU2BinaryMeshReaderFEM.hpp:38
~CSU2BinaryMeshReaderFEM(void) override
Destructor of the CSU2BinaryMeshReaderFEM class.