@staticmethod
def get_energy_without_entropy(filename='OUTCAR', lines=None):
    '\n        Gets the total energy for every ionic step from the OUTCAR file\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            numpy.ndarray: A 1xM array of the total energies in $eV$\n\n            where M is the number of time steps\n        '

    def get_energy_without_entropy_from_line(line):
        return float(_clean_line(line.strip()).split()[3])
    (trigger_indices, lines) = _get_trigger(lines=lines, filename=filename, trigger='FREE ENERGIE OF THE ION-ELECTRON SYSTEM (eV)')
    return np.array([get_energy_without_entropy_from_line(lines[(j + 4)]) for j in trigger_indices])
Gets the total energy for every ionic step from the OUTCAR file

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

Returns:
    numpy.ndarray: A 1xM array of the total energies in $eV$

    where M is the number of time steps
@staticmethod
def get_energy_without_entropy(filename='OUTCAR', lines=None):
    '\n        Gets the total energy for every ionic step from the OUTCAR file\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            numpy.ndarray: A 1xM array of the total energies in $eV$\n\n            where M is the number of time steps\n        '

    def get_energy_without_entropy_from_line(line):
        return float(_clean_line(line.strip()).split()[3])
    (trigger_indices, lines) = _get_trigger(lines=lines, filename=filename, trigger='FREE ENERGIE OF THE ION-ELECTRON SYSTEM (eV)')
    return np.array([get_energy_without_entropy_from_line(lines[(j + 4)]) for j in trigger_indices])