pub struct AssemblySolveOptions {
pub tolerance: f64,
pub max_iterations: usize,
pub strategy: SolveStrategy,
pub linear_algebra: LinearAlgebra,
pub diagnostics: bool,
}Fields§
§tolerance: f64Convergence target for the maximum residual, relative to the model scale (lengths in model units, direction residuals dimensionless).
max_iterations: usizeMaximum accepted Levenberg-Marquardt steps (per sub-solve when decomposed).
strategy: SolveStrategy§7.5–7.6 strategy selection; omitted in JSON means Auto.
linear_algebra: LinearAlgebraHow each LM step’s normal equations are built and solved. Sparse
(the default) is block-sparse over the bodies; Dense is the original
dense path, kept for one release as a fallback and an A/B reference.
diagnostics: boolCompute the DOF diagnostics (Jacobian rank, dof, redundant,
status). A caller that only needs poses (the live drag) turns it
off; the report then carries status: "unchecked" and zero counts.
Trait Implementations§
Source§impl Clone for AssemblySolveOptions
impl Clone for AssemblySolveOptions
impl Copy for AssemblySolveOptions
Source§impl Debug for AssemblySolveOptions
impl Debug for AssemblySolveOptions
Source§impl Default for AssemblySolveOptions
impl Default for AssemblySolveOptions
Source§impl<'de> Deserialize<'de> for AssemblySolveOptions
impl<'de> Deserialize<'de> for AssemblySolveOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for AssemblySolveOptions
impl Freeze for AssemblySolveOptions
impl RefUnwindSafe for AssemblySolveOptions
impl Send for AssemblySolveOptions
impl Sync for AssemblySolveOptions
impl Unpin for AssemblySolveOptions
impl UnsafeUnpin for AssemblySolveOptions
impl UnwindSafe for AssemblySolveOptions
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