orbithunter.EquilibriumOrbitKS.dimension_based_discretization¶
-
classmethod
EquilibriumOrbitKS.
dimension_based_discretization
(dimensions, **kwargs)[source]¶ Orbithunter conventions for discretization size.
- Parameters
- dimensionstuple
tuple containing (t, L, S) i.e. OrbitKS().parameters
- kwargs :
- resolutionstr
Takes values ‘coarse’, ‘normal’, ‘fine’. These options return one of three orbithunter conventions for the discretization size.
- Nint, default None
Temporal discretization size, if provided
- Mint, default None
Spatial discretization size, if provided
- Returns
- ——-
- int, int
- The new spatiotemporal field discretization; number of time points (rows) and number of space points (columns)
Notes
This function should only ever be called by rediscretize, the returned values can always be accessed by the appropriate attributes of the rediscretized orbit.