Ffield Workflow
Direct command workflows for ReaxFF ffield tools and force-field analyses.
This module implements CLI workflow orchestration for its command family, including argument parsing, request construction, execution dispatch, and result presentation handoff.
Usage context
- Command routing: Resolve CLI aliases and normalized command names.
- Task execution: Build request objects and invoke registered tasks.
- Output handling: Forward results to table, plot, export, or report flows.
Command: get_ffield_data
Load, filter, and export raw or interpreted ffield sections.
Interpreted means converting numeric values of atom types into Atom types. For example, 1 will be interepreted as C if carbon is the first element in the ffield.
Examples
1. Reading bond section of the ffield, obtaining the C-H bond parameters in interpreted format, and exporting to CSV:
reaxkit get_ffield_data --field bond --term C-H --format interpreted --export CH_bond.csv
2. Reading angle section of the ffield, obtaining the C-C-H angle parameters in interpreted format, and exporting to CSV:
reaxkit get_ffield_data --field angle --term CCH --any-order --format interpreted --export CCH_angles.csv
3. Reading all sections of the ffield, obtaining all parameters in interpreted format, and exporting to them as individual CSV files (one per section):
reaxkit get_ffield_data --format interpreted --outdir ffield_export
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--field |
No |
|
Single section to query: general, atom, bond, off_diagonal, angle, torsion, hbond. |
|
--term |
No |
|
Optional term filter, for example C-H, CCH, C-C-H, or 1-2. |
|
--ordered-2body |
No |
False |
For bond/off_diagonal terms, treat i-j and j-i as distinct. |
|
--any-order |
No |
False |
For angle/torsion/hbond terms, match any atom-order permutation. |
|
| Flag |
Required |
Default |
Help |
Choices |
--engine |
No |
|
|
reaxff, ams, lammps |
--input |
No |
. |
Input file or directory for engine resolution |
|
--run-dir, --dir |
No |
. |
Run directory fallback for engine detection |
|
--ffield |
No |
ffield |
Path to ffield |
|
--params |
No |
params |
Path to optimization parameter bounds |
|
--fort13 |
No |
fort.13 |
Path to fort.13 |
|
--fort79 |
No |
fort.79 |
Path to fort.79 |
|
--fort99 |
No |
fort.99 |
Path to fort.99 |
|
--fort74 |
No |
fort.74 |
Path to fort.74 |
|
--trainset |
No |
trainset.in |
Path to trainset file |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--plot |
No |
|
Render a plot |
single, subplot, tornado, beeswarm |
--show |
No |
False |
Show the generated plot window |
|
--save |
No |
|
Save the generated plot to a file path |
|
--export |
No |
|
Write the result table to CSV |
|
--grid |
No |
|
Subplot grid like 2x2 or 2*2 |
|
--xaxis |
No |
|
Optional x-axis column override |
|
--format |
No |
interpreted |
Output format: raw/indices atom ids or interpreted atom symbols. |
raw, indices, interpreted |
--outdir |
No |
|
Write per-section CSV exports into this output directory. |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
--log |
No |
|
Logging level |
verbose, quiet |
Command: get_ffield_opt_progress_data
Return total force-field optimization error versus epoch.
If you do the ffield optimization using ReaxFF's Successive One-Parameter Parabolic Interpolation (SOPPI) method, this will simply be the total force field error vs epoch.
Examples
1. Reading optimization output from ReaxFF fort.13 file, plotting error vs epoch, and saving the plot:
reaxkit get_ffield_opt_progress_data --fort13 fort.13 --plot single --save ffield_opt.png
2. Reading optimization output, exporting error vs epoch data to CSV for epochs 1 5 10 as CSV:
reaxkit get_ffield_opt_progress_data --epochs 1 5 10 --export ffield_opt.csv
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--epochs |
No |
|
Optional epoch numbers to keep; default uses all available epochs. |
|
| Flag |
Required |
Default |
Help |
Choices |
--engine |
No |
|
|
reaxff, ams, lammps |
--input |
No |
. |
Input file or directory for engine resolution |
|
--run-dir, --dir |
No |
. |
Run directory fallback for engine detection |
|
--ffield |
No |
ffield |
Path to ffield |
|
--params |
No |
params |
Path to optimization parameter bounds |
|
--fort13 |
No |
fort.13 |
Path to fort.13 |
|
--fort79 |
No |
fort.79 |
Path to fort.79 |
|
--fort99 |
No |
fort.99 |
Path to fort.99 |
|
--fort74 |
No |
fort.74 |
Path to fort.74 |
|
--trainset |
No |
trainset.in |
Path to trainset file |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--plot |
No |
|
Render a plot |
single, subplot, tornado, beeswarm |
--show |
No |
False |
Show the generated plot window |
|
--save |
No |
|
Save the generated plot to a file path |
|
--export |
No |
|
Write the result table to CSV |
|
--grid |
No |
|
Subplot grid like 2x2 or 2*2 |
|
--xaxis |
No |
|
Optional x-axis column override |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
--log |
No |
|
Logging level |
verbose, quiet |
Command: get_energy_min_summary_data
Get energy minimization summary data (energy, heat of formation, volume, density, etc.) per geo file, which can be obtained from fort.74 file if using ReaxFF standalone code for ffield optimization.
Examples
1. Getting the data and exporting all columns to CSV:
reaxkit get_energy_min_summary_data --export fort74.csv
2. Getting only density data, and exporting to CSV:
reaxkit get_energy_min_summary_data --col density --export fort74_density.csv
Arguments
| Flag |
Required |
Default |
Help |
Choices |
--engine |
No |
|
|
reaxff, ams, lammps |
--input |
No |
. |
Input file or directory for engine resolution |
|
--run-dir, --dir |
No |
. |
Run directory fallback for engine detection |
|
--ffield |
No |
ffield |
Path to ffield |
|
--params |
No |
params |
Path to optimization parameter bounds |
|
--fort13 |
No |
fort.13 |
Path to fort.13 |
|
--fort79 |
No |
fort.79 |
Path to fort.79 |
|
--fort99 |
No |
fort.99 |
Path to fort.99 |
|
--fort74 |
No |
fort.74 |
Path to fort.74 |
|
--trainset |
No |
trainset.in |
Path to trainset file |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--plot |
No |
|
Render a plot |
single, subplot, tornado, beeswarm |
--show |
No |
False |
Show the generated plot window |
|
--save |
No |
|
Save the generated plot to a file path |
|
--export |
No |
|
Write the result table to CSV |
|
--grid |
No |
|
Subplot grid like 2x2 or 2*2 |
|
--xaxis |
No |
|
Optional x-axis column override |
|
--col |
No |
all |
Single column to keep (identifier is retained when present), or 'all'. |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
--log |
No |
|
Logging level |
verbose, quiet |
Command: get_ffield_diagnostic_data
Get per-parameter optimization diagnostics from force-field optimization diagnostic output. Diagnostics data is simply the data in fort.79 which shows how the optimizer (i.e., Successive One-Parameter Parabolic Interpolation (SOPPI) method) has gone through the parameter space during optimization, and how the error has changed when each parameter was perturbed.
Examples
1. Getting all diagnostic data and exporting to CSV:
reaxkit get_ffield_diagnostic_data --export fort79_diag.csv
2. Getting the diagnostics data along with the data related to the most sensitive parameter during ffield optimization:
reaxkit get_ffield_diagnostic_data --report-most-sensitive --export most_sensitive.csv --export-all fort79_all.csv
3. Getting the diagnostics data, plotting a tornado plot for the top 10 most sensitive parameters, and adding a vertical guide line at x=1.0:
This plot shows the relative sensitivity of the parameters in a tornado format, where the bars represent the span between the error at the current parameter value and the error at the perturbed parameter value. This is helpful for understanding the marginal effect of each parameter on the total error, and for identifying which parameters are the most sensitive ones during optimization.
reaxkit get_ffield_diagnostic_data --plot tornado --top 3 --vline 1.0 --save tornado.png
4. Getting the diagnostics data, plotting a beeswarm plot for all parameters, and saving the plot:
This plot is very similar to the tornado plot, but instead of showing the span between the current and perturbed error as a bar, it normalizes sampled parameter values with their declared params bounds and colors them by objective value.
reaxkit get_ffield_diagnostic_data --plot beeswarm --sort parameter --save diagnostic_beeswarm.png
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--interpret |
No |
False |
Interpret identifier triplets with ffield symbol mapping when possible. |
|
--report-most-sensitive |
No |
False |
Return only the minimum-sensitivity parameter view. |
|
--top |
No |
0 |
For tornado or beeswarm views, keep top-N widest response spans; 0 keeps all. |
|
--sort |
No |
parameter |
For beeswarm view, sort rows by numeric parameter pointer, final value, or starting value. |
parameter, final, starting |
--global-objective-scale |
No |
False |
For beeswarm view, use one objective-function color range across all parameters. |
|
| Flag |
Required |
Default |
Help |
Choices |
--engine |
No |
|
|
reaxff, ams, lammps |
--input |
No |
. |
Input file or directory for engine resolution |
|
--run-dir, --dir |
No |
. |
Run directory fallback for engine detection |
|
--ffield |
No |
ffield |
Path to ffield |
|
--params |
No |
params |
Path to optimization parameter bounds |
|
--fort13 |
No |
fort.13 |
Path to fort.13 |
|
--fort79 |
No |
fort.79 |
Path to fort.79 |
|
--fort99 |
No |
fort.99 |
Path to fort.99 |
|
--fort74 |
No |
fort.74 |
Path to fort.74 |
|
--trainset |
No |
trainset.in |
Path to trainset file |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--plot |
No |
|
Render a plot |
single, subplot, tornado, beeswarm |
--show |
No |
False |
Show the generated plot window |
|
--save |
No |
|
Save the generated plot to a file path |
|
--export |
No |
|
Write the result table to CSV |
|
--grid |
No |
|
Subplot grid like 2x2 or 2*2 |
|
--xaxis |
No |
|
Optional x-axis column override |
|
--export-all |
No |
|
Optional CSV path to export the full diagnostic table (useful with --report-most-sensitive). |
|
--vline |
No |
1.0 |
For tornado view, reference x-value for the guide line. |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
--log |
No |
|
Logging level |
verbose, quiet |
The figure below shows an example tornado plot for the sensitivity of force field optimization error to each parameter. Bars show 3 values: min, max, and mean of sensitivities per parameter.

Figure: Sample tornado plot for the sensitivity of force field optimization error to each parameter
The diagnostic beeswarm normalizes every sampled parameter value with the lower
and upper bounds declared in params. Marker color represents the objective
function, from blue for lower values to red for higher values. By default each
parameter uses its own objective range; --global-objective-scale applies one
range across the full plot. Use --sort parameter, --sort final, or
--sort starting to order the rows.
reaxkit get_ffield_diagnostic_data --plot beeswarm --params params \
--sort parameter --save diagnostic_beeswarm.png
The rendered plot places the normalized samples on the left, the stored bounds
and final/starting values in a separate annotation region, and the objective
color scale on the far right. Interactive plot windows show the interpreted
force-field parameter name when hovering over a marker.
Command: get_ffield_diagnostics_sensitivity
Plot force-field optimization sensitivity diagnostics derived from fort.79.
Sensitivity values are the relative objective responses diff1/diff3, diff2/diff3, and diff4/diff3 for each force-field parameter.
Examples
1. Plot the widest sensitivity ranges as a tornado plot:
reaxkit get_ffield_diagnostics_sensitivity --plot tornado --top 10 --save sensitivity_tornado.png
2. Plot all sensitivity observations as a parameter-colored beeswarm:
reaxkit get_ffield_diagnostics_sensitivity --plot beeswarm --save sensitivity_beeswarm.png
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--interpret |
No |
False |
Use interpreted force-field section, term, and component labels when possible. |
|
--top |
No |
0 |
Keep the top-N parameters with the widest sensitivity spans; 0 keeps all. |
|
| Flag |
Required |
Default |
Help |
Choices |
--engine |
No |
|
|
reaxff, ams, lammps |
--input |
No |
. |
Input file or directory for engine resolution |
|
--run-dir, --dir |
No |
. |
Run directory fallback for engine detection |
|
--ffield |
No |
ffield |
Path to ffield |
|
--params |
No |
params |
Path to optimization parameter bounds |
|
--fort13 |
No |
fort.13 |
Path to fort.13 |
|
--fort79 |
No |
fort.79 |
Path to fort.79 |
|
--fort99 |
No |
fort.99 |
Path to fort.99 |
|
--fort74 |
No |
fort.74 |
Path to fort.74 |
|
--trainset |
No |
trainset.in |
Path to trainset file |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--plot |
No |
tornado |
Render a plot |
tornado, beeswarm |
--show |
No |
False |
Show the generated plot window |
|
--save |
No |
|
Save the generated plot to a file path |
|
--export |
No |
|
Write the result table to CSV |
|
--grid |
No |
|
Subplot grid like 2x2 or 2*2 |
|
--xaxis |
No |
|
Optional x-axis column override |
|
--vline |
No |
1.0 |
Reference sensitivity value drawn on tornado and beeswarm plots. |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
--log |
No |
|
Logging level |
verbose, quiet |
Command: get_ffield_diagnostics_evolution
Plot force-field parameter evolution from fort.79 diagnostic samples.
The beeswarm view normalizes all diagnostic samples with their params bounds. The scatter view follows each parameter's final value by epoch, connects the values with a line, and colors the markers by objective-function value.
Examples
1. Plot the bounded diagnostic beeswarm in numeric pointer order:
reaxkit get_ffield_diagnostics_evolution --plot beeswarm --save diagnostic_evolution.png
2. Plot epoch-wise evolution relative to each parameter's first value:
reaxkit get_ffield_diagnostics_evolution --plot scatter --normalization first --save diagnostic_evolution_scatter.png
3. Plot the top 10 widest objective-response ranges using one shared color scale:
reaxkit get_ffield_diagnostics_evolution --top 10 --global-objective-scale --save diagnostic_evolution_top10.png
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--normalization |
No |
bound_min |
Scatter normalization origin. bound_min uses (value-lower)/(upper-lower); first uses (value-first)/(upper-lower). |
bound_min, first |
--top |
No |
0 |
Keep the top-N parameters with the widest objective ranges; 0 keeps all. |
|
--sort |
No |
parameter |
Sort parameter rows by numeric pointer, final value, or starting value. |
parameter, final, starting |
--global-objective-scale |
No |
False |
Use one objective-function color range across all parameters. |
|
| Flag |
Required |
Default |
Help |
Choices |
--engine |
No |
|
|
reaxff, ams, lammps |
--input |
No |
. |
Input file or directory for engine resolution |
|
--run-dir, --dir |
No |
. |
Run directory fallback for engine detection |
|
--ffield |
No |
ffield |
Path to ffield |
|
--params |
No |
params |
Path to optimization parameter bounds |
|
--fort13 |
No |
fort.13 |
Path to fort.13 |
|
--fort79 |
No |
fort.79 |
Path to fort.79 |
|
--fort99 |
No |
fort.99 |
Path to fort.99 |
|
--fort74 |
No |
fort.74 |
Path to fort.74 |
|
--trainset |
No |
trainset.in |
Path to trainset file |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--plot |
No |
beeswarm |
Render a plot |
beeswarm, scatter |
--show |
No |
False |
Show the generated plot window |
|
--save |
No |
|
Save the generated plot to a file path |
|
--export |
No |
|
Write the result table to CSV |
|
--grid |
No |
|
Subplot grid like 2x2 or 2*2 |
|
--xaxis |
No |
|
Optional x-axis column override |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
--log |
No |
|
Logging level |
verbose, quiet |
Command: parameter_optimization_most_sensitive
Get per-parameter optimization diagnostics from force-field optimization diagnostic output. Diagnostics data is simply the data in fort.79 which shows how the optimizer (i.e., Successive One-Parameter Parabolic Interpolation (SOPPI) method) has gone through the parameter space during optimization, and how the error has changed when each parameter was perturbed.
Examples
1. Getting all diagnostic data and exporting to CSV:
reaxkit get_ffield_diagnostic_data --export fort79_diag.csv
2. Getting the diagnostics data along with the data related to the most sensitive parameter during ffield optimization:
reaxkit get_ffield_diagnostic_data --report-most-sensitive --export most_sensitive.csv --export-all fort79_all.csv
3. Getting the diagnostics data, plotting a tornado plot for the top 10 most sensitive parameters, and adding a vertical guide line at x=1.0:
This plot shows the relative sensitivity of the parameters in a tornado format, where the bars represent the span between the error at the current parameter value and the error at the perturbed parameter value. This is helpful for understanding the marginal effect of each parameter on the total error, and for identifying which parameters are the most sensitive ones during optimization.
reaxkit get_ffield_diagnostic_data --plot tornado --top 3 --vline 1.0 --save tornado.png
4. Getting the diagnostics data, plotting a beeswarm plot for all parameters, and saving the plot:
This plot is very similar to the tornado plot, but instead of showing the span between the current and perturbed error as a bar, it normalizes sampled parameter values with their declared params bounds and colors them by objective value.
reaxkit get_ffield_diagnostic_data --plot beeswarm --sort parameter --save diagnostic_beeswarm.png
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--interpret |
No |
False |
Interpret identifier triplets with ffield symbol mapping when possible. |
|
--report-most-sensitive |
No |
False |
Return only the minimum-sensitivity parameter view. |
|
--top |
No |
0 |
For tornado or beeswarm views, keep top-N widest response spans; 0 keeps all. |
|
--sort |
No |
parameter |
For beeswarm view, sort rows by numeric parameter pointer, final value, or starting value. |
parameter, final, starting |
--global-objective-scale |
No |
False |
For beeswarm view, use one objective-function color range across all parameters. |
|
| Flag |
Required |
Default |
Help |
Choices |
--engine |
No |
|
|
reaxff, ams, lammps |
--input |
No |
. |
Input file or directory for engine resolution |
|
--run-dir, --dir |
No |
. |
Run directory fallback for engine detection |
|
--ffield |
No |
ffield |
Path to ffield |
|
--params |
No |
params |
Path to optimization parameter bounds |
|
--fort13 |
No |
fort.13 |
Path to fort.13 |
|
--fort79 |
No |
fort.79 |
Path to fort.79 |
|
--fort99 |
No |
fort.99 |
Path to fort.99 |
|
--fort74 |
No |
fort.74 |
Path to fort.74 |
|
--trainset |
No |
trainset.in |
Path to trainset file |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--plot |
No |
|
Render a plot |
single, subplot, tornado, beeswarm |
--show |
No |
False |
Show the generated plot window |
|
--save |
No |
|
Save the generated plot to a file path |
|
--export |
No |
|
Write the result table to CSV |
|
--grid |
No |
|
Subplot grid like 2x2 or 2*2 |
|
--xaxis |
No |
|
Optional x-axis column override |
|
--export-all |
No |
|
Optional CSV path to export the full diagnostic table (useful with --report-most-sensitive). |
|
--vline |
No |
1.0 |
For tornado view, reference x-value for the guide line. |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
--log |
No |
|
Logging level |
verbose, quiet |
Command: parameter_optimization_tornado
Plot force-field optimization sensitivity diagnostics derived from fort.79.
Sensitivity values are the relative objective responses diff1/diff3, diff2/diff3, and diff4/diff3 for each force-field parameter.
Examples
1. Plot the widest sensitivity ranges as a tornado plot:
reaxkit get_ffield_diagnostics_sensitivity --plot tornado --top 10 --save sensitivity_tornado.png
2. Plot all sensitivity observations as a parameter-colored beeswarm:
reaxkit get_ffield_diagnostics_sensitivity --plot beeswarm --save sensitivity_beeswarm.png
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--interpret |
No |
False |
Use interpreted force-field section, term, and component labels when possible. |
|
--top |
No |
0 |
Keep the top-N parameters with the widest sensitivity spans; 0 keeps all. |
|
| Flag |
Required |
Default |
Help |
Choices |
--engine |
No |
|
|
reaxff, ams, lammps |
--input |
No |
. |
Input file or directory for engine resolution |
|
--run-dir, --dir |
No |
. |
Run directory fallback for engine detection |
|
--ffield |
No |
ffield |
Path to ffield |
|
--params |
No |
params |
Path to optimization parameter bounds |
|
--fort13 |
No |
fort.13 |
Path to fort.13 |
|
--fort79 |
No |
fort.79 |
Path to fort.79 |
|
--fort99 |
No |
fort.99 |
Path to fort.99 |
|
--fort74 |
No |
fort.74 |
Path to fort.74 |
|
--trainset |
No |
trainset.in |
Path to trainset file |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--plot |
No |
tornado |
Render a plot |
tornado, beeswarm |
--show |
No |
False |
Show the generated plot window |
|
--save |
No |
|
Save the generated plot to a file path |
|
--export |
No |
|
Write the result table to CSV |
|
--grid |
No |
|
Subplot grid like 2x2 or 2*2 |
|
--xaxis |
No |
|
Optional x-axis column override |
|
--vline |
No |
1.0 |
Reference sensitivity value drawn on tornado and beeswarm plots. |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
--log |
No |
|
Logging level |
verbose, quiet |
Command: get_ffield_opt_results
Get force-field optimization report data, which can be obtained from fort.99 file if using ReaxFF standalone code for ffield optimization.
This includes the values in training set and the values generated by the optimized ffield. Each report row is linked to its matching trainset line, group comment, and inline comment.
Examples
1. Getting all optimization report data and exporting to CSV:
reaxkit get_ffield_opt_results --export fort99.csv
Arguments
| Flag |
Required |
Default |
Help |
Choices |
--engine |
No |
|
|
reaxff, ams, lammps |
--input |
No |
. |
Input file or directory for engine resolution |
|
--run-dir, --dir |
No |
. |
Run directory fallback for engine detection |
|
--ffield |
No |
ffield |
Path to ffield |
|
--params |
No |
params |
Path to optimization parameter bounds |
|
--fort13 |
No |
fort.13 |
Path to fort.13 |
|
--fort79 |
No |
fort.79 |
Path to fort.79 |
|
--fort99 |
No |
fort.99 |
Path to fort.99 |
|
--fort74 |
No |
fort.74 |
Path to fort.74 |
|
--trainset |
No |
trainset.in |
Path to trainset file |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--plot |
No |
|
Render a plot |
single, subplot, tornado, beeswarm |
--show |
No |
False |
Show the generated plot window |
|
--save |
No |
|
Save the generated plot to a file path |
|
--export |
No |
|
Write the result table to CSV |
|
--grid |
No |
|
Subplot grid like 2x2 or 2*2 |
|
--xaxis |
No |
|
Optional x-axis column override |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
--log |
No |
|
Logging level |
verbose, quiet |
Command: get_ffield_opt_eos
Build paired ReaxFF-vs-QM/literature EOS data from optimization outputs.
EOS families are classified from trainset group/inline comments (EOS, Volume, or Bulk) and identifier families such as bulk_ and c11_. Restraint-comment groups are excluded.
Exports include ffield_value, qm_value, group_comment, and inline_comment; plots show both curves.
In single-plot mode, figures are grouped into material subfolders, for example eos_plots/mp_1008557/.
Examples
1. Getting the EOS data for a specific identifier (for example, MgO) and plotting energy vs volume curve:
reaxkit get_ffield_opt_eos --iden MgO --plot single
2. Getting the EOS data for all available identifiers and exporting it to CSV:
reaxkit get_ffield_opt_eos --iden all --export eos.csv
3. Getting the EOS data for all available identifiers, plotting one figure per identifier, and saving them to a directory:
reaxkit get_ffield_opt_eos --iden all --plot single --save eos_plots
4. Plotting all EOS curves as subplots in one figure:
reaxkit get_ffield_opt_eos --iden all --plot subplot --save eos.png
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--iden |
No |
|
Identifier (or base identifier) to keep; use 'all' for all rows. |
|
--flip-sign |
No |
False |
Flip sign of energy values before plotting/export. |
|
| Flag |
Required |
Default |
Help |
Choices |
--engine |
No |
|
|
reaxff, ams, lammps |
--input |
No |
. |
Input file or directory for engine resolution |
|
--run-dir, --dir |
No |
. |
Run directory fallback for engine detection |
|
--ffield |
No |
ffield |
Path to ffield |
|
--params |
No |
params |
Path to optimization parameter bounds |
|
--fort13 |
No |
fort.13 |
Path to fort.13 |
|
--fort79 |
No |
fort.79 |
Path to fort.79 |
|
--fort99 |
No |
fort.99 |
Path to fort.99 |
|
--fort74 |
No |
fort.74 |
Path to fort.74 |
|
--trainset |
No |
trainset.in |
Path to trainset file |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--plot |
No |
|
Render a plot |
single, subplot, tornado, beeswarm |
--show |
No |
False |
Show the generated plot window |
|
--save |
No |
|
Save plots. With --plot single, provide an output directory; with --plot subplot, provide one figure path. |
|
--export |
No |
|
Write the result table to CSV |
|
--grid |
No |
|
Subplot grid like 2x2 or 2*2 |
|
--xaxis |
No |
|
Optional x-axis column override |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
--log |
No |
|
Logging level |
verbose, quiet |
The figure below shows an example plot for the equation of state obtained using QM and ReaxFF optimized ffield data.

Figure: Sample plot for the equation of state obtained using QM and ReaxFF optimized ffield data.
Command: get_ffield_opt_bulk_modulus
Fit a Vinet bulk modulus from optimization report energy-volume data.
Examples
1. Fitting bulk modulus for a specific identifier (for example, MgO) and plotting the fitted curve:
reaxkit get_ffield_opt_bulk_modulus --iden bulk_0
2. Fitting bulk modulus for all available identifiers, exporting the fitted parameters to CSV:
reaxkit get_ffield_opt_bulk_modulus --iden all --export bulk_modulus.csv
3. Fitting bulk modulus for all available identifiers, plotting the fitted curves, and saving the plot.
Here we have used --flip-sign flag since some values where negative (sign convention) and we couldn't get the bulk modulus from them:
reaxkit get_ffield_opt_bulk_modulus --flip-sign --iden all --plot subplot --save bulk_modulus.png
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--iden |
No |
|
Optional base identifier to fit; use 'all' for all eligible bases. |
|
--no-shift-min-to-zero |
No |
False |
Do not shift minimum energy to zero before fitting. |
|
--flip-sign |
No |
False |
Flip sign of energy values before fitting. |
|
--min-points |
No |
6 |
Minimum number of finite points required per base identifier. |
|
| Flag |
Required |
Default |
Help |
Choices |
--engine |
No |
|
|
reaxff, ams, lammps |
--input |
No |
. |
Input file or directory for engine resolution |
|
--run-dir, --dir |
No |
. |
Run directory fallback for engine detection |
|
--ffield |
No |
ffield |
Path to ffield |
|
--params |
No |
params |
Path to optimization parameter bounds |
|
--fort13 |
No |
fort.13 |
Path to fort.13 |
|
--fort79 |
No |
fort.79 |
Path to fort.79 |
|
--fort99 |
No |
fort.99 |
Path to fort.99 |
|
--fort74 |
No |
fort.74 |
Path to fort.74 |
|
--trainset |
No |
trainset.in |
Path to trainset file |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--plot |
No |
|
Render a plot |
single, subplot, tornado, beeswarm |
--show |
No |
False |
Show the generated plot window |
|
--save |
No |
|
Save the generated plot to a file path |
|
--export |
No |
|
Write the result table to CSV |
|
--grid |
No |
|
Subplot grid like 2x2 or 2*2 |
|
--xaxis |
No |
|
Optional x-axis column override |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
--log |
No |
|
Logging level |
verbose, quiet |
Command: merge-ffield
Merge selected atom-type parameter blocks from one ffield into another.
For eaxmple, if ffield 1 contains 'C,H,O,N,S' elements and ffield 2 contains 'C,H,O,N,Al,He' elements, then merging Al from ffield 2 into ffield 1 leads to adding all C-Al, H-Al, O-Al, N-Al, and Al-Al bond terms (and same for other fields like angle, etc.) but not S-Al by default.
Examples
1. Merging all blocks for atom type W from ffield_src into ffield_dst:
reaxkit merge-ffield --src ffield_src --dest ffield_dst --output ffield_merged --atom-types W
2. Merging all blocks for atom types W and Mo from ffield_src into ffield_dst, but only for selected fields:
reaxkit merge-ffield --source f_src --destination f_dst --output merged --atom-types W,Mo --fields atom,bond,angle,torsion
3. Same as above, but with automatic filling of missing terms for the merged atom types by templating from the most similar atom in destination, where similarity is defined by belonging to the same chemical family (for example, transition metal, halogen, noble gas, etc. See --template-similarity options for more details):
reaxkit merge-ffield --source f_src --destination f_dst --output ffield_merged --atom-types W,Mo --fields atom,bond,angle,torsion --fill-missing-with-template --template-similarity family
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--atom-types |
Yes |
|
Comma-separated source atom symbols to merge, for example: W or W,Mo |
|
--keep-atoms-in-dest |
No |
|
Comma-separated destination atom symbols to retain before merging, for example: Al,N. All other destination atoms and parameter rows involving them are removed. |
|
--fill-missing-with-template |
No |
False |
After direct merge, fill missing terms for merged atom-types by templating from the most similar atom in destination. |
|
--template-similarity |
No |
group |
Similarity rule for template-atom selection: 1. 'family' = chemical family match (transition_metal, lanthanoid, actinoid, alkali_metal, alkaline_earth_metal, halogen, noble_gas, metalloid, post_transition_metal, other), 2. 'group' = same periodic-table group number (column), 3. 'radius' = closest by atomic/covalent-proxy/van-der-Waals radii distance. Priority order for selecting the single template atom is: 1. manual override by --closest-atom, 2. similarity by --similarity mode, where priority is family > group > radius, meaning for example that if --similarity group is selected, the most similar atom will be the one with the same group number, and if multiple candidates have the same group number, then similarity by radius will be used to break ties, and so on. 3. if multiple candidates are tied by similarity, the one with the smallest radius distance (if radius metrics are available) is chosen |
family, group, radius |
--template-closest-atom |
No |
|
Manual destination template atom override for --fill-missing-with-template, for example: B |
|
--template-radius-metrics |
No |
atomic_radius,covalent_radius,van_der_waals_radius |
Radius metrics for template selection when --template-similarity radius. Use 'all' or a CSV subset of: atomic_radius,covalent_radius,van_der_waals_radius,atomic_radius_calculated,average_ionic_radius,average_cationic_radius,average_anionic_radius. |
|
--fields |
No |
atom,bond,off_diagonal,angle,torsion,hbond |
Comma-separated fields to process: atom,bond,off_diagonal,angle,torsion,hbond |
|
--disallow-torsion-wildcard |
No |
False |
Reject torsion rows containing atom index 0 wildcard. |
|
| Flag |
Required |
Default |
Help |
Choices |
--source, --src |
Yes |
|
Source ffield path |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--destination, --dest |
Yes |
|
Destination ffield path |
|
--output |
No |
ffield_merged |
Output merged ffield path |
|
--report-format |
No |
both |
Write merge-detail report files next to output ffield. |
none, txt, csv, both |
--copy-to-dot |
No |
False |
Also copy generated output to current directory |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--replace-existing |
No |
False |
Replace destination rows when the same atom tuple already exists. |
|
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
Command: merge_ffield
Merge selected atom-type parameter blocks from one ffield into another.
For eaxmple, if ffield 1 contains 'C,H,O,N,S' elements and ffield 2 contains 'C,H,O,N,Al,He' elements, then merging Al from ffield 2 into ffield 1 leads to adding all C-Al, H-Al, O-Al, N-Al, and Al-Al bond terms (and same for other fields like angle, etc.) but not S-Al by default.
Examples
1. Merging all blocks for atom type W from ffield_src into ffield_dst:
reaxkit merge-ffield --src ffield_src --dest ffield_dst --output ffield_merged --atom-types W
2. Merging all blocks for atom types W and Mo from ffield_src into ffield_dst, but only for selected fields:
reaxkit merge-ffield --source f_src --destination f_dst --output merged --atom-types W,Mo --fields atom,bond,angle,torsion
3. Same as above, but with automatic filling of missing terms for the merged atom types by templating from the most similar atom in destination, where similarity is defined by belonging to the same chemical family (for example, transition metal, halogen, noble gas, etc. See --template-similarity options for more details):
reaxkit merge-ffield --source f_src --destination f_dst --output ffield_merged --atom-types W,Mo --fields atom,bond,angle,torsion --fill-missing-with-template --template-similarity family
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--atom-types |
Yes |
|
Comma-separated source atom symbols to merge, for example: W or W,Mo |
|
--keep-atoms-in-dest |
No |
|
Comma-separated destination atom symbols to retain before merging, for example: Al,N. All other destination atoms and parameter rows involving them are removed. |
|
--fill-missing-with-template |
No |
False |
After direct merge, fill missing terms for merged atom-types by templating from the most similar atom in destination. |
|
--template-similarity |
No |
group |
Similarity rule for template-atom selection: 1. 'family' = chemical family match (transition_metal, lanthanoid, actinoid, alkali_metal, alkaline_earth_metal, halogen, noble_gas, metalloid, post_transition_metal, other), 2. 'group' = same periodic-table group number (column), 3. 'radius' = closest by atomic/covalent-proxy/van-der-Waals radii distance. Priority order for selecting the single template atom is: 1. manual override by --closest-atom, 2. similarity by --similarity mode, where priority is family > group > radius, meaning for example that if --similarity group is selected, the most similar atom will be the one with the same group number, and if multiple candidates have the same group number, then similarity by radius will be used to break ties, and so on. 3. if multiple candidates are tied by similarity, the one with the smallest radius distance (if radius metrics are available) is chosen |
family, group, radius |
--template-closest-atom |
No |
|
Manual destination template atom override for --fill-missing-with-template, for example: B |
|
--template-radius-metrics |
No |
atomic_radius,covalent_radius,van_der_waals_radius |
Radius metrics for template selection when --template-similarity radius. Use 'all' or a CSV subset of: atomic_radius,covalent_radius,van_der_waals_radius,atomic_radius_calculated,average_ionic_radius,average_cationic_radius,average_anionic_radius. |
|
--fields |
No |
atom,bond,off_diagonal,angle,torsion,hbond |
Comma-separated fields to process: atom,bond,off_diagonal,angle,torsion,hbond |
|
--disallow-torsion-wildcard |
No |
False |
Reject torsion rows containing atom index 0 wildcard. |
|
| Flag |
Required |
Default |
Help |
Choices |
--source, --src |
Yes |
|
Source ffield path |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--destination, --dest |
Yes |
|
Destination ffield path |
|
--output |
No |
ffield_merged |
Output merged ffield path |
|
--report-format |
No |
both |
Write merge-detail report files next to output ffield. |
none, txt, csv, both |
--copy-to-dot |
No |
False |
Also copy generated output to current directory |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--replace-existing |
No |
False |
Replace destination rows when the same atom tuple already exists. |
|
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
Command: add-element-to-ffield
Add one atom type to an existing ffield and assign parameters of a very similar atom in the ffield as template parameters. This is intended as a quick way to expand coverage of an existing ffield by cloning the most similar existing atom terms.
Examples
1. Adding element 'Al' to a ffield by copying parameters of the most similar existing atom, automatically selected by group/family/radius similarity:
reaxkit add-element-to-ffield --dest ffield --element Al --output ffield_al
2. Same as above, but this time the similarity measure is explicitly passed using --similarity flag. Now, the most similar atom is the one with the same periodic-table group (column):
reaxkit add-element-to-ffield --dest ffield --element Al --similarity group --fields atom,bond,angle
3. This time, not all fields are selected to get copied for the new element:
reaxkit add-element-to-ffield --dest ffield --element Al --fields atom,bond,angle
4. the most similar atom is explicitly selected using --closest-atom flag
reaxkit add-element-to-ffield --dest ffield --element Al --closest-atom B
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--element |
Yes |
|
Element symbol to add, for example: Al |
|
--similarity |
No |
group |
Similarity rule for template-atom selection: 1. 'family' = chemical family match (transition_metal, lanthanoid, actinoid, alkali_metal, alkaline_earth_metal, halogen, noble_gas, metalloid, post_transition_metal, other), 2. 'group' = same periodic-table group number (column), 3. 'radius' = closest by atomic/covalent-proxy/van-der-Waals radii distance. Priority order for selecting the single template atom is: 1. manual override by --closest-atom, 2. similarity by --similarity mode, where priority is family > group > radius, meaning for example that if --similarity group is selected, the most similar atom will be the one with the same group number, and if multiple candidates have the same group number, then similarity by radius will be used to break ties, and so on. 3. if multiple candidates are tied by similarity, the one with the smallest radius distance (if radius metrics are available) is chosen |
group, family, radius |
--radius-metrics |
No |
atomic_radius,covalent_radius,van_der_waals_radius |
Comma-separated radius metrics used when --similarity radius is selected. Use 'all' to include every supported metric. Options: 1. atomic_radius (empirical neutral-atom radius), 2. covalent_radius (mapped to pymatgen atomic_radius_calculated proxy), 3. van_der_waals_radius (non-bonded contact radius), 4. atomic_radius_calculated (theoretical neutral-atom radius), 5. average_ionic_radius (mean ionic radius over known oxidation states), 6. average_cationic_radius (mean radius over positive oxidation states), 7. average_anionic_radius (mean radius over negative oxidation states). |
|
--closest-atom |
No |
|
Override automatic selection and force template atom symbol, for example: B |
|
--fields |
No |
atom,bond,off_diagonal,angle,torsion,hbond |
Comma-separated fields to process: atom,bond,off_diagonal,angle,torsion,hbond |
|
--disallow-torsion-wildcard |
No |
False |
Reject torsion rows containing atom index 0 wildcard. |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--destination, --dest |
Yes |
|
Destination ffield path |
|
--output |
No |
ffield_with_element |
Output expanded ffield path |
|
--report-format |
No |
both |
Write merge-detail report files next to output ffield. |
none, txt, csv, both |
--copy-to-dot |
No |
False |
Also copy generated output to current directory |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--replace-existing |
No |
False |
Replace destination rows when the same atom tuple already exists. |
|
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
Command: add_element_to_ffield
Add one atom type to an existing ffield and assign parameters of a very similar atom in the ffield as template parameters. This is intended as a quick way to expand coverage of an existing ffield by cloning the most similar existing atom terms.
Examples
1. Adding element 'Al' to a ffield by copying parameters of the most similar existing atom, automatically selected by group/family/radius similarity:
reaxkit add-element-to-ffield --dest ffield --element Al --output ffield_al
2. Same as above, but this time the similarity measure is explicitly passed using --similarity flag. Now, the most similar atom is the one with the same periodic-table group (column):
reaxkit add-element-to-ffield --dest ffield --element Al --similarity group --fields atom,bond,angle
3. This time, not all fields are selected to get copied for the new element:
reaxkit add-element-to-ffield --dest ffield --element Al --fields atom,bond,angle
4. the most similar atom is explicitly selected using --closest-atom flag
reaxkit add-element-to-ffield --dest ffield --element Al --closest-atom B
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--element |
Yes |
|
Element symbol to add, for example: Al |
|
--similarity |
No |
group |
Similarity rule for template-atom selection: 1. 'family' = chemical family match (transition_metal, lanthanoid, actinoid, alkali_metal, alkaline_earth_metal, halogen, noble_gas, metalloid, post_transition_metal, other), 2. 'group' = same periodic-table group number (column), 3. 'radius' = closest by atomic/covalent-proxy/van-der-Waals radii distance. Priority order for selecting the single template atom is: 1. manual override by --closest-atom, 2. similarity by --similarity mode, where priority is family > group > radius, meaning for example that if --similarity group is selected, the most similar atom will be the one with the same group number, and if multiple candidates have the same group number, then similarity by radius will be used to break ties, and so on. 3. if multiple candidates are tied by similarity, the one with the smallest radius distance (if radius metrics are available) is chosen |
group, family, radius |
--radius-metrics |
No |
atomic_radius,covalent_radius,van_der_waals_radius |
Comma-separated radius metrics used when --similarity radius is selected. Use 'all' to include every supported metric. Options: 1. atomic_radius (empirical neutral-atom radius), 2. covalent_radius (mapped to pymatgen atomic_radius_calculated proxy), 3. van_der_waals_radius (non-bonded contact radius), 4. atomic_radius_calculated (theoretical neutral-atom radius), 5. average_ionic_radius (mean ionic radius over known oxidation states), 6. average_cationic_radius (mean radius over positive oxidation states), 7. average_anionic_radius (mean radius over negative oxidation states). |
|
--closest-atom |
No |
|
Override automatic selection and force template atom symbol, for example: B |
|
--fields |
No |
atom,bond,off_diagonal,angle,torsion,hbond |
Comma-separated fields to process: atom,bond,off_diagonal,angle,torsion,hbond |
|
--disallow-torsion-wildcard |
No |
False |
Reject torsion rows containing atom index 0 wildcard. |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--destination, --dest |
Yes |
|
Destination ffield path |
|
--output |
No |
ffield_with_element |
Output expanded ffield path |
|
--report-format |
No |
both |
Write merge-detail report files next to output ffield. |
none, txt, csv, both |
--copy-to-dot |
No |
False |
Also copy generated output to current directory |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--replace-existing |
No |
False |
Replace destination rows when the same atom tuple already exists. |
|
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
Command: add-term-to-ffield
Add one specific missing term (bond/off_diagonal/angle/torsion/hbond) to an existing ffield by copying parameters from a similar existing template term.
Examples
1. Adding angle term 'Al-N-Al' to a ffield by copying parameters of the most similar existing angle, automatically selected by similarity:
reaxkit add-term-to-ffield --dest ffield --field angle --term Al-N-Al --output ffield_with_term
2. Same as above, but this time manual mapping for Al atom is done to B:
reaxkit add-term-to-ffield --dest ffield --field angle --term Al-N-Al --template-map Al:B
3. This time, the most similar template term is explicitly selected using --closest-term flag
reaxkit add-term-to-ffield --dest ffield --field angle --term Al-N-Al --closest-term B-N-B
4. Restrict candidate template terms to those with the same general order pattern (X-Y-X vs X-Y-Z), which can be important for angle and torsion terms. For example, if --same-general-order is selected, then the template term for Al-N-Al will be restricted to angle terms of the form X-Y-X, and angle terms of the form X-Y-Z will not be considered as templates even if they are similar by other criteria.
reaxkit add-term-to-ffield --dest ffield --field angle --term Al-N-Al --same-general-order --output ffield_with_term
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--field |
Yes |
|
Target section for the term. |
bond, off_diagonal, angle, torsion, hbond |
--term |
Yes |
|
Hyphen-separated atom symbols, for example: Al-N-Al |
|
--closest-term, --closest_term |
No |
|
Explicit template term override, for example: B-N-B |
|
--similarity |
No |
group |
Similarity rule for template-atom selection: 1. 'family' = chemical family match (transition_metal, lanthanoid, actinoid, alkali_metal, alkaline_earth_metal, halogen, noble_gas, metalloid, post_transition_metal, other), 2. 'group' = same periodic-table group number (column), 3. 'radius' = closest by atomic/covalent-proxy/van-der-Waals radii distance. Priority order for selecting the single template atom is: 1. manual override by --closest-atom, 2. similarity by --similarity mode, where priority is family > group > radius, meaning for example that if --similarity group is selected, the most similar atom will be the one with the same group number, and if multiple candidates have the same group number, then similarity by radius will be used to break ties, and so on. 3. if multiple candidates are tied by similarity, the one with the smallest radius distance (if radius metrics are available) is chosen |
family, group, radius |
--radius-metrics |
No |
atomic_radius,covalent_radius,van_der_waals_radius |
Comma-separated radius metrics used when --similarity radius is selected. Use 'all' to include every supported metric. |
|
--same-general-order |
No |
False |
Restrict candidate template terms to those with the same equality/order pattern as --term (example for angle: X-Y-X vs X-Y-Y). |
|
--fields |
No |
atom,bond,off_diagonal,angle,torsion,hbond |
Comma-separated fields to process: atom,bond,off_diagonal,angle,torsion,hbond |
|
--disallow-torsion-wildcard |
No |
False |
Reject torsion rows containing atom index 0 wildcard. |
|
| Flag |
Required |
Default |
Help |
Choices |
--template-map |
No |
|
Optional per-atom manual template mapping CSV, for example: Al:B,N:N |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--destination, --dest |
Yes |
|
Destination ffield path |
|
--output |
No |
ffield_with_term |
Output expanded ffield path |
|
--report-format |
No |
both |
Write merge-detail report files next to output ffield. |
none, txt, csv, both |
--copy-to-dot |
No |
False |
Also copy generated output to current directory |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--replace-existing |
No |
False |
Replace destination row when the same atom tuple already exists. |
|
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
Command: add_term_to_ffield
Add one specific missing term (bond/off_diagonal/angle/torsion/hbond) to an existing ffield by copying parameters from a similar existing template term.
Examples
1. Adding angle term 'Al-N-Al' to a ffield by copying parameters of the most similar existing angle, automatically selected by similarity:
reaxkit add-term-to-ffield --dest ffield --field angle --term Al-N-Al --output ffield_with_term
2. Same as above, but this time manual mapping for Al atom is done to B:
reaxkit add-term-to-ffield --dest ffield --field angle --term Al-N-Al --template-map Al:B
3. This time, the most similar template term is explicitly selected using --closest-term flag
reaxkit add-term-to-ffield --dest ffield --field angle --term Al-N-Al --closest-term B-N-B
4. Restrict candidate template terms to those with the same general order pattern (X-Y-X vs X-Y-Z), which can be important for angle and torsion terms. For example, if --same-general-order is selected, then the template term for Al-N-Al will be restricted to angle terms of the form X-Y-X, and angle terms of the form X-Y-Z will not be considered as templates even if they are similar by other criteria.
reaxkit add-term-to-ffield --dest ffield --field angle --term Al-N-Al --same-general-order --output ffield_with_term
Arguments
Scientific choices
| Flag |
Required |
Default |
Help |
Choices |
--field |
Yes |
|
Target section for the term. |
bond, off_diagonal, angle, torsion, hbond |
--term |
Yes |
|
Hyphen-separated atom symbols, for example: Al-N-Al |
|
--closest-term, --closest_term |
No |
|
Explicit template term override, for example: B-N-B |
|
--similarity |
No |
group |
Similarity rule for template-atom selection: 1. 'family' = chemical family match (transition_metal, lanthanoid, actinoid, alkali_metal, alkaline_earth_metal, halogen, noble_gas, metalloid, post_transition_metal, other), 2. 'group' = same periodic-table group number (column), 3. 'radius' = closest by atomic/covalent-proxy/van-der-Waals radii distance. Priority order for selecting the single template atom is: 1. manual override by --closest-atom, 2. similarity by --similarity mode, where priority is family > group > radius, meaning for example that if --similarity group is selected, the most similar atom will be the one with the same group number, and if multiple candidates have the same group number, then similarity by radius will be used to break ties, and so on. 3. if multiple candidates are tied by similarity, the one with the smallest radius distance (if radius metrics are available) is chosen |
family, group, radius |
--radius-metrics |
No |
atomic_radius,covalent_radius,van_der_waals_radius |
Comma-separated radius metrics used when --similarity radius is selected. Use 'all' to include every supported metric. |
|
--same-general-order |
No |
False |
Restrict candidate template terms to those with the same equality/order pattern as --term (example for angle: X-Y-X vs X-Y-Y). |
|
--fields |
No |
atom,bond,off_diagonal,angle,torsion,hbond |
Comma-separated fields to process: atom,bond,off_diagonal,angle,torsion,hbond |
|
--disallow-torsion-wildcard |
No |
False |
Reject torsion rows containing atom index 0 wildcard. |
|
| Flag |
Required |
Default |
Help |
Choices |
--template-map |
No |
|
Optional per-atom manual template mapping CSV, for example: Al:B,N:N |
|
Outputs and plots
| Flag |
Required |
Default |
Help |
Choices |
--destination, --dest |
Yes |
|
Destination ffield path |
|
--output |
No |
ffield_with_term |
Output expanded ffield path |
|
--report-format |
No |
both |
Write merge-detail report files next to output ffield. |
none, txt, csv, both |
--copy-to-dot |
No |
False |
Also copy generated output to current directory |
|
--detail-format |
No |
|
Optional detail format (default: Parquet; legacy: CSV). |
parquet, csv |
Execution
| Flag |
Required |
Default |
Help |
Choices |
--execution |
No |
auto |
Execution backend; unsupported backends fall back to serial with a logged reason. |
auto, serial, threads, processes |
--workers |
No |
0 |
Frame workers: auto or N (default: auto). |
|
--chunk-size |
No |
0 |
Maximum in-flight frames: auto or N. |
|
Storage and cache
| Flag |
Required |
Default |
Help |
Choices |
--replace-existing |
No |
False |
Replace destination row when the same atom tuple already exists. |
|
--run-id |
No |
|
Run identifier for run-scoped layout. Example: --run-id run_91ac0e, which reuses that run identifier. |
|
--project-root |
No |
reaxkit_workspace |
Project root that contains inputs/, data/, analysis/, etc. Example: --project-root ./workspace, which stores run artifacts there. |
|
--analysis-id |
No |
|
Optional analysis artifact id; defaults to run id. Example: --analysis-id comparison-a, which names the analysis artifact explicitly. |
|
--input-cache, --no-input-cache |
No |
True |
Reuse parsed input frames across commands (default: enabled; use --no-input-cache to force source reads for reproducibility checks or benchmarks). Example: --no-input-cache, which reloads frames from their source files. |
|
--frame-cache-max-gb |
No |
10.0 |
Maximum workspace frame-cache size in GiB (default: 10; use 0 for unlimited). Example: --frame-cache-max-gb 20, which caps cached frames at 20 GiB. |
|
--output-profile |
No |
standard |
Select the shared artifact policy. Standard writes declared default outputs; minimal keeps core tables; full and legacy include optional details. Default: standard. Example: --output-profile full, which includes declared optional detail tables. |
minimal, standard, full, legacy |
Diagnostics and compatibility
| Flag |
Required |
Default |
Help |
Choices |
-h, --help |
No |
|
show this help message and exit |
|
--help-all, --all-flags |
No |
|
Show every option, grouped by purpose. |
|
Common Runtime and Presentation Arguments
These are shared workflow-level CLI flags added before command-specific options, covering runtime context (engine/input/storage) and output presentation/export behavior.
Each command table above includes its shared and inherited options.