Simpatico  v1.10
PointGroup.cpp
1 #include "PointGroup.h"
2 
3 namespace Util {
4 
8  std::ostream& operator << (std::ostream& out, const PointGroup& g)
9  {
10  int i, size;
11  size = g.size();
12  out << "size = " << size << std::endl;
13  for (i = 0; i < size; ++i) {
14  out << std::endl;
15  out << g[i];
16  }
17  return out;
18  }
19 
20 }
std::ostream & operator<<(std::ostream &out, const Pair< Data > &pair)
Output a Pair to an ostream, without line breaks.
Definition: Pair.h:57
Utility classes for scientific computation.
Definition: accumulators.mod:1
Group of crystal symmetries with no translations.
Definition: PointGroup.h:18
int size() const
Return number of elements in group.