pub struct ActionFunctional {
pub lagrangian: String,
pub time_start: f64,
pub time_end: f64,
}Expand description
Action functional S[q] = ∫_{t0}^{t1} L(q, q̇, t) dt.
Fields§
§lagrangian: StringThe Lagrangian expression (as a string).
time_start: f64Start time t₀.
time_end: f64End time t₁.
Implementations§
Source§impl ActionFunctional
impl ActionFunctional
Sourcepub fn new(
lagrangian: impl Into<String>,
time_start: f64,
time_end: f64,
) -> Self
pub fn new( lagrangian: impl Into<String>, time_start: f64, time_end: f64, ) -> Self
Create a new action functional with Lagrangian L on [t0, t1].
Sourcepub fn is_bounded_below(&self) -> bool
pub fn is_bounded_below(&self) -> bool
Returns true if the time interval is non-degenerate (t1 > t0).
For physical systems, the action is typically bounded below on bounded intervals.
Trait Implementations§
Source§impl Clone for ActionFunctional
impl Clone for ActionFunctional
Source§fn clone(&self) -> ActionFunctional
fn clone(&self) -> ActionFunctional
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ActionFunctional
impl RefUnwindSafe for ActionFunctional
impl Send for ActionFunctional
impl Sync for ActionFunctional
impl Unpin for ActionFunctional
impl UnsafeUnpin for ActionFunctional
impl UnwindSafe for ActionFunctional
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