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 function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmEvalFunctionObject::Evaluate | SmLocalSolve1d.h:86 | 9 | [EvalFunction::evaluate] (default) |
SmIterQueue1d::SmIterQueue1d | SmLocalSolve1d.h:159 | 7 | [IterQueue1d], [IterQueue1d::new] |
SmIterQueue1d::Add | SmLocalSolve1d.h:167 | 12 | [IterQueue1d::add] |
SmLocalSolve1d::~SmLocalSolve1d | SmLocalSolve1d.h:245 | 1 | Drop (implicit) |
SmLocalSolve1d::SetSolverAlgorithm | SmLocalSolve1d.h:254 | 1 | [LocalSolve1d::set_solver_algorithm] |
SmLocalSolve1d::SetDesiredAccuracy | SmLocalSolve1d.h:255 | 3 | [LocalSolve1d::set_desired_accuracy] |
SmLocalSolve1d::SmLocalSolve1d | SmLocalSolve1d.h:307 | 18 | [LocalSolve1d] |
SmIterQueue1d::IsOscillating | SmLocalSolve1d.cpp:23 | 27 | [IterQueue1d::is_oscillating] |
SmLocalSolve1d::SolveByBrent | SmLocalSolve1d.cpp:77 | 201 | [LocalSolve1d::solve_by_brent] |
SmLocalSolve1d::SolveByBisection | SmLocalSolve1d.cpp:287 | 115 | [LocalSolve1d::solve_by_bisection] |
SmLocalSolve1d::SolveOscillating | SmLocalSolve1d.cpp:410 | 328 | solve_oscillating (private) |
SmLocalSolve1d::SolveIt | SmLocalSolve1d.cpp:751 | 572 | [LocalSolve1d::solve_it], [SolveOutcome] |
Module file-header table (20 rows)
| Rust | Upstream |
|---|---|
[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