|
| | SolutionIO () |
| |
| | SolutionIO (int L, int S, int Pi, int ni, int li, int mi, Real E, std::vector< std::pair< int, int >> const &ang, std::vector< std::pair< int, int >> const &chann=std::vector< std::pair< int, int >>(), std::string prefix="psi") |
| |
| std::string | name (int ill=SolutionIO::All) const |
| | Get name of the solution file. More...
|
| |
| bool | check (int ill, std::size_t &total_size) const |
| | Check that the file exists. More...
|
| |
| bool | check (int ill=SolutionIO::All) const |
| |
| bool | load (BlockArray< Complex > &solution, int ill=SolutionIO::All) |
| | Load the solution from disk. More...
|
| |
| bool | save (BlockArray< Complex > const &solution, int ill=SolutionIO::All) const |
| | Write solution to disk. More...
|
| |
| bool | save_segment (const cArrayView solution, int ill) const |
| |
| std::vector< std::pair< int, int > > const & | channels () const |
| |
On several places in code it is necessary to load some solutions. In order not to bother with the file names and still to keep them consistent, this class will carry the file name and do all operations on it.