Skip to content

Instantly share code, notes, and snippets.

View adeolaex's full-sized avatar

Adeola Kola-Olaleye adeolaex

View GitHub Profile
// Simplified model with only 3 types of interactions
//
// The following parameters will be extracted from another program module.
//
// Here, the physical parameters for methanol are given.
// Stretching force constants:
const K = [340.0, 340.0, 340.0, 320.0, 553.0];
// Ideal bond distances
const re = [1.09, 1.09, 1.09, 1.41, 0.945];
// Deformation force constants (for angles):