change: Grid.hpp | added class and constructors
This commit is contained in:
parent
65f569380a
commit
fc999f09b3
@ -0,0 +1,35 @@
|
|||||||
|
#include <iostream>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
class Grid {
|
||||||
|
public:
|
||||||
|
/**
|
||||||
|
* @brief Construct a new Grid object
|
||||||
|
*
|
||||||
|
* @param n
|
||||||
|
*/
|
||||||
|
Grid(int n);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Construct a new Grid object
|
||||||
|
*
|
||||||
|
* @param n
|
||||||
|
* @param m
|
||||||
|
*/
|
||||||
|
Grid(int n, int m);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Set the Alpha object
|
||||||
|
*
|
||||||
|
* @param alpha
|
||||||
|
*/
|
||||||
|
void setAlpha(vector<float> alpha);
|
||||||
|
|
||||||
|
void setAlpha(vector<float> alpha_x, vector<float> alpha_y);
|
||||||
|
|
||||||
|
private:
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
Loading…
x
Reference in New Issue
Block a user