dolfin.fem.dirichletbc

Support for representing Dirichlet boundary conditions that are enforced via modification of linear systems.

Classes

DirichletBC(V, value, domain[, method])

Representation of Dirichlet boundary condition which is imposed on a linear system.

class dolfin.fem.dirichletbc.DirichletBC(V: dolfin.function.FunctionSpace, value: Union[ufl.coefficient.Coefficient, dolfin.cpp.function.Function], domain: Union[function, List[int]], method: dolfin.cpp.fem.DirichletBC.Method = Method.topological)[source]

Bases: dolfin.cpp.fem.DirichletBC

Representation of Dirichlet boundary condition which is imposed on a linear system.