Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
dab70701
Commit
dab70701
authored
Sep 22, 2020
by
niklas.baumgarten
Browse files
moved matrixgraphs
parent
30e73296
Changes
1
Hide whitespace changes
Inline
Side-by-side
mlmc/src/stochastics/CirculantEmbedding.hpp
View file @
dab70701
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment