Documentation 6b54b78464
Loading...
Searching...
No Matches
CDummyDriver.hpp
Go to the documentation of this file.
1/*!
2 * \file CDummyDriver.hpp
3 * \brief Headers of the main subroutines for driving single or multi-zone problems.
4 * The subroutines and functions are in the <i>driver_structure.cpp</i> file.
5 * \author T. Economon, H. Kline, R. Sanchez
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#include "CDriver.hpp"
31
32/*!
33 * \brief CDummyDriver class that constructs the driver without running a solver.
34 * \ingroup Drivers
35 */
36class CDummyDriver : public CDriver {
37
38public:
39
40 /*!
41 * \brief Constructor of the class.
42 * \param[in] confFile - Configuration file name.
43 * \param[in] val_nZone - Total number of zones.
44 * \param[in] MPICommunicator - MPI communicator for SU2.
45 */
46 CDummyDriver (char* confFile,
47 unsigned short val_nZone,
48 SU2_Comm MPICommunicator);
49
50 /*!
51 * \brief Destructor of the class.
52 */
53 ~CDummyDriver() override{}
54
55 /*!
56 * \brief Does nothing except printing the information that no solver is running.
57 */
58 void StartSolver() override;
59
60};
Headers of the main subroutines for driving single or multi-zone problems. The subroutines and functi...
Parent class for driving an iteration of a single or multi-zone problem.
Definition CDriver.hpp:51
CDummyDriver class that constructs the driver without running a solver.
Definition CDummyDriver.hpp:36
~CDummyDriver() override
Destructor of the class.
Definition CDummyDriver.hpp:53
void StartSolver() override
Does nothing except printing the information that no solver is running.
Definition CDummyDriver.cpp:39
int SU2_Comm
Definition mpi_structure.hpp:619