VM2D 1.14
Vortex methods for 2D flows simulation
Loading...
Searching...
No Matches
OptimizedVelocity2D.h
Go to the documentation of this file.
1#ifndef OPTIMIZED_VELOCITY_2D_H
2#define OPTIMIZED_VELOCITY_2D_H
3
4#include <memory>
5
6#include "defs.h"
7#include "cudaTreeInfo.h"
8
9
11{
12private:
13 std::vector<std::vector<Point2D>> allStepsVelocities;
14 std::vector<std::vector<double>> allStepsPressures;
15 bool isAveraged = true;
16
17public:
18 void AddVelocities(const std::vector<Point2D>& velocities);
19 std::vector<Point2D> GetAverageVelocity() const;
20 Point2D GetGlobalAverageVelocity(const std::vector<Point2D>& averageVelocities) const;
21 void PerformAveragingVelo(const std::string& path);
22
23 /*void AddPressures(const std::vector<double>& pressures);
24 std::vector<double> GetAveragePressure() const;
25 double GetGlobalAveragePressure(const std::vector<double>& averagePressures) const;\
26 void PerformAveragingPress();*/
27};
28#endif
std::vector< Point2D > GetAverageVelocity() const
Point2D GetGlobalAverageVelocity(const std::vector< Point2D > &averageVelocities) const
std::vector< std::vector< double > > allStepsPressures
void PerformAveragingVelo(const std::string &path)
std::vector< std::vector< Point2D > > allStepsVelocities
void AddVelocities(const std::vector< Point2D > &velocities)
Заголовок класса дерева для реализации быстрых алгоритмов на CUDA.
Описание базовых вспомогательных функций