sfepy.discrete.fem.domain module¶
Computational domain, consisting of the mesh and regions.
-
class
sfepy.discrete.fem.domain.
FEDomain
(name, mesh, verbose=False, **kwargs)[source]¶ Domain is divided into groups, whose purpose is to have homogeneous data shapes.
-
create_surface_group
(region)[source]¶ Create a new surface group corresponding to region if it does not exist yet.
Notes
Surface groups define surface facet connectivity that is needed for
sfepy.discrete.fem.mappings.SurfaceMapping
.
-
get_conn
(ret_gel=False)[source]¶ Get the cell-vertex connectivity and, if ret_gel is True, also the corresponding reference geometry element.
-
get_diameter
()[source]¶ Return the diameter of the domain.
Notes
The diameter corresponds to the Friedrichs constant.
-