@staticmethod
def get_all_total_energies(filename='OUTCAR', lines=None):
    '\n        Gets the energy at every electronic step\n\n        Args:\n            filename (str): Filename of the OUTCAR file to parse\n            lines (list/None): lines read from the file\n\n        Returns:\n            list: A list of energie for every electronic step at every ionic step\n        '
    ionic_trigger = 'FREE ENERGIE OF THE ION-ELECTRON SYSTEM (eV)'
    electronic_trigger = 'free energy    TOTEN  ='
    scf_energies = list()
    lines = _get_lines_from_file(filename=filename, lines=lines)
    istep_energies = list()
    for (i, line) in enumerate(lines):
        line = line.strip()
        if (ionic_trigger in line):
            scf_energies.append(np.array(istep_energies))
            istep_energies = list()
        if (electronic_trigger in line):
            line = _clean_line(line)
            ene = float(line.split()[(- 2)])
            istep_energies.append(ene)
    return scf_energies
Gets the energy at every electronic step

Args:
    filename (str): Filename of the OUTCAR file to parse
    lines (list/None): lines read from the file

Returns:
    list: A list of energie for every electronic step at every ionic step
@staticmethod
def get_all_total_energies(filename='OUTCAR', lines=None):
    '\n        Gets the energy at every electronic step\n\n        Args:\n            filename (str): Filename of the OUTCAR file to parse\n            lines (list/None): lines read from the file\n\n        Returns:\n            list: A list of energie for every electronic step at every ionic step\n        '
    ionic_trigger = 'FREE ENERGIE OF THE ION-ELECTRON SYSTEM (eV)'
    electronic_trigger = 'free energy    TOTEN  ='
    scf_energies = list()
    lines = _get_lines_from_file(filename=filename, lines=lines)
    istep_energies = list()
    for (i, line) in enumerate(lines):
        line = line.strip()
        if (ionic_trigger in line):
            scf_energies.append(np.array(istep_energies))
            istep_energies = list()
        if (electronic_trigger in line):
            line = _clean_line(line)
            ene = float(line.split()[(- 2)])
            istep_energies.append(ene)
    return scf_energies