Skip to content

Fort7 Repair Engine Utility

Utilities to repair corrupted ReaxFF fort.7 atom rows.

Usage context

  • Template generation: Produce canonical text payloads for ReaxFF artifacts.
  • File writing: Persist generated outputs to disk with stable formatting.
  • Workflow integration: Support higher-level ReaxKit workflow commands.

Function: repair_fort7

Repair fort7.

Parameters:

Name Type Description Default
input_file str | Path

Input parameter.

'fort.7'
output_file str | Path

Input parameter.

'fort7_fixed'
progress_every int

Keyword-only parameter.

5000

Returns:

Type Description
dict[str, Any]

Return value.

Examples:

# Example
repair_fort7(...)