NQCD / NQCModels.jl

Interface for defining model systems for nonadiabatic dynamics
MIT License
7 stars 1 forks source link

Extra model attributes #4

Closed jamesgardner1421 closed 3 years ago

jamesgardner1421 commented 3 years ago

Models could implement dofs(::Model) since the model should specify how many degrees of freedom it expects.

This would allow us to have potentials and derivatives for 1D models that can expect single values rather than a 1x1 matrix.

Could also have nstates(::Model) to make it clearer than having an internal field.