Constraint Algorithm Parameters

SPONGE 2.0 documentation: Constraint Algorithm Parameters.

Organized by GPT-6-Astra. SPONGE 2.0 is under active, iterative development; features, parameters, and documentation may change. Consult the GitHub repository’s docs and skills for the latest version information.

Source snapshot for this page.

Constraint Algorithm Parameters

Constraint Mode

ParameterTypeDefaultDescription
constrain_modestringnone (constraints disabled)Constraint algorithm

constrain_mode options:

ValueDescription
"SETTLE"SETTLE algorithm, specialized for rigid water molecules (triangle constraints)
"SHAKE"SHAKE algorithm, general bond length constraints

The base constraint list is configured through the [constrain] prefix:

constrain_mode = "SHAKE"

[constrain]
mass = 3.3

SETTLE Parameters

ParameterTypeDefaultDescription
settle_disableboolfalseTop-level flag that disables SETTLE entirely

SHAKE Parameters

ParameterScopeTypeDefaultDescription
iteration_numbersSHAKEint25Maximum SHAKE iteration count
step_lengthSHAKEfloat1.0SHAKE step length / damping factor

[constrain] Parameters

ParameterScopeTypeDefaultDescription
in_fileconstrainstring-Extra bond-constraint list file
massconstrainfloat3.3, or 0.0 when in_file is setAuto-constrain bonds involving atoms lighter than this threshold
angleconstrainboolfalseReserved, currently not implemented