32 #ifndef _math_symmetry_corrtab_h 33 #define _math_symmetry_corrtab_h 37 #include <math/symmetry/pointgrp.h> 78 const char *
error(
int errcod);
81 int n()
const {
return n_; }
83 int subn()
const {
return subn_; }
85 int degen(
int igamma)
const;
90 int ngamma(
int igamma)
const {
return ngamma_[igamma]; }
93 int gamma(
int igamma,
int i)
const {
return gamma_[igamma][i]; }
The CorrelationTable class provides a correlation table between two point groups. ...
Definition: corrtab.h:46
Ref< PointGroup > group() const
Returns the higher order point group.
Definition: corrtab.h:67
The base class for all reference counted objects.
Definition: ref.h:194
A template class that maintains references counts.
Definition: ref.h:332
int gamma(int igamma, int i) const
Returns the irreps in the low order group that an irrep from the high order group can be reduced to...
Definition: corrtab.h:93
Ref< PointGroup > subgroup() const
Returns the lower order point group.
Definition: corrtab.h:69
int subn() const
Returns the number of irreps in the subgroup.
Definition: corrtab.h:83
int n() const
Returns the number of irreps in the high order group.
Definition: corrtab.h:81
const char * error(int errcod)
Converts error codes from initialize_table into a text string.
static std::ostream & out0()
Return an ostream that writes from node 0.
int ngamma(int igamma) const
Returns the number of irreps in the low order group that an irrep.
Definition: corrtab.h:90
int subdegen(int igamma) const
Returns the degeneracy of the subgroup irrep.
int degen(int igamma) const
Returns the degeneracy of the irrep.
int initialize_table(const Ref< PointGroup > &group, const Ref< PointGroup > &subgroup)
Initalize the correlation table.