Source code for matchest.cli.geomconv

"""
Getting geometry optimization convergence information

Analyze VASP geometry optimization convergence from OUTCAR file.

This module provides a function to extract and analyze convergence information
from a VASP OUTCAR file, including energy, forces, stress, computational time,
and convergence status.

Based on Fortran code written by Yida Yang

Functions
---------
analyze_vasp_convergence(outcar_file: str) -> None
    Analyze VASP convergence from OUTCAR file and print results.
"""

import re
from typing import List

import numpy as np