Documentation 6b54b78464
Loading...
Searching...
No Matches
CGridMovement.hpp
Go to the documentation of this file.
1/*!
2 * \file CGridMovement.hpp
3 * \brief Headers of the CGridMovement class
4 * \author F. Palacios
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 "../geometry/CGeometry.hpp"
31#include "../CConfig.hpp"
32
33/*!
34 * \class CGridMovement
35 * \brief Class for moving the surface and volumetric
36 * numerical grid (2D and 3D problems).
37 * \author F. Palacios
38 */
40 protected:
41 int rank, /*!< \brief MPI Rank. */
42 size; /*!< \brief MPI Size. */
43
44 public:
45 /*!
46 * \brief Constructor of the class.
47 */
49
50 /*!
51 * \brief Destructor of the class.
52 */
53 virtual ~CGridMovement(void);
54
55 /*!
56 * \brief Set the surface/boundary deformation.
57 * \param[in] geometry - Geometrical definition of the problem.
58 * \param[in] config - Definition of the particular problem.
59 * \return Total deformation applied, which may be less than target if intersection prevention is used.
60 */
61 inline virtual vector<vector<su2double> > SetSurface_Deformation(CGeometry* geometry, CConfig* config) {
62 return vector<vector<su2double> >();
63 }
64};
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 moving the surface and volumetric numerical grid (2D and 3D problems).
Definition CGridMovement.hpp:39
virtual vector< vector< su2double > > SetSurface_Deformation(CGeometry *geometry, CConfig *config)
Set the surface/boundary deformation.
Definition CGridMovement.hpp:61
int size
MPI Size.
Definition CGridMovement.hpp:42
virtual ~CGridMovement(void)
Destructor of the class.
CGridMovement(void)
Constructor of the class.
int rank
MPI Rank.
Definition CGridMovement.hpp:41