sponge.colvar.AtomsBase
- class sponge.colvar.AtomsBase(keep_in_box: bool = False, dimension: int = 3, name: str = 'atoms')[source]
Base class for specific atoms group, used as the "atoms group module" in MindSPONGE.
The AtomsBase Cell is a special subclass of Colvar. It has the shape (a_1, a_2, … , a_n, D), where D is the dimension of the atomic coordinates (usually 3). As with the Colvar Cell, when it takes as input coordinates of shape (B, A, D), it returns the shape of the Tensor with an extra dimension B, i.e. (B, a_1, a_2, … , a_n, D). B means Batchsize, i.e. number of walkers in simulation. {a_i} means Dimensions of the Atoms Cell.
- Parameters
- Supported Platforms:
Ascend
GPU