VM2D 1.14
Vortex methods for 2D flows simulation
Loading...
Searching...
No Matches
BH::PointsCopy Class Reference

Класс-обертка для точек и панелей More...

#include <PointsCopyBH.h>

Inheritance diagram for BH::PointsCopy:
Collaboration diagram for BH::PointsCopy:

Public Member Functions

 PointsCopy ()
 Инициализирующий конструктор
 
 PointsCopy (const Point2D &r)
 Конструктор копирования из точки
 
 PointsCopy (const Vortex2D &vtx_)
 Конструктор копирования из вихря
 
 ~PointsCopy ()
 Деструктор
 
HD Point2Dr ()
 Функция для доступа к радиус-вектору вихря
 
HD const Point2Dr () const
 Функция для доступа для чтения к радиус-вектору вихря
 
HD double & g ()
 Функция для доступа к циркуляции вихря
 
HD const double & g () const
 Функция для доступа для чтения к циркуляции вихря
 
HD operator Point2D & ()
 
HD operator const Point2D & () const
 

Public Attributes

Point2D veloCopy
 Вычисленная скорость
 
double epsast
 Вычисленное расстояние до ближайших вихрей
 

Static Public Attributes

static size_t offsPos = offsetof(Vortex2D, pos)
 
static size_t offsGam = offsetof(Vortex2D, gam)
 

Private Attributes

Point2D pos
 Радиус-вектор вихря
 
double gam
 Циркуляция вихря
 

Detailed Description

Класс-обертка для точек и панелей

Author
Марчевский Илья Константинович
Сокол Ксения Сергеевна
Рятина Евгения Павловна
Колганова Александра Олеговна \Version 1.14
Date
6 марта 2026 г.

Definition at line 59 of file PointsCopyBH.h.

Constructor & Destructor Documentation

◆ PointsCopy() [1/3]

BH::PointsCopy::PointsCopy ( )
inline

Инициализирующий конструктор

Definition at line 70 of file PointsCopyBH.h.

70 :
71 Vortex2D({ 0.0, 0.0 }, 0.0)
72 {};
HD Vortex2D()
Пустой конструктор
Definition Vortex2D.h:73

◆ PointsCopy() [2/3]

BH::PointsCopy::PointsCopy ( const Point2D r)
inline

Конструктор копирования из точки

Definition at line 75 of file PointsCopyBH.h.

75 :
76 Vortex2D(r, 0.0)
77 {};
HD Point2D & r()
Функция для доступа к радиус-вектору вихря
Definition Vortex2D.h:87

◆ PointsCopy() [3/3]

BH::PointsCopy::PointsCopy ( const Vortex2D vtx_)
inline

Конструктор копирования из вихря

Definition at line 80 of file PointsCopyBH.h.

80 :
81 Vortex2D(vtx_), veloCopy({ 0.0, 0.0 }), epsast(0)
82 {};
Point2D veloCopy
Вычисленная скорость
double epsast
Вычисленное расстояние до ближайших вихрей

◆ ~PointsCopy()

BH::PointsCopy::~PointsCopy ( )
inline

Деструктор

Definition at line 85 of file PointsCopyBH.h.

85{};

Member Function Documentation

◆ g() [1/2]

HD double & VMlib::Vortex2D::g ( )
inlineinherited

Функция для доступа к циркуляции вихря

Returns
ссылка на циркуляцию вихря

Definition at line 95 of file Vortex2D.h.

95{ return gam; }
double gam
Циркуляция вихря
Definition Vortex2D.h:65
Here is the caller graph for this function:

◆ g() [2/2]

HD const double & VMlib::Vortex2D::g ( ) const
inlineinherited

Функция для доступа для чтения к циркуляции вихря

Returns
константная ссылка на циркуляцию вихря

Definition at line 99 of file Vortex2D.h.

99{ return gam; }

◆ operator const Point2D &()

HD VMlib::Vortex2D::operator const Point2D & ( ) const
inlineinherited

Definition at line 102 of file Vortex2D.h.

102{ return pos; }
Point2D pos
Радиус-вектор вихря
Definition Vortex2D.h:62

◆ operator Point2D &()

HD VMlib::Vortex2D::operator Point2D & ( )
inlineinherited

Definition at line 101 of file Vortex2D.h.

101{ return pos; }

◆ r() [1/2]

HD Point2D & VMlib::Vortex2D::r ( )
inlineinherited

Функция для доступа к радиус-вектору вихря

Returns
ссылка на радиус-вектор вихря

Definition at line 87 of file Vortex2D.h.

87{ return pos; }
Here is the caller graph for this function:

◆ r() [2/2]

HD const Point2D & VMlib::Vortex2D::r ( ) const
inlineinherited

Функция для доступа для чтения к радиус-вектору вихря

Returns
константная ссылка на радиус-вектор вихря

Definition at line 91 of file Vortex2D.h.

91{ return pos; }

Member Data Documentation

◆ epsast

double BH::PointsCopy::epsast

Вычисленное расстояние до ближайших вихрей

Definition at line 67 of file PointsCopyBH.h.

◆ gam

double VMlib::Vortex2D::gam
privateinherited

Циркуляция вихря

Definition at line 65 of file Vortex2D.h.

◆ offsGam

size_t Vortex2D::offsGam = offsetof(Vortex2D, gam)
staticinherited

Definition at line 70 of file Vortex2D.h.

◆ offsPos

size_t Vortex2D::offsPos = offsetof(Vortex2D, pos)
staticinherited

Definition at line 69 of file Vortex2D.h.

◆ pos

Point2D VMlib::Vortex2D::pos
privateinherited

Радиус-вектор вихря

Definition at line 62 of file Vortex2D.h.

◆ veloCopy

Point2D BH::PointsCopy::veloCopy

Вычисленная скорость

Definition at line 64 of file PointsCopyBH.h.


The documentation for this class was generated from the following file: