![]() |
Bsoft 2.1.4
Bernard's software package
|
Library routines used for model symmetry operations. More...
Functions | |
long | model_find_asymmetric_unit (Bmodel *model, string &symmetry_string) |
Set model component locations within the asymmetric unit. More... | |
long | model_apply_point_group (Bmodel *model, string &symmetry_string, Vector3< double > origin, View ref_view, int flags=0) |
Applying symmetry to model components. More... | |
long | models_apply_point_group (Bmodel *model, string &symmetry_string, Vector3< double > origin, View ref_view, int flags=0) |
Applying symmetry to model components. More... | |
long | model_symmetrize (Bmodel *model, string &symmetry_string) |
Symmetrize a model. More... | |
long | model_symmetry_related (Bmodel *model, string &symmetry_string) |
Generates a list of symmetry-related models. More... | |
int | model_generate_lattice (Bmodel *model, UnitCell uc, Vector3< long > lattice) |
Generates unit cells from a set of coordinates. More... | |
Library routines used for model symmetry operations.
long model_apply_point_group | ( | Bmodel * | model, |
string & | symmetry_string, | ||
Vector3< double > | origin, | ||
View | ref_view, | ||
int | flags | ||
) |
Applying symmetry to model components.
*model | model parameters. |
&symmetry_string | symmetry code. |
origin | transformation origin. |
ref_view | reference view. |
flags | 1=find asu. |
Only the first model is processed.
long model_find_asymmetric_unit | ( | Bmodel * | model, |
string & | symmetry_string | ||
) |
Set model component locations within the asymmetric unit.
*model | model parameters. |
&symmetry_string | symmetry code. |
Only the first model is processed.
Generates unit cells from a set of coordinates.
*model | molecule group. |
uc | unit cell dimensions. |
lattice | number of unit cells in each lattice direction. |
The input model is replicated to generate the requested number of copies in each lattice direction.
long model_symmetrize | ( | Bmodel * | model, |
string & | symmetry_string | ||
) |
Symmetrize a model.
*model | model parameters. |
&symmetry_string | symmetry code. |
For each component, a new location is calculated from the average location of the closest symmetry-related components.
long model_symmetry_related | ( | Bmodel * | model, |
string & | symmetry_string | ||
) |
Generates a list of symmetry-related models.
*model | model parameters. |
&symmetry_string | symmetry code. |
For each component, a new location is calculated from the average location of the closest symmetry-related components.
long models_apply_point_group | ( | Bmodel * | model, |
string & | symmetry_string, | ||
Vector3< double > | origin, | ||
View | ref_view, | ||
int | flags | ||
) |
Applying symmetry to model components.
*model | model parameters. |
&symmetry_string | symmetry code. |
origin | transformation origin. |
ref_view | reference view. |
flags | 1=find asu. |
All models in the list are processed.