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 104 of file Velocity2DBarnesHut.cpp.

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