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

moved matrixgraphs

parent 30e73296
......@@ -6,13 +6,13 @@
#include "main/Utils.hpp"
#include "Algebra.h"
#include "SampleGenerator.hpp"
#include "dof/BasicDoFs.hpp"
typedef std::vector<std::complex<double>> ComplexField1D;
typedef std::vector<std::vector<std::complex<double>>> ComplexField2D;
class CirculantEmbedding : public SampleGenerator<Vector> {
protected:
int internalCounter = 0;
......@@ -23,7 +23,11 @@ public:
string fieldType = "LogNormal";
double mean = 0.0;
explicit CirculantEmbedding(int l, Meshes &meshes) : SampleGenerator(l, meshes) {
MatrixGraphs cellMGraphs;
explicit CirculantEmbedding(int l, Meshes &meshes) :
SampleGenerator(l, meshes),
cellMGraphs(meshes, dof(new CellDoF(1))) {
config.get("evtol", evtol);
config.get("StochasticField", fieldType);
config.get("mean", mean);
......
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