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
8abb019f
Commit
8abb019f
authored
May 03, 2021
by
niklas.baumgarten
Browse files
implement kappa plotting in pde solver
parent
d5cb8d28
Changes
1
Hide whitespace changes
Inline
Side-by-side
mlmc/src/pdesolver/PDESolver.cpp
View file @
8abb019f
...
...
@@ -60,10 +60,10 @@ void EllipticPDESolver::plotSolution(SampleSolution &solution) {
assemble
->
SetFlux
(
solution
.
U
,
flux
.
U
);
mpp
::
plot
(
flux
.
IdString
())
<<
flux
.
U
<<
mpp
::
endp
;
//
LagrangeDiscretization kappaDisc(meshes, 0,
0
);
//
SampleSolution kappa(&kappaDisc, solution.Id(), "Kappa");
//
assemble->GetProblem()->Permeability(kappa.U);
//
mpp::plot(kappa.IdString()) << kappa.U << mpp::endp;
LagrangeDiscretization
kappaDisc
(
meshes
,
0
,
1
);
SampleSolution
kappa
(
&
kappaDisc
,
solution
.
Id
(),
"Kappa"
);
assemble
->
GetProblem
()
->
Permeability
(
kappa
.
U
);
mpp
::
plot
(
kappa
.
IdString
())
<<
kappa
.
U
<<
mpp
::
endp
;
delete
pressureDisc
;
}
...
...
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