__init__(self,
cellsize,
cells,
function=None,
base=None)
(Constructor)
|
|
- Parameters:
cellsize (float ) - the edge length of the cubic elementary cell
cells - a tuple of three integers, indicating how often the elementary
cell should be replicated along each lattice vector
cells - tuple of int
function (callable) - the function to be applied to each point in the lattice in order
to obtain the value stored in the lattice. If no function is
specified, the point itself becomes the value stored in the
lattice.
base (Scientific.Geometry.Vector) - an offset added to all lattice points
- Overrides:
Lattice.__init__
|