42 json[
"SymOpRep_type"] =
"SymPermutation";
44 json[
"op_index"] =
index();
49 json[
"m_mat"] =
m_mat;
void _calc_mat() const
Generate the matrix of permutation, when m_permute is known.
void from_json(ClexDescription &desc, const jsonParser &json)
jsonParser & to_json(const ClexDescription &desc, jsonParser &json)
Index index() const
Index of this operation within the master_group.
SymGroupRepID m_rep_ID
ID of this representation within the master_group. Default is uninitialized.
Index m_op_index
Index into MasterSymGroup that specifies the operation.
SymPermutation describes how a symmetry operation permutes a list of 'things' For example...
EigenIndex Index
For long integer indexing:
double character() const override
Calculates character of the representation (if well-defined)
jsonParser & to_json(jsonParser &json) const override
SymGroupRepID rep_ID() const
ID of representation that this operation belongs to within the master_group.
jsonParser & put_obj()
Puts new empty JSON object.
void from_json(const jsonParser &json) override