There is no need to set the value to zero here.

I may try and use doxygen so starting to alter comment format to
be inline with what is needed
No need to write an empty string.
Speed up reading and storing of the r-process data.
Create new function to count lines in file so we can reserve space in a vector.
Move the reading of the r-process data to a free function rather than a member.

It perhaps should stay as a member function as it only takes an instance
of the class as an argument, but for consistency, lets keep all file
reading in free functions.
Lessen the scope of some variables and avoid copy constructor as in ac6471665.
Lessen scope of variables.
Don't need the temporary variable.
Can't count the lines if the file isn't open.
Was using std::string.substr() wrongly, now fixed.
I have been using the template function wrongly, now corrected.

Template functions should not be compiled into an object file, so
move extractValue() from a cpp file to a header. Also inline it.
Initilise vector in the constructor.
Use the MAX_Z const rather than a magic number and count lines after the file is opened.

Also as most of the file is in an if/else loop, change the pattern from

if(true)do something
else exit

to
if(!true)exit
do something

This should remove a lot of indenting. Not really important, but there
are some quite deep 'nests' so am looking to make things as shallow
as possible.
As with ba90829 remove indenting.
More indentation removal.
Continue the shallowing of 'deep loops' as started in ba90829.
Merge branch 'CountAndReserve'

When reading from a file into a vector, we now count the number of lines
so we can reserve enough space before starting to fill said vector.

Template functions do not need to be compiled into an object file, so
have moved extractValue() into a header. This has also allowed for it
to be inlined.

Had some quite deep nesting so have altered source structure to make
it more shallow. A fair amount of 'scope lessening' was also carried
out as this was being done.