pde.conditions
Module¶
Provides the data structures that represent the boundary conditions for the pdes.
-
class
pysofe.pde.conditions.
BoundaryCondition
(fe_space, domain)[source]¶ Base class for all boundary conditions.
Parameters: - fe_space (pysofe.spaces.space.FESpace) – The considered function space
- domain (callable) – A function specifying the boundary part where the condition should hold
-
class
pysofe.pde.conditions.
DirichletBC
(fe_space, domain, ud=0.0)[source]¶ This class represents Dirichlet boundary conditions of the form
\[u(x,t) = u_{D}|_{\Gamma_{D}}, \Gamma_{D}\subseteq\partial\Omega\]Parameters: - fe_space (pysofe.spaces.space.FESpace) – The considered function space
- domain (callable) – A function specifying the boundary part where the condition should hold
- ud (callable) – A function specifying the values at the boundary