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
74ee8bad
Commit
74ee8bad
authored
Sep 26, 2020
by
niklas.baumgarten
Browse files
adapted HybridFluxGenerator
parent
a9c27631
Changes
1
Hide whitespace changes
Inline
Side-by-side
mlmc/src/stochastics/HybridFluxGenerator.hpp
View file @
74ee8bad
...
...
@@ -53,12 +53,14 @@ public:
pc
(
GetPC
(
"SuperLU"
)),
solver
(
new
Solver
(
pc
,
"GMRES"
)),
newton
(
new
Newton
(
*
solver
))
{
if
(
meshes
.
dim
()
==
1
)
if
(
meshes
.
dim
()
==
1
)
{
problem
=
new
StochasticLaplace1D
(
meshes
);
assemble
=
new
HybridEllipticAssemble
(
disc
,
problem
);
if
(
meshes
.
dim
()
==
2
)
assemble
=
new
HybridEllipticAssemble
(
disc
,
problem
);
}
if
(
meshes
.
dim
()
==
2
)
{
problem
=
new
StochasticLaplace2D
(
meshes
);
assemble
=
new
HybridEllipticAssemble
(
disc
,
problem
);
assemble
=
new
HybridEllipticAssemble
(
disc
,
problem
);
}
}
virtual
~
MultilevelHybridFluxGenerator
()
{
...
...
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