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

moved Sample.hpp

parent eed7b080
......@@ -3,7 +3,7 @@
#include "Plot.h"
#include "mesh/Meshes.hpp"
#include "utility/SampleID.hpp"
#include "montecarlo/Sample.hpp"
#include <memory>
#include <sys/stat.h>
//#include "plot/VtuPlot.h"
......
#ifndef EMPIRICMEASURES_HPP
#define EMPIRICMEASURES_HPP
#include "utility/SampleID.hpp"
#include "Sample.hpp"
struct SampleCounter {
......
......@@ -4,7 +4,7 @@
#include "main/MultilevelPlotter.hpp"
#include "EmpiricMeasures.hpp"
#include "PDESolver.hpp"
#include "utility/SampleID.hpp"
#include "Sample.hpp"
#include "assemble/IStochasticAssemble.hpp"
......
#ifndef PDESOLVER_HPP
#define PDESOLVER_HPP
#include "utility/SampleID.hpp"
#include "Sample.hpp"
#include "solver/Solver.h"
#include "solver/Newton.h"
#include "timestepping/TimeIntegrator.hpp"
......
#ifndef SAMPLEID_HPP
#define SAMPLEID_HPP
#ifndef SAMPLE_HPP
#define SAMPLE_HPP
#include "Algebra.h"
#include <string>
......@@ -7,7 +7,9 @@
struct SampleID {
int level;
int number;
bool coarse;
std::string Str() const {
......@@ -20,16 +22,14 @@ struct SampleID {
struct SampleSolution {
SampleID id;
int mGraphLevel;
double Q;
double Cost;
Vector U;
SampleSolution(MatrixGraphs &solMGraphs, int mGraphLevel) :
U(Vector(solMGraphs[mGraphLevel])) {
SampleSolution(MatrixGraphs &solMGraphs, int mGlevel) :
U(Vector(solMGraphs[mGlevel])) {
Init();
}
......@@ -40,4 +40,4 @@ struct SampleSolution {
}
};
#endif //SAMPLEID_HPP
#endif //SAMPLE_HPP
......@@ -2,7 +2,7 @@
#define STOCHASTICPROBLEM_HPP
#include "Algebra.h"
#include "utility/SampleID.hpp"
#include "montecarlo/Sample.hpp"
#include "stochastics/SampleGenerator.hpp"
#include "main/Utils.hpp"
......
......@@ -2,7 +2,7 @@
#define SAMPLEGENERATOR_HPP
#include "utility/Config.hpp"
#include "utility/SampleID.hpp"
#include "montecarlo/Sample.hpp"
#include "mesh/Meshes.hpp"
class SampleGenerator {
......
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