Commit 3c604b2a authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

added new generators (ideas)

parent 83247b86
#include "StochasticProblem.hpp" #include "StochasticProblem.hpp"
#include "stochastics/CirculantEmbedding.hpp" #include "generators/CirculantEmbedding.hpp"
#include "stochastics/HybridFluxGenerator.hpp" #include "generators/HybridFluxGenerator.hpp"
SampleGenerator *IStochasticProblem::createGenerator(GeneratorName genName, SampleGenerator *IStochasticProblem::createGenerator(GeneratorName genName,
Meshes &meshes) { Meshes &meshes) {
if (genName == "DummyGenerator") if (genName == "DummyGenerator")
return new DummyGenerator(meshes); return new DummyGenerator(meshes);
// if (genName == "UniformRandomNumberGenerator")
// return new UniformRandomNumberGenerator(meshes);
// if (genName == "NormalRandomNumberGenerator")
// return new NormalRandomNumberGenerator(meshes);
if (genName == "CirculantEmbedding") if (genName == "CirculantEmbedding")
return new MultilevelCirculantEmbedding(meshes); return new MultilevelCirculantEmbedding(meshes);
if (genName == "HybridFluxGenerator") if (genName == "HybridFluxGenerator")
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include "Algebra.hpp" #include "Algebra.hpp"
#include "montecarlo/Sample.hpp" #include "montecarlo/Sample.hpp"
#include "stochastics/SampleGenerator.hpp" #include "generators/SampleGenerator.hpp"
#include "main/Utils.hpp" #include "main/Utils.hpp"
......
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