porepy.utils.default_domains module
Module for creating standard domain dictionaries.
- CubeDomain(physdims)[source]
Create a domain dictionary of a Cube domain with lower left corner centered at Origin, and upper right corner centered at physdims
Parameters: physdims (List) : Upper right corner of domain
Returns: domain (Dict[‘str’, Union[int, float]]): domain dictionary.
- SquareDomain(physdims)[source]
Create a domain dictionary of a Square domain with lower left corner centered at Origin, and upper right corner centered at physdims
Parameters: physdims (List) : Upper right corner of domain
Returns: domain (Dict[‘str’, Union[int, float]]): domain dictionary.