Оптимизация пространства

This commit is contained in:
Anton Kamalov
2025-05-15 01:19:28 +03:00
parent 517c551bf5
commit 8811ca5344
4 changed files with 19 additions and 29 deletions

View File

@@ -6,18 +6,16 @@
class System{
Object& _obj;
Mesh _mesh;
double _a1;
double _a2;
double _a;
double _step;
public:
System(Object& obj, double step = 10., double a1 = 1., double a2 = 1.): _obj(obj), _mesh(obj, step), _a1(a1), _a2(a2), _step(step) {}
System(Object& obj, double step = 10., double a1 = 1.): _obj(obj), _mesh(obj, step), _a(a1), _step(step) {}
void DefineBounds(int, int, int, int);
std::vector<std::vector<Node*>>& Nodes();
std::vector<Node*>& LineX();
std::vector<Node*>& LineY();
double step() const { return _step; }
double a1() const { return _a1; };
double a2() const { return _a2; };
double a() const { return _a; };
};
#endif