engine: parameter schemas for solve.buckle, buckling steps and imperfections

Fixes the build of develop: #171 crossed with the typed command forms, so BUCKLE lacked its
form. SOLVE_BUCKLE follows SOLVE_FREQUENCY; the step form gains the buckle variant and the
nonlinear step's imperfection group.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
This commit is contained in:
jyvikoandClaude Opus 5.5 authored and Irakli Kourtis committed 2026-10-14 13:41:29 -04:00
1 parent 0bb1c2462f
commit 72696614c2
2 files changed
+12

No files matched your search

+11
View File
@@ -439,8 +439,18 @@ const PROCEDURE: Field = variants(
),
flag("line_search", "Line search").def("false"),
json("load_path", "Load path").hint("[[fraction, factor], …]; a ramp when empty"),
group(
"imperfection",
"Imperfection",
&[
reference("step", "Buckling step", C::Step).req(),
int("mode", "Mode", 1, 100_000).req().def("1"),
num("scale", "Largest component", D::Length).req(),
],
),
],
),
variant("buckle", "Buckling", &[int("modes", "Modes", 1, 100_000).req().def("4"), num("shift", "Shift", D::None)]),
variant(
"frequency",
"Frequency",
@@ -803,6 +813,7 @@ pub const SOLVE_FREQUENCY: &[Field] = &[
int("max_iterations", "Max Lanczos vectors", 1, 3000).hint("3000"),
THREADS,
];
pub const SOLVE_BUCKLE: &[Field] = &[STEP, MAX_DOFS, MAX_FACTOR, int("max_iterations", "Max Lanczos vectors", 1, 3000).hint("3000"), THREADS];
pub const SOLVE_EXPLICIT: &[Field] = &[
STEP,
MAX_DOFS,