pde_opt.numerics.domains
This module contains the Domain class, which is used to set up a simulation domain for the model.
Classes
|
Sets up a simulation domain for the model. |
- class pde_opt.numerics.domains.Domain(points: Tuple[int, ...], box: Tuple[Tuple[float, float], ...], units: str, geometry: Shape | None = None)[source]
Sets up a simulation domain for the model.
The following information is stored in a Domain: – points[i] is the number of collocation points in the i’th dimension – dx[i] is the spacing between each collocation point in the i’th dimension – box[i] is the bounds of the simulation box in the i’th dimension – units are the length units these. values are stored in
- points: Tuple[int, ...]
- box: Tuple[Tuple[float, float], ...]
- units: str