← Back to team overview

dolfin team mailing list archive

Interface

 

Take a look at the demo src/demo/pde/stokes/taylor-hood/.
It demonstrates the new DOLFIN PDE solver interface, in particular
the use of sub domain markers for specifying boundary conditions on
parts of the boundary, setting boundary conditions for sub systems and
extracting the function representations of the solutions for sub
systems.

Compared to DOLFIN v 0.6.4, there are a couple of new concepts:

  - MeshFunction<uint> for specifying sub domains
  - SubSystem for specifying sub systems
  - Specifying boundary conditions as function + sub domain + sub system

Does the new interface make sense? Could it be improved?

Hopefully, we can settle on a fixed interface for mesh, assembly,
linear algebra, bcs, i/o in DOLFIN, so now's the time to comment.

/Anders


Follow ups