Skip to content
Snippets Groups Projects
Commit e087f98d authored by Henning Glawe's avatar Henning Glawe
Browse files

propagate total and fermi energies from last iteration

parent 0c067750
No related branches found
No related tags found
No related merge requests found
...@@ -627,6 +627,15 @@ class ParserFplo14(object): ...@@ -627,6 +627,15 @@ class ParserFplo14(object):
self, backend, gIndex, section): self, backend, gIndex, section):
backend.addValue('single_configuration_calculation_to_system_ref', self.sectionIdx['system']) backend.addValue('single_configuration_calculation_to_system_ref', self.sectionIdx['system'])
backend.addValue('single_configuration_to_calculation_method_ref', self.sectionIdx['method']) backend.addValue('single_configuration_to_calculation_method_ref', self.sectionIdx['method'])
scf_iter = self.section['scf_iteration']
backend.addValue(
'energy_total',
scf_iter['energy_total_scf_iteration'][-1]
)
backend.addArrayValues(
'energy_reference_fermi',
np.array(scf_iter['energy_reference_fermi_iteration'][-1])
)
def initialize_values(self): def initialize_values(self):
"""allows to reset values if the same superContext is used to parse """allows to reset values if the same superContext is used to parse
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment