Documentation 6b54b78464
Loading...
Searching...
No Matches
CAdjElasticityOutput.hpp
Go to the documentation of this file.
1/*!
2 * \file CAdjElasticityOutput.hpp
3 * \brief Headers of the adjoint elasticity output class.
4 * \author T. Albring, R. Sanchez
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#pragma once
29
30#include "COutput.hpp"
31
32/*! \class CAdjElasticityOutput
33 * \brief Output class for elasticity discrete adjoint problems.
34 * \author R. Sanchez, T. Albring.
35 * \date June 5, 2018.
36 */
37class CAdjElasticityOutput final : public COutput {
38private:
39 bool coupled_heat; //!< Boolean indicating a thermoelastic analysis
40 unsigned short nVar_FEM; //!< Number of FEM variables
41
42public:
43 /*!
44 * \brief Constructor of the class
45 * \param[in] config - Definition of the particular problem.
46 */
47 CAdjElasticityOutput(CConfig *config, unsigned short nDim);
48
49 /*!
50 * \brief Destructor of the class.
51 */
52 ~CAdjElasticityOutput(void) override;
53
54 /*!
55 * \brief Set the available history output fields
56 * \param[in] config - Definition of the particular problem.
57 */
58 void SetHistoryOutputFields(CConfig *config) override;
59
60 /*!
61 * \brief Load the history output field values
62 * \param[in] config - Definition of the particular problem.
63 */
64 void LoadHistoryData(CConfig *config, CGeometry *geometry, CSolver **solver) override;
65
66 /*!
67 * \brief Set the available volume output fields
68 * \param[in] config - Definition of the particular problem.
69 */
70 void SetVolumeOutputFields(CConfig *config) override;
71
72 /*!
73 * \brief Set the values of the volume output fields for a point.
74 * \param[in] config - Definition of the particular problem.
75 * \param[in] geometry - Geometrical definition of the problem.
76 * \param[in] solver_container - The container holding all solution data.
77 * \param[in] iPoint - Index of the point.
78 */
79 void LoadVolumeData(CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iPoint) override;
80
81};
Headers of the output class.
Output class for elasticity discrete adjoint problems.
Definition CAdjElasticityOutput.hpp:37
void LoadHistoryData(CConfig *config, CGeometry *geometry, CSolver **solver) override
Load the history output field values.
Definition CAdjElasticityOutput.cpp:150
void SetHistoryOutputFields(CConfig *config) override
Set the available history output fields.
Definition CAdjElasticityOutput.cpp:104
void LoadVolumeData(CConfig *config, CGeometry *geometry, CSolver **solver, unsigned long iPoint) override
Set the values of the volume output fields for a point.
Definition CAdjElasticityOutput.cpp:197
void SetVolumeOutputFields(CConfig *config) override
Set the available volume output fields.
Definition CAdjElasticityOutput.cpp:248
~CAdjElasticityOutput(void) override
Destructor of the class.
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Parent class for defining the geometry of the problem (complete geometry, multigrid agglomerated geom...
Definition CGeometry.hpp:75
Class for writing the convergence history and to write solution data to file.
Definition COutput.hpp:68
const unsigned short nDim
Physical Dimension.
Definition COutput.hpp:78
Definition CSolver.hpp:71