pymor.discretizers.builtin.grids.boundaryinfos¶
Classes
|
|
|
|
Generic |
- class pymor.discretizers.builtin.grids.boundaryinfos.AllDirichletBoundaryInfo(grid)[source]¶
Bases:
BoundaryInfoBoundaryInfowhere the boundary type ‘dirichlet’ is attached to each boundary entity.Methods
Attributes
boundary_types,cache_region,has_dirichlet,has_neumann,has_robin
- class pymor.discretizers.builtin.grids.boundaryinfos.EmptyBoundaryInfo(grid)[source]¶
Bases:
BoundaryInfoBoundaryInfowith no boundary types attached to any boundary.Methods
Attributes
boundary_types,cache_region,has_dirichlet,has_neumann,has_robin
- class pymor.discretizers.builtin.grids.boundaryinfos.GenericBoundaryInfo(grid, masks, assert_unique_type=(1,), assert_some_type=())[source]¶
Bases:
BoundaryInfoGeneric
BoundaryInfostoring entity masks per boundary type.Methods
Attributes
boundary_types,cache_region,has_dirichlet,has_neumann,has_robin- classmethod from_indicators(grid, indicators, assert_unique_type=None, assert_some_type=None)[source]¶
Create
BoundaryInfofrom indicator functions.- Parameters:
grid – The
Gridto which theBoundaryInfois associated.indicators – Dict where each key is a boundary type and the corresponding value is a boolean valued function defined on the analytical domain which indicates if a point belongs to a boundary of the given boundary type (the indicator functions must be vectorized).