MultiMeshDirichletBC¶
-
class
dolfin.cpp.fem.
MultiMeshDirichletBC
(*args)¶ Bases:
object
This class is used to set Dirichlet boundary conditions for multimesh function spaces.
Copy constructor. Either cached DOF data are copied. Arguments bc (
MultiMeshDirichletBC
) The object to be copied.Parameters: MultiMeshDirichletBC & bc (const) – -
apply
()¶ Apply boundary condition to vectors for a nonlinear problem
Parameters: - & b (GenericVector) – (
GenericVector
) The vector to apply boundary conditions to. - GenericVector & x (const) – (
GenericVector
) Another vector (nonlinear problem).
Return type: void
- & b (GenericVector) – (
-
homogenize
()¶ Set
value to 0.0.Return type: void
-
thisown
¶ The membership flag
-
zero
()¶ Zero the rows in a matrix A corresponding to boundary dofs
Parameters: & A (GenericMatrix) – ( GenericMatrix
) The matrix to zero rows in.Return type: void
-