VM2D 1.14
Vortex methods for 2D flows simulation
Loading...
Searching...
No Matches
ParamsBH.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: paramsBH.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
39#ifndef PARAMSBH_H
40#define PARAMSBH_H
41
42
43namespace BH
44{
45
46//#define OLD_OMP
47
48 //Признак подсчета числа операций
49 //Включаются ключами cmake
50 //#define calcOp
51
52#define needTreeVrt
53
64 class params
65 {
66 public:
68 double eps;
69
71 double eps2;
72
74 // order = 1: монополь (0) + диполь (0)
75 // order = 2: монополь (0+1) + диполь (0) + квадруполь (0)
76 // order = 3: монополь (0+1+2) + диполь (0+1) + квадруполь (0) + октуполь (0)
77 // order = 4: монополь (0+1+2+3) + диполь (0+1+2) + квадруполь (0+1) + октуполь (0) + гексадекаполь (0)
78 int order;
79
82
84 double theta;
85 };
86}//namespace BH
87
88#endif
Класс, содержащий параметры метода Баонса - Хата для CPU.
Definition ParamsBH.h:65
double eps
Радиус вихревого элемента
Definition ParamsBH.h:68
int NumOfLevelsVortex
Максимальное количество уровней дерева
Definition ParamsBH.h:81
double theta
Параметр точности
Definition ParamsBH.h:84
int order
Точность расчета скоростей:
Definition ParamsBH.h:78
double eps2
Квадрат радиуса вихревого элемента
Definition ParamsBH.h:71