← Back to team overview

dolfin team mailing list archive

Update demo problem for Stokes [...]

 

Commit from logg (2005-12-30 18:28 CET)
----------------

Update demo problem for Stokes

 - Add exact solution
 - Compute L2 norm of error

Seems to converge correctly with mesh refinement, L2 norm of error
is 9.820e-06 on a 16x16 mesh.

  dolfin  ChangeLog                                 1.274
  dolfin  src/demo/solvers/stokes/main.cpp          1.7
  dolfin  src/kernel/io/MatlabFile.cpp              1.21
  dolfin  src/modules/stokes/StokesSolver.cpp       1.6
+ dolfin  src/modules/stokes/dolfin/L2Error.form    1.1
+ dolfin  src/modules/stokes/dolfin/L2Error.h       1.1
  dolfin  src/modules/stokes/dolfin/StokesSolver.h  1.3