MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Private Attributes | List of all members
NuclearChart Class Reference

A NuclearChart is a 2 dimensional array of nuclei up to maximum N & Z. More...

#include <NuclearChart.hxx>

Public Member Functions

 NuclearChart (string Name="test", int maxN=170, int maxZ=120)
 Normal constructor. More...
 
 ~NuclearChart ()
 
void setval (int inpN, int inpZ, float val)
 Give a value to the Mendeleiev Matrix. More...
 
float getval (int inpN, int inpZ)
 returns the value of the Medelev Matrix More...
 
void DumpChart ()
 Dump the Mendelev matrix. More...
 
void DumpDriplines ()
 Dump drip lines. More...
 

Private Attributes

string fName
 file name where to write More...
 
map< int,map< int, float > > fMendeleiev
 matrix of all nuclei More...
 
int fMaxZ
 Maximum Z value of the matrix. More...
 
int fMaxN
 Maximum N value of the matrix. More...
 
vector< float > fBuffer
 a buffer to write More...
 

Detailed Description

A NuclearChart is a 2 dimensional array of nuclei up to maximum N & Z.

This class which will create and store floating point values in a chart of nuclides The method DumpChart() is used to write the chart to a binary file The method DumpDriplines() will find the driplines and write these to two binary files The binary files can be read later by the IDL procedure readchart.pro to display a nice graphical plot with annotations, N,Z axes, and rainbow colours

Author
JW
Version
1.0

Constructor & Destructor Documentation

NuclearChart::NuclearChart ( string  Name = "test",
int  maxN = 170,
int  maxZ = 120 
)

Normal constructor.

NuclearChart::~NuclearChart ( )

Destructor

Member Function Documentation

void NuclearChart::DumpChart ( )

Dump the Mendelev matrix.

void NuclearChart::DumpDriplines ( )

Dump drip lines.

float NuclearChart::getval ( int  inpN,
int  inpZ 
)
inline

returns the value of the Medelev Matrix

Parameters
inpN: neutron number
inpZ: proton number
void NuclearChart::setval ( int  inpN,
int  inpZ,
float  val 
)
inline

Give a value to the Mendeleiev Matrix.

Parameters
inpN: neutron number
inpZ: proton number
val: value associated to a particular "state" of the nucleus (used, simplify,...)

Member Data Documentation

vector<float> NuclearChart::fBuffer
private

a buffer to write

int NuclearChart::fMaxN
private

Maximum N value of the matrix.

int NuclearChart::fMaxZ
private

Maximum Z value of the matrix.

map<int ,map<int,float> > NuclearChart::fMendeleiev
private

matrix of all nuclei

string NuclearChart::fName
private

file name where to write


The documentation for this class was generated from the following files:

MURE Project, documentation generated by Doxygen 1.8.5 - Mon Nov 17 2014