|
PSCF v1.5.0
|
A list of wavevectors that are related by space-group symmetries. More...
#include <Basis.h>
Public Member Functions | |
| Star () | |
| Constructor. | |
Public Attributes | |
| int | size |
| Number of wavevectors in this star. | |
| int | beginId |
| Wave index of the first wavevector in this star. | |
| int | endId |
| Wave index of the first wavevector of the next star. | |
| int | rootId |
| int | invertFlag |
| Index for inversion symmetry of star. | |
| IntVec< D > | waveMin |
| Minimal indices of the root wave of this star. | |
| int | starId |
| Index of this star in ordered array of all stars. | |
| int | basisId |
| Index of basis function associated with this star. | |
| bool | cancel |
| Is this star cancelled, i.e., associated with a zero function? | |
A list of wavevectors that are related by space-group symmetries.
The wavevectors in a star form a continuous block within the array waves defined by the Basis classes. Within this block, waves are listed in descending lexigraphical order of their integer (ijk) indices as given by Basis::Wave::indicesMin.
|
inline |
| int Pscf::Basis< D >::Star::size |
Number of wavevectors in this star.
Definition at line 502 of file Basis.h.
Referenced by pscfpp.file.File::__eq__(), pscfpp.file.File::__init__(), pscfpp.text.Record::__init__(), pscfpp.file.File::__repr__(), pscfpp.text.Record::__str__(), Pscf::readBasisData(), Star(), and Pscf::writeBasisData().
| int Pscf::Basis< D >::Star::beginId |
Wave index of the first wavevector in this star.
Definition at line 507 of file Basis.h.
Referenced by Pscf::readBasisData(), and Star().
| int Pscf::Basis< D >::Star::endId |
| int Pscf::Basis< D >::Star::rootId |
Wave index of the wavevector that is the root of the star.
The coefficient of the root of a star is real and positive in the expansion of the associated star basis function. For a star with invertFlag = 0 or 1, the root wave is the first wave in the star, after waves are listed in decreasing lexographical order by minimal wave indices. For a star with invertFlag = -1, the root wave is the negation of the root wave of the partner star for which invertFlag = 1.
Definition at line 528 of file Basis.h.
Referenced by Star().
| int Pscf::Basis< D >::Star::invertFlag |
Index for inversion symmetry of star.
A star is said to be closed under inversion iff, for each vector G in the star, -G is also in the star. If a star S is not closed under inversion, then there is another star S' that is related to S by inversion, i.e., such that for each G in S, -G is in S'. Stars that are related by inversion are listed consecutively within the waves array of the Basis class.
If a star is closed under inversion, then invertFlag = 0.
If a star is not closed under inversion, then invertFlag = +1 or -1, with inverFlag = +1 for the first star in the pair of stars related by inversion and invertFlag = -1 for the second.
In a centro-symmetric group (i.e., a group that includes the inversion operation, with an inversion center at the origin of the coordinate system), all stars are closed under inversion. In this case, all stars must thus have starInvert = 0.
In a non-centro-symmetric group, a stars may either be closed closed under inversion (starInvert = 0) or belong to a pair of consecutive stars that are related by inversion (starInvert = +1 or -1).
Definition at line 556 of file Basis.h.
Referenced by Pscf::readBasisData(), and Star().
| IntVec<D> Pscf::Basis< D >::Star::waveMin |
Minimal indices of the root wave of this star.
Wave given here is the value of indicesMin for the root wave for the star, which has a wave index given by member rootId.
Definition at line 564 of file Basis.h.
Referenced by Pscf::readBasisData(), Star(), and Pscf::writeBasisData().
| int Pscf::Basis< D >::Star::starId |
| int Pscf::Basis< D >::Star::basisId |
Index of basis function associated with this star.
If this star is not cancelled (cancel == false), then basisId is set equal to the index of the associated basis function in a list of nonzero basis functions or (equivalently) in a list of non-cancelled stars.
If this star is cancelled (cancel == true), then basisId = -1.
Definition at line 583 of file Basis.h.
Referenced by Pscf::readBasisData(), and Star().
| bool Pscf::Basis< D >::Star::cancel |
Is this star cancelled, i.e., associated with a zero function?
The cancel flag is true iff no nonzero basis function can be constructed from the waves of this star that is invariant under all elements of the space group. Basis functions are thus associated only with stars for which cancel == false.
Each cancelled star contains a set of waves that are related by symmetry for which the X-ray or neutron scattering intensity would exhibit a systematic cancellation required by the space group symmetry.
Definition at line 598 of file Basis.h.
Referenced by Pscf::readBasisData(), Star(), and Pscf::writeBasisData().