Commit bc500752 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

removal of Level

parent 7f279bea
#ifndef SAMPLE_HPP
#define SAMPLE_HPP
#include "Level.hpp"
#include "matrixgraph/CellMatrixGraph.hpp"
#include "Algebra.hpp"
#include <string>
struct Level {
int fine;
int coarse;
int pLevel;
int mGfine;
int mGcoarse;
Level() {}
Level(int level, int pLevel) {
Update(level, pLevel);
}
void Update(int level, int plevel) {
fine = level;
coarse = level - 1;
pLevel = plevel;
mGfine = fine - pLevel;
if (coarse - pLevel > 0)
mGcoarse = coarse - pLevel;
else
mGcoarse = 0;
}
};
struct SampleID {
Level level;
......
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