Browse Subversion Repository
Diff of /Conograph/trunk/src/LatticeWithSameQ/p_out_same_q.hh
Parent Directory
| Revision Log
| Patch
| 37 |
|
|
| 38 |
void printSolutions(const vector<LatticeFigureOfMerit>& lattice_result, |
void printSolutions(const vector<LatticeFigureOfMerit>& lattice_result, |
| 39 |
const ControlParam& cdata, |
const ControlParam& cdata, |
| 40 |
ostream * const os); |
ostream * const os, const size_t number_output = 15); |
| 41 |
|
|
| 42 |
// Output q-values in fname. |
// Output q-values in fname. |
| 43 |
// If selected_lattice is not NULL, the information of selected_lattice is also output. |
// If selected_lattice is not NULL, the information of selected_lattice is also output. |
| 44 |
inline void printSolutions(const vector<LatticeFigureOfMerit>& lattice_result, |
inline void printSolutions(const vector<LatticeFigureOfMerit>& lattice_result, |
| 45 |
const ControlParam& cdata, |
const ControlParam& cdata, |
| 46 |
const string& fname) |
const string& fname, const size_t number_output = 15) |
| 47 |
{ |
{ |
| 48 |
ofstream ofs(fname.c_str()); |
ofstream ofs(fname.c_str()); |
| 49 |
printSolutions(lattice_result, cdata, &ofs); |
printSolutions(lattice_result, cdata, &ofs); |
|
|
Legend:
| Removed from v.25 |
|
| changed lines |
| |
Added in v.33 |
|
|
| |