Skip to content

Commit

Permalink
Add constrain energy to schema.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mlund committed May 17, 2024
1 parent fb23896 commit 5e23063
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,35 @@ properties:
items: {type: object}
additionalProperties: false

constrain:
description: "Constrain via a reaction coordinate"
type: object
properties:
type:
description: "Reaction coordinate class"
type: string
items: {"system", "molecule", "atom"}
property:
description: "Reaction coordinate property"
type: string
range:
description: "Allowed range of reaction coord. value"
type: array
minItems: 2
maxItems: 2
harmonic:
description: "Alternatively, use a hamonic potential to constain reaction coord. value"
type: object
properties:
req: {type: number, description: "Equilibrium value for reaction coordinate"}
k: {type: number, description: "Spring constant in kJ/mol"}
additionalProperties: false
required: [type, property]
oneOf:
- required: [range]
- required: [harmonic]
additionalProperties: false

nonbonded:
description: "Nonbonded interactions"
type: object
Expand Down

0 comments on commit 5e23063

Please sign in to comment.