sponge.function
API Name |
Description |
Supported Platforms |
Compute angle between two vectors. |
|
|
Compute angle \(\angle{ABC}\) formed by the position coordinates of three positions |
|
|
Compute angle \(\angle{ABC}\) formed by the position coordinates of three positions |
|
|
Compute angle formed by three positions \(A\), \(B\) and \(C\) with or without periodic boundary condition. |
|
|
Compute distance between position A and B without perodic bundary condition. |
|
|
Compute distance between position \(A\) and \(B\) at perodic bundary condition. |
|
|
Compute distance between position \(A\) and \(B\). |
|
|
Compute torsion angle formed by two direction vectors \(\vec{v_1}\) and \(\vec{v_2}\) |
|
|
Compute torsion angle A-B-C-D formed by four positions \(A\), \(B\), \(C\) and \(D\) without periodic boundary condition. |
|
|
Compute torsion angle A-B-C-D formed by four positions \(A\), \(B\), \(C\) and \(D\) at periodic boundary condition. |
|
|
Compute torsion angle \(A-B-C-D\) formed by four positions \(A\), \(B\), \(C\) and \(D\) |
|
|
Compute vector from initial point to terminal point without perodic bundary condition. |
|
|
Compute vector from initial point to terminal point at perodic bundary condition. |
|
|
Compute vector from initial point to terminal point. |
|
|
convert energy according to difference units. |
|
|
Energy. |
|
|
Gather value from the last axis (axis=-1) of the tensor according to index. |
|
|
Gather vector from the penultimate axis (axis=-2) of the tensor according to index. |
|
|
get energy reference. |
|
|
get the name of energy unit. |
|
|
get energy unit. |
|
|
get integer type of the input value |
|
|
get length reference. |
|
|
get name of length unit. |
|
|
get length unit. |
|
|
get ndarray type of the input value |
|
|
The class to calculate distance with or without PBC box |
To Be Developed |
|
Module for calculating B matrix whose dimensions are: C. |
To Be Developed |
|
Module for calculating the differentiation of B matrix whose dimensions are: K*N*D. |
To Be Developed |
|
The class to get vector with or without PBC box |
To Be Developed |
|
convert length according to different units. |
|
|
Length. |
|
|
Reshape the pbc_box as the same ndim. |
|
|
calculate the periodic image of the PBC box |
|
|
set global length unit. |
|
|
set global energy unit. |
|
|
set global units. |
|
|
Unit class to record and convert the length and energy units. |
|
|
Make the value of vector \(\vec{v}\) at a single PBC box \(\vec{L}\). |
|
|
A class to generate velocities for atoms in system according to temperature |
To Be Developed |