solidcore

Units / geom

geom.local_solve1d green

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

Status history

Oct 12Nov 25
  1. todo 1,294 lines
  2. green 1,294 lines

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

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

Port-plan notes

These notes preserve historical port measurements and limitations, not current CI results.

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

Goldens

This is committed inventory, not a runtime result or a correctness proof. A golden records what solidcore produced when blessed. Current results require the canonical CI gate, not these counts.

Golden records
3,318
Stored error outcomes
0
Stored deferrals
0
Stored harness rejections
0
Known-failure entries
0

Metadata counts describe fields in the stored records; they are not passes or live failures.

Source at f9704ee3b: golden JSONL · known-failure list.

Dependencies

Depends on: geom.extent1d green

Soft dependencies: geom.tol green

Dependents: blend.identify_fillet green curve.curve_p3 partial curve.curve_p5 partial

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

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
SmEvalFunctionObject::EvaluateSmLocalSolve1d.h:869[EvalFunction::evaluate] (default)
SmIterQueue1d::SmIterQueue1dSmLocalSolve1d.h:1597[IterQueue1d], [IterQueue1d::new], [IterQueue1d::try_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], [IterQueue1d::try_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