| 103 | |
| 104 | |
| 105 | SymmetricComplex::Cone SymmetricComplex::Cone::permuted(Permutation const &permutation, SymmetricComplex const &complex, bool withSymmetry)const |
| 106 | { |
| 107 | std::set<int> r; |
| 108 | for(unsigned i=0;i<indices.size();i++) |
| 109 | { |
| 110 | ZVector ny=permutation.apply(complex.vertices[indices[i]]); |
| 111 | std::map<ZVector,int>::const_iterator it=complex.indexMap.find(ny); |
| 112 | if(it==complex.indexMap.end()) |
| 113 | { |
| 114 | // AsciiPrinter(Stderr).printVector(complex.vertices[indices[i]]); |
| 115 | // AsciiPrinter(Stderr).printVector(ny); |
| 116 | |
| 117 | assert(0); |
| 118 | } |
| 119 | r.insert(it->second); |
| 120 | } |
| 121 | |
| 122 | |
| 123 | return Cone(r,dimension,multiplicity,withSymmetry,complex); |
| 124 | } |
| 125 | |
| 126 | |
| 127 | bool SymmetricComplex::Cone::operator<(Cone const & b)const |
no test coverage detected