solidcore

Units / geom

geom.local_solve1d green

Layer
3
Upstream lines
1,294
Functions
12
Rust module
geom::local_solve1d

Source: crates/solidcore/src/geom/local_solve1d.rs

Upstream: source/SMLib/inc/SmLocalSolve1d.h, source/SMLib/src/SmLocalSolve1d.cpp

Notes

12 fns; largest: SmLocalSolve1d::SolveIt, SmLocalSolve1d::SolveOscillating, SmLocalSolve1d::SolveByBrent, SmLocalSolve1d::SolveByBisection; unit-SCC #22 (220 units); 317 upstream test entry points reach this unit; difftest: 3316 cases (316 fixture + 3000 generated), bit-identical, 0 deferred

Difftest

Cases
3,316
Passed
3,316
Deferred
0
Failed
0
Both errored
0
Max rel. error
0.0
Tolerance
1e-09 rel.
Seeds
16

Blocked by

Nothing: no deferred cases.

Report JSON (per-case results)

Dependencies

Depends on: geom.extent1d green

Soft dependencies: geom.tol green

Dependents: curve.curve_p3 green curve.curve_p5 partial

Soft dependents: blend.fillet_solver_p3 todo curve.curve_cache green surface.surface_p7 partial

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
SmEvalFunctionObject::EvaluateSmLocalSolve1d.h:869[EvalFunction::evaluate] (default)
SmIterQueue1d::SmIterQueue1dSmLocalSolve1d.h:1597[IterQueue1d], [IterQueue1d::new]
SmIterQueue1d::AddSmLocalSolve1d.h:16712[IterQueue1d::add]
SmLocalSolve1d::~SmLocalSolve1dSmLocalSolve1d.h:2451Drop (implicit)
SmLocalSolve1d::SetSolverAlgorithmSmLocalSolve1d.h:2541[LocalSolve1d::set_solver_algorithm]
SmLocalSolve1d::SetDesiredAccuracySmLocalSolve1d.h:2553[LocalSolve1d::set_desired_accuracy]
SmLocalSolve1d::SmLocalSolve1dSmLocalSolve1d.h:30718[LocalSolve1d]
SmIterQueue1d::IsOscillatingSmLocalSolve1d.cpp:2327[IterQueue1d::is_oscillating]
SmLocalSolve1d::SolveByBrentSmLocalSolve1d.cpp:77201[LocalSolve1d::solve_by_brent]
SmLocalSolve1d::SolveByBisectionSmLocalSolve1d.cpp:287115[LocalSolve1d::solve_by_bisection]
SmLocalSolve1d::SolveOscillatingSmLocalSolve1d.cpp:410328solve_oscillating (private)
SmLocalSolve1d::SolveItSmLocalSolve1d.cpp:751572[LocalSolve1d::solve_it], [SolveOutcome]
Module file-header table (20 rows)
RustUpstream
[SolverAlgorithm]SmLocalSolverAlgorithmType
[TerminationReason] (re-export)SmTerminationReasonType (defined in geom::local_solve_nd)
[EvalFunction], [FunctionValue]SmEvalFunctionObject
[EvalFunction::evaluate] (default)SmEvalFunctionObject::Evaluate
[IterationValue]SmIterationValue
[IterQueue1d], [IterQueue1d::new]SmIterQueue1d, SmIterQueue1d(ULONG)
[IterQueue1d::add]SmIterQueue1d::Add
[IterQueue1d::is_oscillating]SmIterQueue1d::IsOscillating
[LocalSolve1d]SmLocalSolve1d
[LocalSolve1d::new]SmLocalSolve1d(SmEvalFunctionObject&)
[LocalSolve1d::with_interval]SmLocalSolve1d(SmEvalFunctionObject&, const SmExtent1d&, SmBoolean)
Drop (implicit)~SmLocalSolve1d
[LocalSolve1d::found_accuracy] etc.GetFoundAccuracy, GetTerminationReason, GetLowerBoundHits, GetUpperBoundHits
[LocalSolve1d::set_solution_interval]SetSolutionInterval
[LocalSolve1d::set_solver_algorithm]SetSolverAlgorithm
[LocalSolve1d::set_desired_accuracy]SetDesiredAccuracy
[LocalSolve1d::solve_it], [SolveOutcome]SolveIt
[LocalSolve1d::solve_by_bisection]SolveByBisection
[LocalSolve1d::solve_by_brent]SolveByBrent
solve_oscillating (private)SolveOscillating

Upstream tests reaching this unit

prog_test:my_test_surface_closest_point, prog_test:my_test_drop_point, prog_test:my_test_matrix, prog_test:my_test_reversed_line_join, SM_API_test:TestSmCreateRectangle, SM_API_test:TestSmCreateRegularPolygon