MultiMeshDirichletBC.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
MultiMeshDirichletBC
¶ This class is used to set Dirichlet boundary conditions for multimesh function spaces.
-
MultiMeshDirichletBC
(const MultiMeshFunctionSpace &V, const GenericFunction &g, const SubDomain &sub_domain, std::string method = "topological", bool check_midpoint = true)¶ Create boundary condition for subdomain
- Arguments
- V (
MultiMeshFunctionSpace
) - The function space.
- g (
GenericFunction
) - The value.
- sub_domain (
SubDomain
) - The subdomain.
- method (std::string)
- Optional argument: A string specifying the method to identify dofs.
- V (
Create boundary condition for subdomain
- Arguments
- V (
MultiMeshFunctionSpace
) - The function space
- g (
GenericFunction
) - The value
- sub_domain (
SubDomain
) - The subdomain
- method (std::string)
- Optional argument: A string specifying the method to identify dofs
- V (
-
void
apply
(GenericMatrix &A) const¶ Apply boundary condition to a matrix
- Arguments
- A (
GenericMatrix
) - The matrix to apply boundary condition to.
- A (
-
void
apply
(GenericVector &b) const¶ Apply boundary condition to a vector
- Arguments
- b (
GenericVector
) - The vector to apply boundary condition to.
- b (
-
void
apply
(GenericMatrix &A, GenericVector &b) const¶ Apply boundary condition to a linear system
- Arguments
- A (
GenericMatrix
) - The matrix to apply boundary condition to.
- b (
GenericVector
) - The vector to apply boundary condition to.
- A (
-
void
apply
(GenericVector &b, const GenericVector &x) const¶ Apply boundary condition to vectors for a nonlinear problem
- Arguments
- b (
GenericVector
) - The vector to apply boundary conditions to.
- x (
GenericVector
) - Another vector (nonlinear problem).
- b (
-
void
apply
(GenericMatrix &A, GenericVector &b, const GenericVector &x) const¶ Apply boundary condition to a linear system for a nonlinear problem
- Arguments
- A (
GenericMatrix
) - The matrix to apply boundary conditions to.
- b (
GenericVector
) - The vector to apply boundary conditions to.
- x (
GenericVector
) - Another vector (nonlinear problem).
- A (
-
-
class
MultiMeshSubDomain
¶ Parent class(es)