|
SpECTRE
v2026.09.05
|
Limits on the extents of a Mesh based on Basis and Quadrature. The minima are strict requirements except for spherical harmonics which are set by the package (SPHEREPACK) used to implement them. The maxima are set to limit the sizes of static caches, so can be changed if desired. More...
Functions | |
| constexpr size_t | max (const Basis basis, const Quadrature quadrature) |
| The maximum allowed extent for a given Basis and Quadrature. | |
| constexpr size_t | min (const Basis basis, const Quadrature quadrature) |
| The minimum extent for a given Basis and Quadrature. | |
Limits on the extents of a Mesh based on Basis and Quadrature. The minima are strict requirements except for spherical harmonics which are set by the package (SPHEREPACK) used to implement them. The maxima are set to limit the sizes of static caches, so can be changed if desired.
|
constexpr |
The maximum allowed extent for a given Basis and Quadrature.
The maxima are chosen to limit the size of static caches. Let \(N\) be the highest represented polynomial mode, \(L\) the highest represented spherical harmonic mode, and \(M\) the highest represented Fourier mode. Then the maxima are set as follows:
|
constexpr |
The minimum extent for a given Basis and Quadrature.
The minimum is 1 except for the following: