add_dimension
Method of Lattice.
Overloads
| Name | Description |
|---|---|
add_dimension(List<real> primitive_vector, integer length, BoundaryConditionType boundary) -> Lattice | Adds a dimension to the lattice along the given primitive vector. The new primitive vector must be linearly independent from the current primitive vectors. |
add_dimension(List<real> primitive_vector, integer length) -> Lattice | Adds a dimension to the lattice along the given primitive vector. The new primitive vector must be linearly independent from the current primitive vector. Defaults boundary condition to open |
add_dimension(List<real> primitive_vector, integer length, BoundaryConditionType boundary) -> Lattice
Adds a dimension to the lattice along the given primitive vector. The new primitive vector must be linearly independent from the current primitive vectors.
Parameters
- primitive_vector: Row vector corresponding to primitive vector of new dimension.
- length: Length of the new dimension.
- boundary: Boundary condition for new dimension
add_dimension(List<real> primitive_vector, integer length) -> Lattice
Adds a dimension to the lattice along the given primitive vector. The new primitive vector must be linearly independent from the current primitive vector. Defaults boundary condition to open
Parameters
- primitive_vector: Row vector corresponding to primitive vector of new dimension.
- length: Length of the new dimension.