symm_to_cell_const {cry}R Documentation

Cell parameter constrains from symmetry

Description

This function returns a set of constrains, as string character expressions, imposed by the specific symmetry group on the given unit cell.

Usage

symm_to_cell_const(SG)

Arguments

SG

A character string indicating the extended Hermann-Mauguin symbol for the space group.

Details

Space group symmetry imposes certain constraints on the values that unit cell parameters can take. For example, the symmetry represented by the monoclinic space group of extended Hermann-Mauguin symbol "P 1 2 1" is compatible with a unit cell in which alpha=gamma=90.

There is just a handful of constrains for unit cells. Here they are indicated with the following set of specific strings:

Value

vcons A character vector. Each component is a string, like 'alpha=90' or 'a=b', that describes the type of constrain to be applied to a unit cell of a crystal structure with given space group symmetry (see above).

Examples

# P 1 1 2 (group number 3) corresponds to setting 2
SG <- translate_SG(3,set=2)

# Constrains for this symmetry
stmp <- symm_to_cell_const(SG)
print(stmp)

# R 3 (rombohedral setting)
stmp <- symm_to_cell_const("R 3 :R")
print(stmp)


[Package cry version 0.5.1 Index]