Skip to content
Snippets Groups Projects
Commit 6ba7dd3e authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Implement transition matrix binary I/O with legacy and HDF5 format

parent 52f3a3d0
No related branches found
No related tags found
No related merge requests found
...@@ -140,7 +140,6 @@ TransitionMatrix* TransitionMatrix::from_hdf5(string file_name) { ...@@ -140,7 +140,6 @@ TransitionMatrix* TransitionMatrix::from_hdf5(string file_name) {
_elements[ei] = complex<double>(file_vector[2 * ei], file_vector[2 * ei + 1]); _elements[ei] = complex<double>(file_vector[2 * ei], file_vector[2 * ei + 1]);
} }
status = H5Dclose(dset_id); status = H5Dclose(dset_id);
status = hdf_file->read("RADIUS", "FLOAT64", &_radius);
tm = new TransitionMatrix(_is, _lm, _vk, _exri, _elements, _radius); tm = new TransitionMatrix(_is, _lm, _vk, _exri, _elements, _radius);
delete[] file_vector; delete[] file_vector;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment