Documentation 6b54b78464
Loading...
Searching...
No Matches
COutputFactory.hpp
Go to the documentation of this file.
1/*!
2 * \file COutputFactory.hpp
3 * \brief Headers of the output class.
4 * \author T.Albring
5 * \version 8.5.0 "Harrier"
6 *
7 * SU2 Project Website: https://su2code.github.io
8 *
9 * The SU2 Project is maintained by the SU2 Foundation
10 * (http://su2foundation.org)
11 *
12 * Copyright 2012-2026, SU2 Contributors (cf. AUTHORS.md)
13 *
14 * SU2 is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
18 *
19 * SU2 is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
23 *
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with SU2. If not, see <http://www.gnu.org/licenses/>.
26 */
27
28#include "../../../Common/include/option_structure.hpp"
29
30class COutput;
31class CConfig;
32
34
35public:
36
37 /*!
38 * \brief Deleted constructor to avoid creating instances of this class
39 */
40 COutputFactory() = delete;
41
42 /*!
43 * \brief Create the Output class based on the current main solver
44 * \param[in] kindSolver - The kind of main solver
45 * \param[in] config - Pointer to the config
46 * \param[in] nDim - Number of physical dimensions
47 * \return - Pointer to the allocated Output
48 */
49 static COutput* CreateOutput(MAIN_SOLVER kindSolver, CConfig *config, int nDim);
50
51 /*!
52 * \brief Create a multizone output
53 * \param driverConfig - Pointer to the driver config
54 * \param config_container - Pointer to the config container
55 * \param nDim - Number of physical dimensions
56 * \return - Pointer to the allocated multizone output
57 */
58 static COutput* CreateMultizoneOutput(CConfig *driverConfig, CConfig** config_container, int nDim);
59};
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Definition COutputFactory.hpp:33
static COutput * CreateOutput(MAIN_SOLVER kindSolver, CConfig *config, int nDim)
Create the Output class based on the current main solver.
Definition COutputFactory.cpp:42
static COutput * CreateMultizoneOutput(CConfig *driverConfig, CConfig **config_container, int nDim)
Create a multizone output.
Definition COutputFactory.cpp:86
COutputFactory()=delete
Deleted constructor to avoid creating instances of this class.
Class for writing the convergence history and to write solution data to file.
Definition COutput.hpp:68
MAIN_SOLVER
different solver types for the CFD component
Definition option_structure.hpp:302