PBCAtomsMixin¶
-
class
sknano.core.atoms.mixins.PBCAtomsMixin(*args, xperiodic=False, yperiodic=False, zperiodic=False, **kwargs)[source] [edit on github][source]¶ Bases:
objectMixin
Atomsclass for PBC.Parameters: yperiodic, zperiodic (xperiodic,) – Truefor PBC along the given dimension. Default isFalse.Attributes
pbcReturn boolean array of periodic boundaries set along x,y,zaxes.xperiodicReturn Trueif periodic along thexaxis.yperiodicReturn Trueif periodic along theyaxis.zperiodicReturn Trueif periodic along thezaxis.Methods
set_pbc(dims)Set periodic boundaries along dims.unset_pbc()Turn of PBCs along all dimensions. Attributes Summary
pbcReturn boolean array of periodic boundaries set along x,y,zaxes.xperiodicReturn Trueif periodic along thexaxis.yperiodicReturn Trueif periodic along theyaxis.zperiodicReturn Trueif periodic along thezaxis.Methods Summary
set_pbc(dims)Set periodic boundaries along dims.unset_pbc()Turn of PBCs along all dimensions. Attributes Documentation
-
pbc¶ Return boolean array of periodic boundaries set along
x,y,zaxes.Returns: Returns a boolndarrayof thexperiodic,yperiodic,zperiodicboolattributes.Return type: ndarray
Methods Documentation
-
set_pbc(dims)[source] [edit on github][source]¶ Set periodic boundaries along
dims.Parameters: dims ( str) –
-
unset_pbc()[source] [edit on github][source]¶ Turn of PBCs along all dimensions.
-