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
997a9632
Commit
997a9632
authored
Nov 09, 2020
by
niklas.baumgarten
Browse files
stochastics -> generators
parent
8d838d26
Changes
8
Hide whitespace changes
Inline
Side-by-side
mlmc/src/
stochastic
s/CirculantEmbedding.cpp
→
mlmc/src/
generator
s/CirculantEmbedding.cpp
View file @
997a9632
File moved
mlmc/src/
stochastic
s/CirculantEmbedding.hpp
→
mlmc/src/
generator
s/CirculantEmbedding.hpp
View file @
997a9632
...
...
@@ -7,7 +7,7 @@
#include
"Algebra.hpp"
#include
"SampleGenerator.hpp"
#include
"dof/BasicDoFs.hpp"
#include
"main/MultilevelPlotter.hpp"
//
#include "main/MultilevelPlotter.hpp"
typedef
std
::
vector
<
std
::
complex
<
double
>>
ComplexField1D
;
...
...
@@ -184,15 +184,15 @@ protected:
if
(
!
id
.
coarse
)
{
circulantEmbeddings
[
id
.
level
.
fine
]
->
generateFineSample
(
id
,
fineSample
,
coarseSample
);
if
(
plotting
)
plotter
->
PlotVector
(
"kappa"
,
*
fineSample
,
1
,
id
.
level
.
coarse
,
"CellData"
);
//
if (plotting)
//
plotter->PlotVector("kappa", *fineSample, 1,
//
id.level.coarse, "CellData");
}
else
{
circulantEmbeddings
[
id
.
level
.
fine
]
->
generateCoarseSample
(
id
,
fineSample
,
coarseSample
);
if
(
plotting
)
plotter
->
PlotVector
(
"kappa"
,
*
coarseSample
,
1
,
id
.
level
.
fine
,
"CellData"
);
//
if (plotting)
//
plotter->PlotVector("kappa", *coarseSample, 1,
//
id.level.fine, "CellData");
}
}
...
...
mlmc/src/
stochastic
s/CovarianceFunction.hpp
→
mlmc/src/
generator
s/CovarianceFunction.hpp
View file @
997a9632
File moved
mlmc/src/
stochastic
s/HybridFluxGenerator.cpp
→
mlmc/src/
generator
s/HybridFluxGenerator.cpp
View file @
997a9632
File moved
mlmc/src/
stochastic
s/HybridFluxGenerator.hpp
→
mlmc/src/
generator
s/HybridFluxGenerator.hpp
View file @
997a9632
...
...
@@ -32,14 +32,14 @@ protected:
void
drawSample
(
const
SampleID
&
id
)
override
{
if
(
!
id
.
coarse
)
{
generateFineSample
(
id
);
if
(
plotting
)
plotter
->
PlotVector
(
"flux"
,
*
cellFlux
,
3
,
id
.
level
.
fine
,
"CellData"
);
//
if (plotting)
//
plotter->PlotVector("flux", *cellFlux, 3,
//
id.level.fine, "CellData");
}
else
{
generateCoarseSample
(
id
);
if
(
plotting
)
plotter
->
PlotVector
(
"flux"
,
*
cellFlux
,
3
,
id
.
level
.
coarse
,
"CellData"
);
//
if (plotting)
//
plotter->PlotVector("flux", *cellFlux, 3,
//
id.level.coarse, "CellData");
}
}
...
...
mlmc/src/
stochastic
s/RandomNumberManager.cpp
→
mlmc/src/
generator
s/RandomNumberManager.cpp
View file @
997a9632
File moved
mlmc/src/
stochastic
s/RandomNumberManager.hpp
→
mlmc/src/
generator
s/RandomNumberManager.hpp
View file @
997a9632
File moved
mlmc/src/
stochastic
s/SampleGenerator.hpp
→
mlmc/src/
generator
s/SampleGenerator.hpp
View file @
997a9632
File moved
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