pele.potentials._inversepower_stillinger_cut_quad#

Module source

# distutils: language = C++ # cython: language_level=3str

class pele.potentials._inversepower_stillinger_cut_quad.InversePowerStillingerCutQuad

Source

cdef class InversePowerStillingerCutQuad(_pele.BasePotential):

Python interface to C++ implementation of InversePowerStillingerCutQuad, a smooth repulsive potential with a cutoff distance. This corresponds to the soft sphere potential in https://journals.aps.org/prx/abstract/10.1103/PhysRevX.12.021001. For the canonical case of power = 12, this potential delegates to a templated C++ implementation for speed.

Parameters:
powerinteger

Exponent value

v0float

Energy scale.

cutoff_factorfloat

Cutoff distance as a multiple of the pair interaction length.

radiinp.array

List of particles radii

ndiminteger

Euclidean dimension of simulation box

boxvecarray

Box vector

boxlfloat

In case the box is a cube, the cube length can be given as boxl instead of providing boxvec

ncellx_scalefloat, optional

Cell-list grid scale.

use_cell_listsbool, optional

Enable cell lists for periodic systems.

non_additivityfloat, optional

Non-additivity parameter passed to the pair interaction.