Commit 05fa842c authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

added new functional

parent 41e21a4a
......@@ -103,6 +103,5 @@ void MonteCarloElliptic::solveElliptic(double &Q, double &cost, Vector &u) {
if (functional == "L2") Q = assemble->L2(u);
if (functional == "Energy") Q = assemble->Energy(u);
if (functional == "Outflow") Q = assemble->getInflowOutflow(u).second;
if (functional == "Goal") Q = assemble->getGoal(u);
}
Supports Markdown
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