Commit a99b274f authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

using disc for vector

parent 9985a4a8
......@@ -20,8 +20,8 @@ void HybridFaceNormalFluxGenerator::createPDESolver() {
void HybridFaceNormalFluxGenerator::drawSample(const SampleID &id) {
pdeSolver->DrawSample(id);
solutionFaceValues = new SampleSolution(pdeSolver->MGraphs(), id);
solutionFaceFlux = new SampleSolution(pdeSolver->MGraphs(), id);
solutionFaceValues = new SampleSolution(pdeSolver->GetDisc(), id);
solutionFaceFlux = new SampleSolution(pdeSolver->GetDisc(), id);
pdeSolver->Run(*solutionFaceValues);
auto assemble = dynamic_cast<HybridEllipticAssemble *>(pdeSolver->GetAssemble());
assemble->SetNormalFlux(solutionFaceValues->U, solutionFaceFlux->U);
......
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