Diatomic molecule model