Engine API & 118 Commands
Single versioned JSON-Schema command catalog driving the desktop window, Monty scripts, headless batch CLI, and MCP server.
b3:f4c059caae7ee3100bbf472db2c560bd
CLI parity: nyx api list / nyx api show <cmd>
Every operation in nyx — from creating a parametric wafer-frame rectangle or importing a GDSII layout to building an adaptive mesh, submitting a sweep, running a Craig–Bampton circuit quantisation, or exporting an HDF5 results file — is an engine command registered in Engine::catalog() (crates/nyx-engine).
The current catalog holds 118 commands (b3:f4c059caae7ee3100bbf472db2c560bd), each backed by a JSON Schema and a generated Markdown page in docs/api/. Because the egui desktop window, .nys Monty scripts (nyx-script), JSON-lines command lists (nyx run), and the MCP server (nyx-mcp) all dispatch through the same Engine::call boundary, an analysis run interactively in the window is bit-for-bit reproducible from a headless script.
Inspecting the Catalog from the Terminal
nyx api list # print all 118 commands and their access tier
nyx api show figure # full schema, defaults, and example for `figure`
nyx api show solve_run --json
Each command declares an explicit access tier (read, edit, or expensive) so dry-run checkers (nyx check FILE) and AI hosts can distinguish side-effect-free queries from mesh builds, solves, and disk exports.
Command Groups
- Parametric Geometry & GDSII (
38commands):add_rect,add_circle,add_ellipse,add_polygon,add_polygons,add_rounded_rect,add_box,add_cylinder,add_cone,add_sphere,add_torus,add_extrude,add_revolve,add_union,add_difference,add_intersect,add_cut,add_transform,add_pattern,add_overlay,add_chip_stack,add_sheet,add_pml,add_absorbing_layer,add_periodic,add_size,add_tag,import_gds,geometry_names,set_geometry,set_param,remove_param,rename_feature,remove_feature,suppress_feature,tag_feature,list_features,list_operations. - Physics, Materials & Mesh (
24commands):add_physics,remove_physics,set_active,set_problem,set_study,set_physics_params,set_coupled_loop,add_condition,remove_condition,add_pml_conditions,add_material,remove_material,set_material,describe_material,list_materials,evaluate_material,bcs_surface_impedance,list_remote_materials,search_remote_materials,fetch_material,import_material,set_mesh,mesh_build,check_project. - Solves, Jobs, Sweeps & Optimization (
24commands):solve_run,convergence_check,eme_sweep,sensitivity_run,optimize_run,sweep_run,sweep_table,sweep_cancel,job_list,job_status,job_wait,job_cancel,poll_jobs,queue_submit,queue_list,queue_get,queue_wait,queue_hold,queue_release,queue_pause,queue_resume,queue_set_priority,queue_cancel,pml_diagnostics. - Fields, Analyses, Figures & HDF5 Storage (
30commands):result_info,result_field,field,field_op,probe,line_cut,integrate,extremum,confinement,overlap,analyse,list_analyses,figure,export_results,open_results,results_file_info,project_new,project_open,project_load,project_save,project_info,project_json,project_script,store_open,store_save,store_runs,describe_physics,list_physics,list_commands,get_guide.
| Command | Access | Category | Summary & Schema | Inspect |
|---|---|---|---|---|
add_absorbing_layer |
edit | geometry & meshing |
Add an outward absorbing layer
Signature:
add_absorbing_layer([axis: text or null: `X`, `Y`, `Z`, `null`], [center: list of number or text or null], [coord: text: `Auto`, `Cartesian`, `Cylindrical`, `Spherical`, `auto`, `cartesian`, `cylindrical`, `spherical`], [grading: number or text], [layer_grading: number or text or null], [layers: number or text], [mode: text: `Inward`, `Outward`, `inward`, `outward`], [name: text], [regions: list of text], [sides: list of text], [thickness: number or text], [window: text or integer or null])
Arguments:
Example JSON:
nyx api show add_absorbing_layer
|
|
add_box |
edit | geometry & meshing |
Box
Signature:
add_box(max: list of 3 (number or text), min: list of 3 (number or text), [name: text])
Arguments:
Example JSON:
nyx api show add_box
|
|
add_chip_stack |
edit | geometry & meshing |
Add a 3D chip dielectric stack
Signature:
add_chip_stack([bbox: list of 4 (number)], [h_vac_bot: number], [h_vac_top: number], [lateral_pad: number], [overlay: true or false], [substrate_box: text], [substrate_region: text], [substrate_thickness: number], [t_sub: number], [t_vac_bot: number], [t_vac_top: number], [vac_bot_box: text], [vac_bot_region: text], [vac_bot_thickness: number], [vac_top_box: text], [vac_top_region: text], [vac_top_thickness: number], [z: number])
Arguments:
Example JSON:
nyx api show add_chip_stack
|
|
add_circle |
edit | geometry & meshing |
Circle
Signature:
add_circle(center: list of 2 (number or text), r: number or text, [name: text])
Arguments:
Example JSON:
nyx api show add_circle
|
|
add_condition |
edit | physics & materials |
Add a boundary or domain condition
Signature:
add_condition(kind: text, on: text, physics: text: `dfs`, `ems`, `sms`, [params: object])
Arguments:
Example JSON:
nyx api show add_condition
|
|
add_cone |
edit | geometry & meshing |
Cone frustum
Signature:
add_cone(base: list of 3 (number or text), h: number or text, r0: number or text, r1: number or text, [axis: text: `X`, `Y`, `Z`], [name: text])
Arguments:
Example JSON:
nyx api show add_cone
|
|
add_cut |
edit | geometry & meshing |
Cut by a plane
Signature:
add_cut(keep: text: `Above`, `Below`, normal: list of 3 (number or text), offset: number or text, [name: text])
Arguments:
Example JSON:
nyx api show add_cut
|
|
add_cylinder |
edit | geometry & meshing |
Cylinder
Signature:
add_cylinder(base: list of 3 (number or text), h: number or text, r: number or text, [axis: text: `X`, `Y`, `Z`], [name: text])
Arguments:
Example JSON:
nyx api show add_cylinder
|
|
add_difference |
edit | geometry & meshing |
Difference
Signature:
add_difference(a: text or integer, b: list of text or integer, [name: text])
Arguments:
Example JSON:
nyx api show add_difference
|
|
add_ellipse |
edit | geometry & meshing |
Ellipse
Signature:
add_ellipse(center: list of 2 (number or text), radii: list of 2 (number or text), [angle_deg: number or text], [name: text])
Arguments:
Example JSON:
nyx api show add_ellipse
|
|
add_extrude |
edit | geometry & meshing |
Extrude
Signature:
add_extrude(from: number or text, profile: text or integer, to: number or text, [axis: text: `X`, `Y`, `Z`], [name: text], [taper_deg: number or text])
Arguments:
Example JSON:
nyx api show add_extrude
|
|
add_intersect |
edit | geometry & meshing |
Intersection
Signature:
add_intersect(ids: list of text or integer, [name: text])
Arguments:
Example JSON:
nyx api show add_intersect
|
|
add_material |
edit | physics & materials |
Add a material to the project
Signature:
add_material(name: text, toml: text)
Arguments:
Example JSON:
nyx api show add_material
|
|
add_overlay |
edit | geometry & meshing |
Regions (overlay)
Signature:
add_overlay(regions: list of object, [name: text], [naming: text: `Feature`, `Region`, `Numbered`], [pins: list of object])
Arguments:
Example JSON:
nyx api show add_overlay
|
|
add_pattern |
edit | geometry & meshing |
Pattern
Signature:
add_pattern(input: text or integer, kind: object, n: number or text, [name: text])
Arguments:
Example JSON:
nyx api show add_pattern
|
|
add_periodic |
edit | geometry & meshing |
Periodic pair
Signature:
add_periodic(sel_a: text, sel_b: text, translation: list of 3 (number or text), [name: text])
Arguments:
Example JSON:
nyx api show add_periodic
|
|
add_physics |
edit | physics & materials |
Add a physics to the project
Signature:
add_physics(physics: text: `dfs`, `ems`, `sms`, [order: integer], [study: text], [study_params: object])
Arguments:
Example JSON:
nyx api show add_physics
|
|
add_pml |
edit | geometry & meshing |
Absorbing layers
Signature:
add_pml([axis: text: `X`, `Y`, `Z`], [center: list of 3 (number or text)], [coord: text: `Auto`, `Cartesian`, `Cylindrical`, `Spherical`, `auto`, `cartesian`, `cylindrical`, `spherical`], [grading: number or text], [layer_grading: number or text], [layers: number or text], [mode: text: `Inward`, `Outward`, `inward`, `outward`], [name: text], [regions: list of text], [sides: list of text], [thickness: number or text], [window: text or integer])
Arguments:
Example JSON:
nyx api show add_pml
|
|
add_pml_conditions |
edit | physics & materials |
Add the absorbing-layer conditions
Signature:
add_pml_conditions(physics: text: `dfs`, `ems`, `sms`, [auto_scale: true or false], [profile: text or null: `auto`, `kappa_polynomial`, `rational`, `exponential`, `null`], [strength: number], [target_reflection: number])
Arguments:
Example JSON:
nyx api show add_pml_conditions
|
|
add_polygon |
edit | geometry & meshing |
Polygon
Signature:
add_polygon(pts: list of list of 2 (number or text), [name: text], [names: list of text])
Arguments:
Example JSON:
nyx api show add_polygon
|
|
add_polygons |
edit | geometry & meshing |
Polygon batch
Signature:
add_polygons(polygons: list of list of list of 2 (number or text), [arc_tol: number or text], [holes: list of list of list of 2 (number or text)], [min_hole_area: number or text], [name: text], [simplify_tol: number or text])
Arguments:
Example JSON:
nyx api show add_polygons
|
|
add_rect |
edit | geometry & meshing |
Rectangle
Signature:
add_rect(max: list of 2 (number or text), min: list of 2 (number or text), [name: text])
Arguments:
Example JSON:
nyx api show add_rect
|
|
add_revolve |
edit | geometry & meshing |
Revolve
Signature:
add_revolve(center: list of 3 (number or text), profile: text or integer, [axis: text: `X`, `Y`, `Z`], [name: text])
Arguments:
Example JSON:
nyx api show add_revolve
|
|
add_rounded_rect |
edit | geometry & meshing |
Rounded rectangle
Signature:
add_rounded_rect(max: list of 2 (number or text), min: list of 2 (number or text), r: number or text, [name: text])
Arguments:
Example JSON:
nyx api show add_rounded_rect
|
|
add_sheet |
edit | geometry & meshing |
2D sheet or conformal slab in 3D
Signature:
add_sheet(input: text or integer, [etch_depth: number or text], [name: text], [thickness: number or text], [z: number or text])
Arguments:
Example JSON:
nyx api show add_sheet
|
|
add_size |
edit | geometry & meshing |
Mesh size
Signature:
add_size(sel: text, [h: number or text], [max_deviation: number or text], [min_layers: number or text], [name: text])
Arguments:
Example JSON:
nyx api show add_size
|
|
add_sphere |
edit | geometry & meshing |
Sphere
Signature:
add_sphere(center: list of 3 (number or text), r: number or text, [name: text])
Arguments:
Example JSON:
nyx api show add_sphere
|
|
add_tag |
edit | geometry & meshing |
Tag
Signature:
add_tag(name: text, sel: text)
Arguments:
Example JSON:
nyx api show add_tag
|
|
add_torus |
edit | geometry & meshing |
Torus
Signature:
add_torus(center: list of 3 (number or text), major: number or text, minor: number or text, [name: text])
Arguments:
Example JSON:
nyx api show add_torus
|
|
add_transform |
edit | geometry & meshing |
Transform
Signature:
add_transform(input: text or integer, steps: list of object, [name: text])
Arguments:
Example JSON:
nyx api show add_transform
|
|
add_union |
edit | geometry & meshing |
Union
Signature:
add_union(ids: list of text or integer, [name: text])
Arguments:
Example JSON:
nyx api show add_union
|
|
analyse |
read | analyses & fields |
Analyse a result
Signature:
analyse(analysis: text, physics: text: `dfs`, `ems`, `sms`, [params: object])
Arguments:
Example JSON:
nyx api show analyse
|
|
bcs_surface_impedance |
read | physics & materials |
BCS thin-film surface impedance
Signature:
bcs_surface_impedance(freq: number, thickness: number, [dynes_gamma: number], [film_model: text: `two_sided`, `kerr`, `thin_limit`], [gap_0: number], [gap_0_eV: number], [lambda_L: number], [material: text], [mean_free_path: number], [r_res: number], [sigma_n: number], [tc: number], [temperature: number], [x_qp_floor: number], [xi_0: number])
Arguments:
Example JSON:
nyx api show bcs_surface_impedance
|
|
check_project |
read | projects & storage |
Check the project
Signature:
check_project()
Example JSON:
nyx api show check_project
|
|
confinement |
read | analyses & fields |
Fraction of a field in a region
Signature:
confinement(fields: text or number or object or list of any, [by_region: true or false], [expr: text or number or object or list of any], [physics: text: `dfs`, `ems`, `sms`], [region: text or list of text], [regions: list of text], [revolution: true or false], [solution: integer], [solutions: text or list of integer], [wavelength: number], [weight: text])
Arguments:
Example JSON:
nyx api show confinement
|
|
convergence_check |
expensive | solving & sweeps |
Check mesh convergence
Signature:
convergence_check(physics: text: `dfs`, `ems`, `sms`, [apply_extrapolated: true or false], [coarsen: true or false], [coarsen_factors: list of number], [dry_run: true or false], [extrapolate: text: `richardson_log_spd`, `richardson_linear`], [extrapolate_order: number], [factor: number], [force: true or false], [grids: integer: `2`, `3`], [isolate: true or false], [match: text: `index`, `nearest`], [max_cells: number], [max_seconds: number], [quantities: list of text], [scale_sizes: true or false], [tolerance: number], [track: object], [wait: true or false])
Arguments:
Example JSON:
nyx api show convergence_check
|
|
describe_material |
read | physics & materials |
Describe a material
Signature:
describe_material(name: text)
Arguments:
Example JSON:
nyx api show describe_material
|
|
describe_physics |
read | physics & materials |
Describe a physics
Signature:
describe_physics(physics: text: `dfs`, `ems`, `sms`)
Arguments:
Example JSON:
nyx api show describe_physics
|
|
eme_sweep |
read | solving & sweeps |
Run an analytical EME sweep
Signature:
eme_sweep(mode: text: `length`, `periodicity`, `modes`, [lengths: list of number], [mode_counts: list of integer], [physics: text: `dfs`, `ems`, `sms`], [reps: list of integer], [segment: integer], [subgrid: integer])
Arguments:
Example JSON:
nyx api show eme_sweep
|
|
evaluate_material |
read | physics & materials |
Evaluate a material at temperature, frequency and wavelength
Signature:
evaluate_material(name: text, [e_field: number], [euler_deg: list of 3 (number)], [film_model: text: `kerr`, `two_sided`, `thin_limit`], [frequency: number], [temperature: number], [thickness: number], [wavelength: number])
Arguments:
Example JSON:
nyx api show evaluate_material
|
|
export_results |
expensive | projects & storage |
Write the results to an HDF5 file
Signature:
export_results(path: text, [parallel: true or false], [wait: true or false])
Arguments:
Example JSON:
nyx api show export_results
|
|
extremum |
read | analyses & fields |
Largest or smallest value of an expression
Signature:
extremum(expr: text or number or object or list of any, [interior: true or false], [op: text: `max`, `min`], [physics: text: `dfs`, `ems`, `sms`], [region: text], [solution: integer], [wavelength: number])
Arguments:
Example JSON:
nyx api show extremum
|
|
fetch_material |
expensive | physics & materials |
Download a material from an open database
Signature:
fetch_material(source: text, [add_to_project: true or false], [api_key: text], [description: text], [extends: text], [folder: text], [name: text], [target: text])
Arguments:
Example JSON:
nyx api show fetch_material
|
|
field |
read | analyses & fields |
A handle to a field
Signature:
field(name: text, [physics: text: `dfs`, `ems`, `sms`], [solution: integer])
Arguments:
Example JSON:
nyx api show field
|
|
field_op |
read | analyses & fields |
Arithmetic on handles
Signature:
field_op(args: list of any, op: text, [n: integer], [physics: text: `dfs`, `ems`, `sms`], [solution: integer], [wavelength: number])
Arguments:
Example JSON:
nyx api show field_op
|
|
figure |
read | analyses & fields |
Draw the modes or 3D fields of a result
Signature:
figure(path: text, physics: text: `dfs`, `ems`, `sms`, [arrows: true or false], [at: number], [camera: object or list of 2 (number)], [clip: object or list of 6 (number or null)], [cmap: text: `inferno`, `viridis`, `cividis`, `coolwarm`], [columns: integer], [core: list of integer], [expr: text], [family: text], [isosurfaces: list of number], [kind: text: `gallery`, `components`, `slice3d`, `cutaway3d`, `isosurface3d`, `mesh3d`], [max_modes: integer], [modes: list of integer], [panel_width: number], [periodic_phase: number], [periodic_shift: list of 3 (number)], [plane: text or object], [repeat_periodic: integer], [scale: number], [show_edges: text or true or false], [warp: number], [window: list of number])
Arguments:
Example JSON:
nyx api show figure
|
|
geometry_names |
read | geometry & meshing |
Evaluate the geometry and list its names
Signature:
geometry_names()
Example JSON:
nyx api show geometry_names
|
|
get_guide |
read | discovery & reference |
Read a nyx guide
Signature:
get_guide([topic: text: `nyx-instructions`, `geometry`, `optical-modes`, `cqed`, `troubleshooting`])
Arguments:
Example JSON:
nyx api show get_guide
|
|
import_gds |
edit | geometry & meshing |
Import GDSII conductive sheets
Signature:
import_gds(layers: object, path: text, [arc_tol: number], [cell: text], [lateral_pad: number], [layer_bbox: true or false], [pin_layer: list of 2 (integer)], [simplify_tol: number], [split_islands: true or false], [z: number])
Arguments:
Example JSON:
nyx api show import_gds
|
|
import_material |
edit | physics & materials |
Import an external material record
Signature:
import_material(content: text, format: text: `rii`, `aflow`, `mp`, `numbat`, name: text, [add_to_project: true or false], [description: text], [extends: text], [folder: text])
Arguments:
Example JSON:
nyx api show import_material
|
|
integrate |
read | analyses & fields |
Integrate an expression over a region
Signature:
integrate(expr: text or number or object or list of any, [boundary: text], [by_region: true or false], [physics: text: `dfs`, `ems`, `sms`], [region: text], [revolution: true or false], [side: text], [solution: integer], [solutions: text or list of integer], [wavelength: number])
Arguments:
Example JSON:
nyx api show integrate
|
|
job_cancel |
expensive | jobs & queue |
Cancel a job
Signature:
job_cancel(id: integer)
Arguments:
Example JSON:
nyx api show job_cancel
|
|
job_list |
read | jobs & queue |
List the jobs
Signature:
job_list()
Example JSON:
nyx api show job_list
|
|
job_status |
read | jobs & queue |
Status of a job
Signature:
job_status(id: integer)
Arguments:
Example JSON:
nyx api show job_status
|
|
job_wait |
expensive | jobs & queue |
Wait for a job
Signature:
job_wait(id: integer, [timeout_s: number])
Arguments:
Example JSON:
nyx api show job_wait
|
|
line_cut |
read | analyses & fields |
Values of an expression along a line
Signature:
line_cut(expr: text or number or object or list of any, from: list of number, to: list of number, [n: integer], [physics: text: `dfs`, `ems`, `sms`], [solution: integer], [wavelength: number])
Arguments:
Example JSON:
nyx api show line_cut
|
|
list_analyses |
read | analyses & fields |
List the analyses
Signature:
list_analyses()
Example JSON:
nyx api show list_analyses
|
|
list_commands |
read | discovery & reference |
List the commands
Signature:
list_commands()
Example JSON:
nyx api show list_commands
|
|
list_features |
read | discovery & reference |
List the features
Signature:
list_features()
Example JSON:
nyx api show list_features
|
|
list_materials |
read | physics & materials |
List the materials
Signature:
list_materials()
Example JSON:
nyx api show list_materials
|
|
list_operations |
read | geometry & meshing |
List the geometry operations
Signature:
list_operations()
Example JSON:
nyx api show list_operations
|
|
list_physics |
read | physics & materials |
List the physics of this build
Signature:
list_physics()
Example JSON:
nyx api show list_physics
|
|
list_remote_materials |
read | physics & materials |
List downloadable remote materials
Signature:
list_remote_materials([domain: text: `all`, `photonics`, `phononics`, `superconducting`])
Arguments:
Example JSON:
nyx api show list_remote_materials
|
|
mesh_build |
expensive | geometry & meshing |
Mesh the geometry
Signature:
mesh_build([wait: true or false])
Arguments:
Example JSON:
nyx api show mesh_build
|
|
open_results |
edit | projects & storage |
Open an HDF5 results file
Signature:
open_results(path: text, [wait: true or false])
Arguments:
Example JSON:
nyx api show open_results
|
|
optimize_run |
expensive | solving & sweeps |
Run gradient-based shape, material, or topology optimization
Signature:
optimize_run(objective: object, params: list of object, [algorithm: text: `lbfgs`, `ncg`, `mma`], [apply: true or false], [checkpoint_path: text], [constraints: list of object], [continuation_schedule: list of object], [ftol: number], [gtol: number], [max_iters: integer], [move_limit: number], [optimize: object], [physics: text: `dfs`, `ems`, `sms`], [remesh: true or false], [sense: text: `minimize`, `maximize`], [shape_step_rel: number], [xtol: number])
Arguments:
Example JSON:
nyx api show optimize_run
|
|
overlap |
read | analyses & fields |
Overlap of two fields
Signature:
overlap(a: text or number or object or list of any, b: text or number or object or list of any, [physics: text: `dfs`, `ems`, `sms`], [region: text], [revolution: true or false], [solution: integer], [wavelength: number])
Arguments:
Example JSON:
nyx api show overlap
|
|
pml_diagnostics |
read | geometry & meshing |
Absorbing-layer mesh and stability diagnostics
Signature:
pml_diagnostics()
Example JSON:
nyx api show pml_diagnostics
|
|
poll_jobs |
read | jobs & queue |
Apply finished jobs
Signature:
poll_jobs()
Example JSON:
nyx api show poll_jobs
|
|
probe |
read | analyses & fields |
Value of an expression at points
Signature:
probe(expr: text or number or object or list of any, points: list of list of number, [physics: text: `dfs`, `ems`, `sms`], [solution: integer], [wavelength: number])
Arguments:
Example JSON:
nyx api show probe
|
|
project_info |
read | projects & storage |
Project summary
Signature:
project_info()
Example JSON:
nyx api show project_info
|
|
project_json |
read | projects & storage |
Project as JSON
Signature:
project_json()
Example JSON:
nyx api show project_json
|
|
project_load |
edit | projects & storage |
Load a project from JSON
Signature:
project_load(json: text)
Arguments:
Example JSON:
nyx api show project_load
|
|
project_new |
edit | projects & storage |
New project
Signature:
project_new([dim: integer], [h: number], [title: text])
Arguments:
Example JSON:
nyx api show project_new
|
|
project_open |
edit | projects & storage |
Open a project file
Signature:
project_open(path: text)
Arguments:
Example JSON:
nyx api show project_open
|
|
project_save |
expensive | projects & storage |
Save the project to a file
Signature:
project_save(path: text)
Arguments:
Example JSON:
nyx api show project_save
|
|
project_script |
read | projects & storage |
Project as a script
Signature:
project_script()
Example JSON:
nyx api show project_script
|
|
queue_cancel |
expensive | jobs & queue |
Cancel a queued or running job
Signature:
queue_cancel([id: integer], [shared_id: text])
Arguments:
Example JSON:
nyx api show queue_cancel
|
|
queue_get |
read | jobs & queue |
One job of the queue
Signature:
queue_get([id: integer], [shared_id: text])
Arguments:
Example JSON:
nyx api show queue_get
|
|
queue_hold |
expensive | jobs & queue |
Hold a queued job
Signature:
queue_hold([id: integer], [shared_id: text])
Arguments:
Example JSON:
nyx api show queue_hold
|
|
queue_list |
read | jobs & queue |
List the queue
Signature:
queue_list([owner: text], [state: text])
Arguments:
Example JSON:
nyx api show queue_list
|
|
queue_pause |
expensive | jobs & queue |
Pause the queue
Signature:
queue_pause()
Example JSON:
nyx api show queue_pause
|
|
queue_release |
expensive | jobs & queue |
Release a held job
Signature:
queue_release([id: integer], [shared_id: text])
Arguments:
Example JSON:
nyx api show queue_release
|
|
queue_resume |
expensive | jobs & queue |
Resume the queue
Signature:
queue_resume()
Example JSON:
nyx api show queue_resume
|
|
queue_set_priority |
expensive | jobs & queue |
Change the priority of a queued job
Signature:
queue_set_priority(priority: integer, [id: integer], [shared_id: text])
Arguments:
Example JSON:
nyx api show queue_set_priority
|
|
queue_submit |
expensive | jobs & queue |
Submit work to the queue
Signature:
queue_submit([apply_extrapolated: true or false], [coarsen: true or false], [detached: true or false], [extrapolate: text: `richardson_log_spd`, `richardson_linear`], [factor: number], [force: true or false], [grids: integer: `2`, `3`], [hold: true or false], [isolate: true or false], [kind: text: `solve`, `mesh`, `convergence`], [match: text: `index`, `nearest`], [memory_wait_timeout_s: number], [physics: text or list of text], [post_analyses: list of object], [priority: integer], [quantities: list of text], [retain_amr_data: true or false], [save_fields: true or false], [shared: true or false], [strict_material_range: true or false], [supersede: true or false], [tolerance: number])
Arguments:
Example JSON:
nyx api show queue_submit
|
|
queue_wait |
expensive | jobs & queue |
Wait for a job, at most a while
Signature:
queue_wait(id: integer, timeout_s: number)
Arguments:
Example JSON:
nyx api show queue_wait
|
|
remove_condition |
edit | physics & materials |
Remove a condition
Signature:
remove_condition(index: integer, physics: text: `dfs`, `ems`, `sms`)
Arguments:
Example JSON:
nyx api show remove_condition
|
|
remove_feature |
edit | geometry & meshing |
Remove a feature
Signature:
remove_feature(name: text)
Arguments:
Example JSON:
nyx api show remove_feature
|
|
remove_material |
edit | physics & materials |
Remove a project material
Signature:
remove_material(name: text)
Arguments:
Example JSON:
nyx api show remove_material
|
|
remove_param |
edit | geometry & meshing |
Remove a model parameter
Signature:
remove_param(name: text)
Arguments:
Example JSON:
nyx api show remove_param
|
|
remove_physics |
edit | physics & materials |
Remove a physics from the project
Signature:
remove_physics(physics: text: `dfs`, `ems`, `sms`)
Arguments:
Example JSON:
nyx api show remove_physics
|
|
rename_feature |
edit | geometry & meshing |
Rename a feature
Signature:
rename_feature(name: text, new_name: text)
Arguments:
Example JSON:
nyx api show rename_feature
|
|
result_field |
read | analyses & fields |
Read a field
Signature:
result_field(field: text, physics: text: `dfs`, `ems`, `sms`, [max_values: integer], [solution: integer])
Arguments:
Example JSON:
nyx api show result_field
|
|
result_info |
read | analyses & fields |
Describe the results
Signature:
result_info([physics: text: `dfs`, `ems`, `sms`])
Arguments:
Example JSON:
nyx api show result_info
|
|
results_file_info |
read | projects & storage |
Describe an HDF5 results file
Signature:
results_file_info(path: text)
Arguments:
Example JSON:
nyx api show results_file_info
|
|
search_remote_materials |
read | physics & materials |
Search curated and live open material databases
Signature:
search_remote_materials(query: text, [api_key: text], [domain: text: `all`, `photonics`, `phononics`, `superconducting`], [live: true or false], [source: text: `all`, `rii`, `aflow`, `mp`, `numbat`])
Arguments:
Example JSON:
nyx api show search_remote_materials
|
|
sensitivity_run |
expensive | solving & sweeps |
Compute discrete adjoint sensitivities
Signature:
sensitivity_run(objective: object, params: list of object, [include_densities: true or false], [physics: text: `dfs`, `ems`, `sms`], [shape_step_rel: number])
Arguments:
Example JSON:
nyx api show sensitivity_run
|
|
set_active |
edit | physics & materials |
Set the active physics
Signature:
set_active(physics: text: `dfs`, `ems`, `sms`)
Arguments:
Example JSON:
nyx api show set_active
|
|
set_coupled_loop |
edit | physics & materials |
Configure two-way Anderson coupled loop
Signature:
set_coupled_loop([anderson_m: integer], [auxiliary: object or null], [enabled: true or false], [max_iters: integer], [rtol: number], [source_scale: number])
Arguments:
Example JSON:
nyx api show set_coupled_loop
|
|
set_geometry |
edit | geometry & meshing |
Replace the geometry
Signature:
set_geometry(geometry: object)
Arguments:
Example JSON:
nyx api show set_geometry
|
|
set_material |
edit | physics & materials |
Assign a material to a region
Signature:
set_material(material: text or object, physics: text: `dfs`, `ems`, `sms`, region: text)
Arguments:
Example JSON:
nyx api show set_material
|
|
set_mesh |
edit | geometry & meshing |
Set the mesh settings
Signature:
set_mesh([active_domains: list of text or null], [adapt_grade: number or null], [adapt_growth: number or null], [adapt_max_cells: integer or null], [adapt_passes: integer or null], [adapt_rel_tol: number or null], [adapt_scale: number or null], [corner_grading: true or false], [curved: true or false], [dz_min: number or null], [gap_cells: number or null], [h: number], [max_cells: integer or null], [max_dev: number or null], [max_steiner_multiplier: integer or null], [max_z_slabs: integer or null], [own: true or false], [physics: text], [physics_sizing: true or false], [pml_mode: text or null: `auto`, `structured`, `inline`, `null`], [points_per_wavelength: number or null], [quarter_point_xi: number or null], [retain_amr_data: true or false], [singular_edges: text or null: `none`, `quarter_point`, `null`], [strict_mesh: true or false], [structured_pml: true or false or null], [sweep: list of object or null], [target_tol: number or null], [z_coarsen: true or false], [z_growth_ratio: number or null])
Arguments:
Example JSON:
nyx api show set_mesh
|
|
set_param |
edit | geometry & meshing |
Set a model parameter
Signature:
set_param(name: text, value: number or text)
Arguments:
Example JSON:
nyx api show set_param
|
|
set_physics_params |
edit | physics & materials |
Set the options of a physics
Signature:
set_physics_params(params: object, physics: text: `dfs`, `ems`, `sms`)
Arguments:
Example JSON:
nyx api show set_physics_params
|
|
set_problem |
edit | physics & materials |
Replace the problem of a physics
Signature:
set_problem(physics: text: `dfs`, `ems`, `sms`, problem: object)
Arguments:
Example JSON:
nyx api show set_problem
|
|
set_study |
edit | physics & materials |
Set the study of a physics
Signature:
set_study(kind: text, physics: text: `dfs`, `ems`, `sms`, [order: integer], [params: object])
Arguments:
Example JSON:
nyx api show set_study
|
|
solve_run |
expensive | solving & sweeps |
Solve
Signature:
solve_run([force: true or false], [isolate: true or false], [memory_wait_timeout_s: number], [physics: text or list of text], [post_analyses: list of object], [retain_amr_data: true or false], [save_fields: true or false], [shared: true or false], [strict_material_range: true or false], [wait: true or false])
Arguments:
Example JSON:
nyx api show solve_run
|
|
store_open |
edit | projects & storage |
Open a workflow
Signature:
store_open(folder: text, [experiment: text])
Arguments:
Example JSON:
nyx api show store_open
|
|
store_runs |
read | projects & storage |
Run table
Signature:
store_runs()
Example JSON:
nyx api show store_runs
|
|
store_save |
expensive | projects & storage |
Save into a workspace
Signature:
store_save([workspace: text])
Arguments:
Example JSON:
nyx api show store_save
|
|
suppress_feature |
edit | geometry & meshing |
Suppress or restore a feature
Signature:
suppress_feature(name: text, [suppressed: true or false])
Arguments:
Example JSON:
nyx api show suppress_feature
|
|
sweep_cancel |
expensive | solving & sweeps |
Cancel the points of a sweep that have not finished
Signature:
sweep_cancel(sweep: integer)
Arguments:
Example JSON:
nyx api show sweep_cancel
|
|
sweep_run |
expensive | solving & sweeps |
Run a sweep: one recorded run per point
Signature:
sweep_run([checkpoint_lzf: true or false], [checkpoint_path: text], [force: true or false], [hold: true or false], [isolate: true or false], [memory_wait_timeout_s: number], [name: text], [physics: text or list of text], [points: list of object], [post_analyses: list of object], [priority: integer], [reuse: text: `none`, `warm`], [sampling: object], [save_fields: true or false], [series: object], [shared: true or false])
Arguments:
Example JSON:
nyx api show sweep_run
|
|
sweep_table |
read | solving & sweeps |
The table of a sweep
Signature:
sweep_table([sweep: integer], [wait_s: number])
Arguments:
Example JSON:
nyx api show sweep_table
|
|
tag_feature |
edit | geometry & meshing |
Tag a feature
Signature:
tag_feature(name: text, tag: text, [remove: true or false])
Arguments:
Example JSON:
nyx api show tag_feature
|
|
update_feature |
edit | geometry & meshing |
Change a feature
Signature:
update_feature(fields: object, name: text)
Arguments:
Example JSON:
nyx api show update_feature
|
|
vvuq_export |
expensive | analyses & fields |
Export canonical VVUQ provenance and error-budget report
Signature:
vvuq_export(path: text, [export_h5: true or false])
Arguments:
Example JSON:
nyx api show vvuq_export
|