Commit 8abb019f authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

implement kappa plotting in pde solver

parent d5cb8d28
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment