Develop and Download Open Source Software

Browse Subversion Repository

Diff of /Conograph/trunk/src/LatticeWithSameQ/p_out_same_q.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 25 by rtomiyasu, Mon Jul 7 02:35:51 2014 UTC revision 33 by rtomiyasu, Wed Sep 7 04:38:51 2016 UTC
# Line 33  THE SOFTWARE. Line 33  THE SOFTWARE.
33    
34  void printSolutions(const vector<LatticeFigureOfMerit>& lattice_result,  void printSolutions(const vector<LatticeFigureOfMerit>& lattice_result,
35                  const ControlParam& cdata,                  const ControlParam& cdata,
36                  ostream* const os)                  ostream* const os, const size_t number_output)
37  {  {
38            if( number_output < 0 ) return;
39    
40          os->precision(6);          os->precision(6);
41                    
42          VecDat3<Double> length_axis, angle_axis;          VecDat3<Double> length_axis, angle_axis;
43          Int4 count = 0;          Int4 count = 0;
44          for(size_t n=0; n<lattice_result.size(); n++)          for(size_t n=0; n<min(lattice_result.size(), number_output); n++)
45          {          {
46          *os << "(" << ++count << ") ";          *os << "(" << ++count << ") ";
47    

Legend:
Removed from v.25  
changed lines
  Added in v.33

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26