Learn R Programming

pgs (version 0.4-0)

BCRectLat3: Generator of 3D body-centered rectangular lattices as VecLat objects

Description

Create an object of class "VecLat" representing a 3D body-centered rectangular vector lattice.

Usage

BCRectLat3(dx=1,dy=dx,dz=dx)

Arguments

dx
spacing along the x-axis. Default: 1.
dy
spacing along the y-axis. Default: dx.
dz
spacing along the z-axis. Default: dy.

Value

A VecLat-class object.

Details

Note that default parameter values do not define a body-centered cubic lattice. A 3D body-centered rectangular lattice is considered as a series of horizontal 2D rectangular vector lattices. The arguments dx and dy define the spacings in the horizontal planes. A 2D rectangular lattice seen in a given horizontal plane is shift halfway (in both horizontal directions) in the next plane. The argument dz defines the distance between consecutive horizontal planes. Therefore in order to define a (unit) body-centered cubic lattice, one should set dz=0.5.

See Also

Generators VecLat, RectLat3, FCRectLat3.

Examples

Run this code
BCRectLat3()
BCRectLat3(1,1,3)

Run the code above in your browser using DataLab