Domain
This module provides functionality to represent the domain for the problem.
Classes:
| Name | Description |
|---|---|
Domain |
Represents the domain for the problem. |
Domain
Class representing the domain for the problem.
This class reads the mesh from a GMSH file and locates physical groups.
Attributes:
| Name | Type | Description |
|---|---|---|
dim |
int
|
The dimension of the domain. |
mesh |
Mesh
|
The mesh representing the domain. |
cell_tags |
ndarray
|
Array containing cell tags. |
facet_tags |
ndarray
|
Array containing facet tags. |
boundary_facets |
dict
|
Dictionary containing boundary facets grouped by physical group name. |
Source code in src/gcrack/domain.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | |
__init__(gmsh_model)
Initialize the Domain.
Source code in src/gcrack/domain.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 | |