homogenize

dolfin.fem.bcs.homogenize(bc)

Return a homogeneous version of the given boundary condition.

Arguments
bc
a DirichletBC instance, or a list/tuple of DirichletBC instances.

Other types of boundary conditions are ignored.

If the given boundary condition is a list of boundary conditions, then a list of homogeneous boundary conditions is returned.