How to apply boundary conditions to a single node in dolfin?

I have a list of DOFs of a node. How can I apply a Dirichlet BC to it using dolfin?

Use method="pointwise", as described in: Boundary conditions on edges or nodes - #6 by dokken and Error in method = pointwise after definition of facets - #5 by dokken

1 Like