Documentation 6b54b78464
Loading...
Searching...
No Matches
CAdjFluidIteration.hpp
Go to the documentation of this file.
1/*!
2 * \file CAdjFluidIteration.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 "CFluidIteration.hpp"
32
33/*!
34 * \class CAdjFluidIteration
35 * \ingroup Drivers
36 * \brief Class for driving an iteration of the adjoint fluid system.
37 * \author T. Economon
38 */
40 public:
41 /*!
42 * \brief Constructor of the class.
43 * \param[in] config - Definition of the particular problem.
44 */
45 explicit CAdjFluidIteration(const CConfig *config) : CFluidIteration(config) {}
46
47 /*!
48 * \brief Preprocessing to prepare for an iteration of the physics.
49 * \param[in] ??? - Description here.
50 */
51 void Preprocess(COutput* output, CIntegration**** integration, CGeometry**** geometry, CSolver***** solver,
52 CNumerics****** numerics, CConfig** config, CSurfaceMovement** surface_movement,
53 CVolumetricMovement*** grid_movement, CFreeFormDefBox*** FFDBox, unsigned short val_iZone,
54 unsigned short val_iInst) override;
55
56 /*!
57 * \brief Perform a single iteration of the adjoint fluid system.
58 * \param[in] output - Pointer to the COutput class.
59 * \param[in] integration - Container vector with all the integration methods.
60 * \param[in] geometry - Geometrical definition of the problem.
61 * \param[in] solver - Container vector with all the solutions.
62 * \param[in] numerics - Description of the numerical method (the way in which the equations are solved).
63 * \param[in] config - Definition of the particular problem.
64 * \param[in] surface_movement - Surface movement classes of the problem.
65 * \param[in] grid_movement - Volume grid movement classes of the problem.
66 * \param[in] FFDBox - FFD FFDBoxes of the problem.
67 */
68 void Iterate(COutput* output, CIntegration**** integration, CGeometry**** geometry, CSolver***** solver,
69 CNumerics****** numerics, CConfig** config, CSurfaceMovement** surface_movement,
70 CVolumetricMovement*** grid_movement, CFreeFormDefBox*** FFDBox, unsigned short val_iZone,
71 unsigned short val_iInst) override;
72
73 /*!
74 * \brief Updates the containers for the adjoint fluid system.
75 * \param[in] ??? - Description here.
76 */
77 void Update(COutput* output, CIntegration**** integration, CGeometry**** geometry, CSolver***** solver,
78 CNumerics****** numerics, CConfig** config, CSurfaceMovement** surface_movement,
79 CVolumetricMovement*** grid_movement, CFreeFormDefBox*** FFDBox, unsigned short val_iZone,
80 unsigned short val_iInst) override;
81};
82
Class for driving an iteration of the adjoint fluid system.
Definition CAdjFluidIteration.hpp:39
void Preprocess(COutput *output, CIntegration ****integration, CGeometry ****geometry, CSolver *****solver, CNumerics ******numerics, CConfig **config, CSurfaceMovement **surface_movement, CVolumetricMovement ***grid_movement, CFreeFormDefBox ***FFDBox, unsigned short val_iZone, unsigned short val_iInst) override
Preprocessing to prepare for an iteration of the physics.
Definition CAdjFluidIteration.cpp:31
void Iterate(COutput *output, CIntegration ****integration, CGeometry ****geometry, CSolver *****solver, CNumerics ******numerics, CConfig **config, CSurfaceMovement **surface_movement, CVolumetricMovement ***grid_movement, CFreeFormDefBox ***FFDBox, unsigned short val_iZone, unsigned short val_iInst) override
Perform a single iteration of the adjoint fluid system.
Definition CAdjFluidIteration.cpp:132
CAdjFluidIteration(const CConfig *config)
Constructor of the class.
Definition CAdjFluidIteration.hpp:45
void Update(COutput *output, CIntegration ****integration, CGeometry ****geometry, CSolver *****solver, CNumerics ******numerics, CConfig **config, CSurfaceMovement **surface_movement, CVolumetricMovement ***grid_movement, CFreeFormDefBox ***FFDBox, unsigned short val_iZone, unsigned short val_iInst) override
Updates the containers for the adjoint fluid system.
Definition CAdjFluidIteration.cpp:163
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Class for driving an iteration of the fluid system.
Definition CFluidIteration.hpp:39
Class for defining the free form FFDBox structure.
Definition CFreeFormDefBox.hpp:38
Parent class for defining the geometry of the problem (complete geometry, multigrid agglomerated geom...
Definition CGeometry.hpp:75
Main class for doing the space integration, time integration, and monitoring of a system of Partial D...
Definition CIntegration.hpp:47
Class for defining the numerical methods.
Definition CNumerics.hpp:48
Class for writing the convergence history and to write solution data to file.
Definition COutput.hpp:68
Definition CSolver.hpp:71
Class for moving the surface numerical grid.
Definition CSurfaceMovement.hpp:38
Class for moving the volumetric numerical grid.
Definition CVolumetricMovement.hpp:37