pub struct PoincareAnalyzer {
pub section_normal: Array1<f64>,
pub section_point: Array1<f64>,
pub crossing_direction: i8,
pub crossing_tolerance: f64,
}Expand description
Poincaré section analysis for periodic orbit detection
Fields§
§section_normal: Array1<f64>Section definition (hyperplane normal)
section_point: Array1<f64>Point on the section
crossing_direction: i8Crossing direction (1: positive, -1: negative, 0: both)
crossing_tolerance: f64Tolerance for section crossing detection
Implementations§
Source§impl PoincareAnalyzer
impl PoincareAnalyzer
Sourcepub fn new(
section_normal: Array1<f64>,
section_point: Array1<f64>,
crossing_direction: i8,
) -> Self
pub fn new( section_normal: Array1<f64>, section_point: Array1<f64>, crossing_direction: i8, ) -> Self
Create a new Poincaré analyzer
Sourcepub fn analyze_trajectory(
&self,
trajectory: &[Array1<f64>],
times: &[f64],
) -> IntegrateResult<PoincareMap>
pub fn analyze_trajectory( &self, trajectory: &[Array1<f64>], times: &[f64], ) -> IntegrateResult<PoincareMap>
Analyze trajectory to find Poincaré map
Auto Trait Implementations§
impl Freeze for PoincareAnalyzer
impl RefUnwindSafe for PoincareAnalyzer
impl Send for PoincareAnalyzer
impl Sync for PoincareAnalyzer
impl Unpin for PoincareAnalyzer
impl UnwindSafe for PoincareAnalyzer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more