__init__

Outcar.__init__(filepath: str | Path)[source]

Constructor method to initialize an Outcar object. Reads the file specified by filename and stores its content.

Parameters:

filename (Union[str, Path], optional) – The OUTCAR filename. If not provided, defaults to “OUTCAR”.