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
Source§fn clone(&self) -> AssemblySolveOptions
fn clone(&self) -> AssemblySolveOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AssemblySolveOptions
Source§impl Debug for AssemblySolveOptions
impl Debug for AssemblySolveOptions
Source§impl Default for AssemblySolveOptions
impl Default for AssemblySolveOptions
Source§fn default() -> AssemblySolveOptions
fn default() -> AssemblySolveOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssemblySolveOptions
impl<'de> Deserialize<'de> for AssemblySolveOptions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AssemblySolveOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AssemblySolveOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AssemblySolveOptions
impl Serialize for AssemblySolveOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Forget for AssemblySolveOptions
impl Freeze for AssemblySolveOptions
impl Move 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