VM2D 1.14
Vortex methods for 2D flows simulation
Loading...
Searching...
No Matches
WorldGen.cpp
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: WorldGen.cpp |
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
28
40#include "WorldGen.h"
41
42#include "PassportGen.h"
43
44using namespace VMlib;
45
46//Конструктор
48 passportGen(passport_), currentStep(0), currentTime(0.0), nVtxBeforeMerging(0)
49{ };
50
51//Функция, возвращающая признак завершения счета в решаемой задаче
52bool WorldGen::isFinished() const //Проверка условия, что счет завершен
53{
55}//isFinished()
Заголовочный файл с описанием класса PasportGen.
Заголовочный файл с описанием класса WorldGen.
Абстрактный класс, опеделяющий паспорт задачи
Definition PassportGen.h:96
TimeDiscretizationProperties timeDiscretizationProperties
Структура с параметрами процесса интегрирования по времени
bool isFinished() const
Функция, возвращающая признак завершения счета в решаемой задаче
Definition WorldGen.cpp:52
double currentTime
Текущее время в решаемой задаче
Definition WorldGen.h:72
WorldGen(const VMlib::PassportGen &passport_)
Конструктор
Definition WorldGen.cpp:47
const PassportGen & passportGen
Константная ссылка на паспорт конкретного расчета
Definition WorldGen.h:63
double timeStop
Конечное время
Definition PassportGen.h:64