VM2D 1.14
Vortex methods for 2D flows simulation
Loading...
Searching...
No Matches
PointsCopyBH.h
Go to the documentation of this file.
1/*--------------------------------*- VM2D -*-----------------*---------------*\
2| ## ## ## ## #### ##### | | Version 1.14 |
3| ## ## ### ### ## ## ## ## | VM2D: Vortex Method | 2026/03/06 |
4| ## ## ## # ## ## ## ## | for 2D Flow Simulation *----------------*
5| #### ## ## ## ## ## | Open Source Code |
6| ## ## ## ###### ##### | https://www.github.com/vortexmethods/VM2D |
7| |
8| Copyright (C) 2017-2026 I. Marchevsky, K. Sokol, E. Ryatina, A. Kolganova |
9*-----------------------------------------------------------------------------*
10| File name: PointsCopyBH.h |
11| Info: Source code of VM2D |
12| |
13| This file is part of VM2D. |
14| VM2D is free software: you can redistribute it and/or modify it |
15| under the terms of the GNU General Public License as published by |
16| the Free Software Foundation, either version 3 of the License, or |
17| (at your option) any later version. |
18| |
19| VM2D is distributed in the hope that it will be useful, but WITHOUT |
20| ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
21| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
22| for more details. |
23| |
24| You should have received a copy of the GNU General Public License |
25| along with VM2D. If not, see <http://www.gnu.org/licenses/>. |
26\*---------------------------------------------------------------------------*/
27
40#ifndef POINTSCOPY_H
41#define POINTSCOPY_H
42
43#include "Vortex2D.h"
44#include "ParamsBH.h"
45#include "omp.h"
46
47namespace BH
48{
59 class PointsCopy : public Vortex2D
60 {
61 public:
62
65
67 double epsast;
68
71 Vortex2D({ 0.0, 0.0 }, 0.0)
72 {};
73
76 Vortex2D(r, 0.0)
77 {};
78
80 PointsCopy(const Vortex2D& vtx_) :
81 Vortex2D(vtx_), veloCopy({ 0.0, 0.0 }), epsast(0)
82 {};
83
86 };
87
88}//namespace BH
89
90#endif
Параметры метода Барнса - Хата для CPU.
Заголовочный файл с описанием класса Vortex2D.
Класс-обертка для точек и панелей
~PointsCopy()
Деструктор
Point2D veloCopy
Вычисленная скорость
PointsCopy(const Vortex2D &vtx_)
Конструктор копирования из вихря
double epsast
Вычисленное расстояние до ближайших вихрей
PointsCopy()
Инициализирующий конструктор
PointsCopy(const Point2D &r)
Конструктор копирования из точки
Класс, опеделяющий двумерный вихревой элемент
Definition Vortex2D.h:59
HD Point2D & r()
Функция для доступа к радиус-вектору вихря
Definition Vortex2D.h:87