cg_openmm.utilities.random_builder
Functions
|
Assign random position for a bead |
|
Assign random position for a particle |
|
Given a set of cartesian coordinates this function positions a new particle a distance of 'bond_length' away in a random direction. |
|
Given a set of cartesian coordinates, assign a new particle |
|
Determine if there are any collisions between non-bonded particles, where a "collision" is defined as a distance shorter than 'distance_cutoff'. |
|
Calculate the distance between two particles. |
|
Construct a matrix of the distances between an input array of particles. |
|
Calculate the distances between all non-bonded particles in a model, given a list of particle interactions and particle positions. |
|
Determine if the provided 'positions' contain any particles (are the coordinates non-zero). |
|
Used to build random structures. |
|
Assign random positions for all beads in a coarse-grained polymer. |
|
Given a coarse grained model class object, this function retrieves a set of positions for the model from the 'foldamers' ensemble library, in: 'foldamers/ensembles/${backbone_length}_${sidechain_length}_${sidechain_positions}' If this coarse grained model does not have an ensemble library, an error message will be returned and positions at random with 'random_positions()'. |