Commit 9c8a9a5c authored by Thomas Witkowski's avatar Thomas Witkowski

Fixed bug in heat demo.

parent 1880b10d
......@@ -206,9 +206,7 @@ int main(int argc, char** argv)
G *boundaryFct = new G;
boundaryFct->setTimePtr(heat.getTime());
heat.setExactSolution(boundaryFct);
DOFVector<double> G_dof(heatSpace.getFeSpace(), "G");
G_dof.interpol(boundaryFct);
heatSpace.addDirichletBC(1, 0, 0, &G_dof);
heatSpace.addDirichletBC(1, 0, 0, boundaryFct);
// ===== start adaption loop =====
......
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