Expand description
Structured surface and volume domains.
A Domain is a tensor-product grid of Axis samples in a native coordinate system. It
knows the position of every sample and the quadrature weight of every sample with the
Jacobian included, so Σ w f approximates ∫ f dA (surfaces), ∫ f dV (volumes) or
∫ f dΩ (the far-field sphere). Integrals elsewhere in the crate always use these weights and
never form a Jacobian themselves.
| Kind | Axes (in order) | Element |
|---|---|---|
| plane | x, y at height z₀ | dx dy |
| sphere | θ, φ at radius R | R² sin θ dθ dφ |
| far-field sphere | θ, φ (directions) | sin θ dθ dφ (solid angle) |
| cylinder | φ, z at radius ρ₀ | ρ₀ dφ dz |
| box | x, y, z | dx dy dz |
| spherical shell | r, θ, φ | r² sin θ dr dθ dφ |
| cylindrical volume | ρ, φ, z | ρ dρ dφ dz |
Azimuth axes must be periodic with period 2π; polar axes must lie within [0, π]; radii
must be non-negative. Samples are stored row-major (the last axis varies fastest).
Structs§
- Domain
- A tensor-product grid with quadrature weights; see the module documentation.
Enums§
- Domain
Kind - The geometry a
Domaindescribes.