Classes | Functions
nucmass_ame.h File Reference

File defining o2scl::nucmass_ame and o2scl::nucmass_ame_exp. More...

#include <cmath>
#include <string>
#include <map>
#include <o2scl/nucleus.h>
#include <o2scl/constants.h>
#include <o2scl/table.h>
#include <o2scl/nucmass.h>

Go to the source code of this file.

Classes

class  o2scl::nucmass_ame
 Masses from the Atomic Mass Evaluation. More...
 
struct  o2scl::nucmass_ame::entry
 Atomic mass entry structure. More...
 
class  o2scl::nucmass_ame_exp
 Measured masses from the Atomic Mass Evaluation (no estimated masses) More...
 

Functions

void o2scl_hdf::ame_load (o2scl::nucmass_ame &ame, std::string file_name, std::string table_name)
 Read data for o2scl::nucmass_ame from an HDF table specified in a file. More...
 
void o2scl_hdf::ame_load (o2scl::nucmass_ame &ame, std::string name="12")
 Read an AME mass table from the O2scl internal data files. More...
 

Function Documentation

◆ ame_load() [1/2]

void o2scl_hdf::ame_load ( o2scl::nucmass_ame ame,
std::string  file_name,
std::string  table_name 
)

There are five data sets, selected by the specification of the version string

  • "95rmd" - "Recommended" data from Audi95 (ame95rmd.o2)
  • "95exp" - "Experimental" data from Audi95 (ame95exp.o2)
  • "03round" - "Rounded" data from Audi03 (ame03round.o2)
  • "03" - Data from Audi03 (ame03.o2)
  • "12" - Data from Audi12 (ame12.o2)

If any string other than these five is used, the error handler is called. If a data file has not been loaded, then nucmass_ame::is_loaded() returns false.

Note
This function is in the o2scl_hdf namespace, see hdf_nucmass_io.h .

◆ ame_load() [2/2]

void o2scl_hdf::ame_load ( o2scl::nucmass_ame ame,
std::string  name = "12" 
)

There are five data sets, selected by the specification of the version string

  • "95rmd" - "Recommended" data from Audi95 (ame95rmd.o2)
  • "95exp" - "Experimental" data from Audi95 (ame95exp.o2)
  • "03round" - "Rounded" data from Audi03 (ame03round.o2)
  • "03" - Data from Audi03 (ame03.o2)
  • "12" - Data from Audi12 (ame12.o2, default)

If any string other than these five is used, the error handler is called. If a data file has not been loaded, then nucmass_ame::is_loaded() returns false.

Note
This function is in the o2scl_hdf namespace, see hdf_nucmass_io.h .

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).