Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
d2021e28
Commit
d2021e28
authored
Apr 27, 2021
by
niklas.baumgarten
Browse files
hacked generator
parent
842f6b93
Changes
1
Hide whitespace changes
Inline
Side-by-side
mlmc/src/generators/SampleGeneratorContainer.cpp
View file @
d2021e28
...
@@ -29,7 +29,9 @@ void SampleGeneratorContainer::initWithGenNames(Meshes &meshes, GeneratorNames n
...
@@ -29,7 +29,9 @@ void SampleGeneratorContainer::initWithGenNames(Meshes &meshes, GeneratorNames n
if
(
genName
==
"UniformDistributionReal"
)
if
(
genName
==
"UniformDistributionReal"
)
scalarGenerator
=
new
UniformDistributionReal
(
meshes
,
0.0
,
1.0
);
scalarGenerator
=
new
UniformDistributionReal
(
meshes
,
0.0
,
1.0
);
// Todo remaining generators
if
(
genName
==
"UniformDistributionRVector"
)
rVectorGenerator
=
new
UniformDistributionRVector
(
meshes
,
2
,
-
1.0
,
1.0
);
if
(
genName
==
"CirculantEmbedding"
)
{
if
(
genName
==
"CirculantEmbedding"
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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