Commit 3ea14354 authored by Praetorius, Simon's avatar Praetorius, Simon

ellipt demo corrected, to accept expressions in operators

parent 4a9832fa
......@@ -45,14 +45,14 @@ int main(int argc, char* argv[])
// ===== create matrix operator =====
Operator matrixOperator(ellipt.getFeSpace());
matrixOperator.addSot(1.0);
addSOT(matrixOperator, 1.0);
ellipt.addMatrixOperator(matrixOperator, 0, 0);
int degree = ellipt.getFeSpace()->getBasisFcts()->getDegree();
// ===== create rhs operator =====
Operator rhsOperator(ellipt.getFeSpace());
rhsOperator.addZot(eval(new F(degree)));
addZOT(rhsOperator, eval(new F(degree)));
ellipt.addVectorOperator(rhsOperator, 0);
// ===== add boundary conditions =====
......
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