Commit 187e334b authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

new Level constructor

parent 72409f82
#ifndef SAMPLE_HPP
#define SAMPLE_HPP
#include "matrixgraph/CellMatrixGraph.hpp"
#include "Algebra.hpp"
#include <string>
......@@ -12,6 +13,12 @@ struct Level {
int mGfine;
int mGcoarse;
Level() {}
Level(int level, int pLevel) {
Update(level, pLevel);
}
void Update(int level, int plevel) {
fine = level;
coarse = level - 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment