Documentation 6b54b78464
Loading...
Searching...
No Matches
CIterationFactory.hpp
Go to the documentation of this file.
1/*!
2 * \file CIterationFactory.hpp
3 * \brief Headers of the iteration classes used by SU2_CFD.
4 * Each CIteration class represents an available physics package.
5 * \author F. Palacios, T. Economon
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
31#include "CIteration.hpp"
32
33/*!
34 * \brief Creates a new iteration instance based on the current main solver.
35 * \ingroup Drivers
36 */
38 public:
39 /*!
40 * \brief Deleted constructor to avoid creating instances of this class
41 */
43
44 /*!
45 * \brief Create a new iteration instance based on the current main solver
46 * \param[in] kindSolver - The kind of main solver we are running
47 * \return - Pointer to the allocated iteration instance
48 */
49 static CIteration* CreateIteration(MAIN_SOLVER kindSolver, const CConfig* config);
50};
Headers of the iteration classes used by SU2_CFD. Each CIteration class represents an available physi...
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Creates a new iteration instance based on the current main solver.
Definition CIterationFactory.hpp:37
static CIteration * CreateIteration(MAIN_SOLVER kindSolver, const CConfig *config)
Create a new iteration instance based on the current main solver.
Definition CIterationFactory.cpp:41
CIterationFactory()=delete
Deleted constructor to avoid creating instances of this class.
Parent class for defining a single iteration of a physics problem.
Definition CIteration.hpp:50
MAIN_SOLVER
different solver types for the CFD component
Definition option_structure.hpp:302