mapPbcFaces()
Map the faces based on periodicity type.
Parameters
- PbcType (string)
- Pbc type ( "TRANSLATION", "ROTATION").
- nSrfs (integer)
- Number of faces in each group to be mapped.
- areas1 (array)
- A 1D array of source face areas.
- areas2 (array)
- A 1D array of destination face areas.
- ctrs1 (array)
- A 1D array of source face centers.
- ctrs2 (array)
- A 1D array of destination face centers.
- trans (array)
- A 1D array of translation vector (size 3).
- axis_pt1 (array)
- A 1D array of the first point on the axis of rotation.
- axis_pt2 (array)
- A 1D array of the second point on the axis of rotation.
- angle (real)
- Rotation angle (radians) to go from source to destination face.
- tolerance (real)
- Allowed tolerance while mapping the face, default = 1e.
Return Value
- pbcMap (array)
- PBC map.