23 lines
469 B
C++
23 lines
469 B
C++
#ifndef SYSTEM_H
|
|
#define SYSTEM_H
|
|
|
|
#include "Mesh.hpp"
|
|
|
|
class System{
|
|
Object& _obj;
|
|
Mesh _mesh;
|
|
double _a;
|
|
double _step;
|
|
public:
|
|
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 a() const { return _a; };
|
|
};
|
|
|
|
#endif
|
|
|