Documentation 6b54b78464
Loading...
Searching...
No Matches
CInterpolatorFactory.hpp
Go to the documentation of this file.
1/*!
2 * \file CInterpolatorFactory.hpp
3 * \brief Factory to generate interpolator objects.
4 * \version 8.5.0 "Harrier"
5 *
6 * SU2 Project Website: https://su2code.github.io
7 *
8 * The SU2 Project is maintained by the SU2 Foundation
9 * (http://su2foundation.org)
10 *
11 * Copyright 2012-2026, SU2 Contributors (cf. AUTHORS.md)
12 *
13 * SU2 is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License as published by the Free Software Foundation; either
16 * version 2.1 of the License, or (at your option) any later version.
17 *
18 * SU2 is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
22 *
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with SU2. If not, see <http://www.gnu.org/licenses/>.
25 */
26#pragma once
27
28class CConfig;
29class CGeometry;
30class CInterpolator;
31
33/*!
34 * \brief Factory method for CInterpolator objects.
35 * \ingroup Interfaces
36 * \param[in] geometry_container - Geometrical definition of the problem.
37 * \param[in] config - Definition of the particular problem.
38 * \param[in] transpInterpolator - Transpose interpolator.
39 * \param[in] iZone - Index of the donor zone.
40 * \param[in] jZone - Index of the target zone.
41 * \param[in] verbose - If true, print information to screen.
42 * \return Pointer to interpolator on the heap, caller is responsible for deletion.
43 */
44CInterpolator* CreateInterpolator(CGeometry**** geometry_container, const CConfig* const* config,
45 const CInterpolator* transpInterpolator, unsigned iZone, unsigned jZone,
46 bool mixing_plane, bool verbose = true);
47} // namespace CInterpolatorFactory
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
Main class for defining the interpolator, it requires a child class for each particular interpolation...
Definition CInterpolator.hpp:47
CInterpolator * CreateInterpolator(CGeometry ****geometry_container, const CConfig *const *config, const CInterpolator *transpInterpolator, unsigned iZone, unsigned jZone, bool mixing_plane, bool verbose=true)
Factory method for CInterpolator objects.
Definition CInterpolatorFactory.cpp:38
Definition CInterpolatorFactory.hpp:32