A boundary or volume tag representing an empty boundary or volume.
A boundary or volume tag representing the entire boundary or volume.
In the case of the boundary, TAG_ALL does not include rank boundaries, or, more generally, anything tagged with TAG_NO_BOUNDARY.
A boundary tag representing the entire boundary.
Unlike TAG_ALL, this includes rank boundaries, or, more generally, everything tagged with TAG_NO_BOUNDARY.
Information about the geometry and connectivity of a finite element mesh. (Note: no information about the discretization is stored here.)
Variables: |
|
---|
Return a dictionary mapping each element id to a list of adjacent element ids.
Bases: hedge.mesh.Mesh
A mesh whose elements’ faces exactly match up with one another.
See Mesh for attributes provided by this class.
Construct a simplical mesh.
Face indices follow the convention for the respective element, such as Triangle or Tetrahedron, in this module.
Parameters: |
|
---|
Verify boundary condition coverage.
Given a list of boundary tags as bc_tags, this function verifies that
1. the union of all these boundaries gives the complete boundary, 1. all these boundaries are disjoint.
Parameters: | incomplete_ok – Do not report an error if some faces are not covered by the boundary conditions. |
---|
Create a semi-structured rectangular mesh.
Parameters: |
|
---|
Create a semi-structured rectangular mesh.
Parameters: |
|
---|
Create a semi-structured square mesh.
Parameters: |
|
---|
Create an unstructured rectangular mesh.
Parameters: |
|
---|
Create a semi-structured rectangular mesh.
Parameters: |
|
---|
Create an unstructured square mesh.
Parameters: |
|
---|
Return a mesh for a brick from the origin to dimensions.
max_volume specifies the maximum volume for each tetrahedron. periodicity is either None, or a triple of bools, indicating whether periodic BCs are to be applied along that axis. See make_conformal_mesh() for the meaning of boundary_tagger.
A few stock boundary tags are provided for easy application of boundary conditions, namely plus_[xyz] and minus_[xyz] tag the appropriate faces of the brick.