xnn.hybnn.models.byteff.PolarizableHead#
- class xnn.hybnn.models.byteff.PolarizableHead(node_dim, edge_dim, pre=(256, 256, 3), out=(256, 3), charge_bound=4.0, lithium_volume=13.0, lithium_alpha=1e-06, lithium_damping=0.2, damping_floor=1e-06, lambda_scale=5.0, c6_scale=1000.0, activation='gelu')[source]#
Bases:
ModuleCharges and the exp-6, polarization and charge-transfer parameters (ByteFF-Pol).
The effective atomic volume
Vscales the free-atom values:C6 = C6_free (V/V_free)^2,alpha = alpha_free (V/V_free)^(4/3)andR = R_free (V/V_free)^(4/21); the free-atom tables are trainable.- Parameters:
node_dim (int) – Widths of the atom and edge states.
edge_dim (int) – Widths of the atom and edge states.
pre (tuple of int) – MLP shapes as in
LennardJonesChargeHead.out (tuple of int) – MLP shapes as in
LennardJonesChargeHead.charge_bound (float) – Bound of the bond charge increments.
lithium_volume (float) – Fixed effective volume of lithium (Angstrom^3).
lithium_alpha (float or None) – Fixed polarizability of lithium, or
None.lithium_damping (float) – Lower bound of lithium’s Thole damping volume.
damping_floor (float) – Lower bound of every damping volume.
lambda_scale (float) – Scale of the repulsion exponents.
c6_scale (float) – Scale at which the free-atom C6 table is stored.
activation (str) – Activation of the MLPs.