VM2D 1.14
Vortex methods for 2D flows simulation
Loading...
Searching...
No Matches
Velocity2DBarnesHut.cpp File Reference

Файл кода с описанием класса VelocityBarnesHut. More...

#include "Velocity2DBarnesHut.h"
#include "Airfoil2D.h"
#include "Boundary2D.h"
#include "MeasureVP2D.h"
#include "Mechanics2D.h"
#include "StreamParser.h"
#include "Wake2D.h"
#include "World2D.h"
#include "Gmres2D.h"
Include dependency graph for Velocity2DBarnesHut.cpp:

Go to the source code of this file.

Functions

void ModifyE2 (double *ee2, double dst2)
 

Detailed Description

Файл кода с описанием класса VelocityBarnesHut.

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

Definition in file Velocity2DBarnesHut.cpp.

Function Documentation

◆ ModifyE2()

void ModifyE2 ( double *  ee2,
double  dst2 
)
inline

Definition at line 105 of file Velocity2DBarnesHut.cpp.

106{
107 if (dst2 > 0)
108 {
109 if (dst2 < ee2[0])
110 {
111 ee2[2] = ee2[1];
112 ee2[1] = ee2[0];
113 ee2[0] = dst2;
114 }//if (dist2<ee2[0])
115 else
116 {
117 if (dst2 < ee2[1])
118 {
119 ee2[2] = ee2[1];
120 ee2[1] = dst2;
121 }// if (dist2<ee2[1])
122 else
123 if (dst2 < ee2[2])
124 ee2[2] = dst2;
125 }//else
126 }//if (dst2>0)
127}
Here is the caller graph for this function: