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

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

#include "Velocity2DBiotSavart.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 Velocity2DBiotSavart.cpp:

Go to the source code of this file.

Functions

void ModifyE2 (double *ee2, double dst2)
 

Detailed Description

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

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

Definition in file Velocity2DBiotSavart.cpp.

Function Documentation

◆ ModifyE2()

void ModifyE2 ( double *  ee2,
double  dst2 
)
inline

Definition at line 65 of file Velocity2DBiotSavart.cpp.

66{
67 if (dst2 > 0)
68 {
69 if (dst2 < ee2[0])
70 {
71 ee2[2] = ee2[1];
72 ee2[1] = ee2[0];
73 ee2[0] = dst2;
74 }//if (dist2<ee2[0])
75 else
76 {
77 if (dst2 < ee2[1])
78 {
79 ee2[2] = ee2[1];
80 ee2[1] = dst2;
81 }// if (dist2<ee2[1])
82 else
83 if (dst2 < ee2[2])
84 ee2[2] = dst2;
85 }//else
86 }//if (dst2>0)
87}