Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
jrudz committed Jun 13, 2024
1 parent f61bec1 commit 06c8630
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/nomad_simulations/energies.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class ExternalEnergy(PhysicalProperty):
def normalize(self, archive, logger) -> None:
super().normalize(archive, logger)

class EnergyContributionsClassical(PhysicalProperty):
class ClassicalEnergyContributions(PhysicalProperty):
"""
Section containing contributions to the potential energy from a classical force field.
"""
Expand Down Expand Up @@ -481,7 +481,7 @@ def normalize(self, archive, logger) -> None:
super().normalize(archive, logger)


class EnergyTotalContributionsQuantum(EnergyContributions):
class QuantumEnergyContributions(EnergyContributions):
"""
Section containing contributions to the potential energy from a DFT calculation.
"""
Expand Down Expand Up @@ -511,7 +511,7 @@ class EnergyTotalContributionsQuantum(EnergyContributions):
# Other / General energies
##########################

class EnergyTotal(PhysicalProperty):
class TotalEnergy(PhysicalProperty):
"""
Section containing the total energy of a (sub)system.
"""
Expand All @@ -525,9 +525,9 @@ class EnergyTotal(PhysicalProperty):
)
# ? Do we need these descriptions under value? It ends up simply duplicating the section info to some extent.

classical_contributions = SubSection(sub_section=EnergyContributionsClassical.m_def, repeats=False)
classical_contributions = SubSection(sub_section=ClassicalEnergyContributions.m_def, repeats=False)

quantum_contributions = SubSection(sub_section=EnergyTotalContributionsQuantum.m_def, repeats=False)
quantum_contributions = SubSection(sub_section=QuantumEnergyContributions.m_def, repeats=False)

def normalize(self, archive, logger) -> None:
super().normalize(archive, logger)
Expand Down

0 comments on commit 06c8630

Please sign in to comment.