Commit a3a4b543 authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

WIP: f71stream.

parent 4cebaacc
Pipeline #12645 passed with stages
in 5 minutes and 31 seconds
......@@ -27,10 +27,10 @@ bool F71Stream::load_next(f71case_type& inventory)
// header
mStream.readHeader();
// read record content
int num_nuclides = mStream.readInt(); // ITXX
mStream.readInt(); // ILITE
mStream.readInt(); // IACT =
mStream.readInt(); // IFP =
int num_nuclides = mStream.readInt(); // ITXX
int num_light_nuclides = mStream.readInt(); // ILITE
int num_actinides = mStream.readInt(); // IACT =
int num_fission_products = mStream.readInt(); // IFP =
mStream.readInt(); // NRFLAG =
mStream.readInt(); // MSUB1 =
mStream.readInt(); // NSTEPO =
......@@ -73,9 +73,9 @@ bool F71Stream::load_next(f71case_type& inventory)
// read header
mStream.readHeader();
std::vector<int> iza_list((size_t(num_nuclides)));
mStream >> iza_list;
mStream >> iza_list; // values
std::vector<float> abundances((size_t(num_nuclides)));
mStream >> abundances;
mStream >> abundances; // gram-atom concentrations
std::string title = trim_string(mStream.readString(80));
std::string basis = trim_string(mStream.readString(40));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment