Skip to content

Commit

Permalink
Rename Optimization to StructuralOptimization but create an alias
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti committed Nov 19, 2023
1 parent 2560318 commit 0cfd420
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ExpressBase/src/ExpressBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ struct DFTPlusU <: ElectronicStructure end
abstract type MolecularDynamics <: Calculation end
struct IonDynamics <: MolecularDynamics end
struct VariableCellMolecularDynamics <: MolecularDynamics end
# Optimization
abstract type Optimization <: Calculation end
struct FixedCellOptimization <: Optimization end
struct VariableCellOptimization <: Optimization end
# Structural optimization
abstract type StructuralOptimization <: Calculation end
struct FixedCellOptimization <: StructuralOptimization end
struct VariableCellOptimization <: StructuralOptimization end
# Phonon
abstract type LatticeDynamics <: Calculation end
struct LinearResponse <: LatticeDynamics end
Expand All @@ -49,6 +49,7 @@ struct QuasiHarmonicApproximation <: Calculation end
const SCF = SelfConsistentField
const NSCF = NonSelfConsistentField
const FixedIonSelfConsistentField = SelfConsistentField
const Optimization = StructuralOptimization
const VDOS = PhononDensityOfStates
const ZoneCentrePhonons = ZoneCenterPhonons # For British users
const QHA = QuasiHarmonicApproximation
Expand Down

0 comments on commit 0cfd420

Please sign in to comment.