Complete cubic solver

Изменены коэффициенты в локальных матрицах жёсткости. Значения int приведены к double формату
This commit is contained in:
2025-09-12 23:23:26 +03:00
parent 274d59e659
commit e53cef771a
3 changed files with 55 additions and 69 deletions

View File

@@ -2,8 +2,10 @@
#include "Solver.h"
int main() {
Solver slv(1., 0., 1., 20, 0, 1);
slv.Execute_Linear();
Solver slv(3., 2., 5., 20, 1, 6);
std::cout << "Linear element:" << std::endl;
slv.Execute_Linear(-5, -10);
std::cout << "\nCubic element:" << std::endl;
slv.Execute_Cubic(-5, -10);
return 0;
}