MURE
Loading...
Searching...
No Matches
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.
 
 ~NuclearChart ()
 
void setval (int inpN, int inpZ, float val)
 Give a value to the Mendeleiev Matrix.
 
float getval (int inpN, int inpZ)
 returns the value of the Medelev Matrix
 
void DumpChart ()
 Dump the Mendelev matrix.
 
void DumpDriplines ()
 Dump drip lines.
 

Private Attributes

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

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::NuclearChart ( string  Name = "test",
int  maxN = 170,
int  maxZ = 120 
)

Normal constructor.

◆ ~NuclearChart()

NuclearChart::~NuclearChart ( )

Destructor

Member Function Documentation

◆ DumpChart()

void NuclearChart::DumpChart ( )

Dump the Mendelev matrix.

◆ DumpDriplines()

void NuclearChart::DumpDriplines ( )

Dump drip lines.

◆ getval()

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

returns the value of the Medelev Matrix

Parameters
inpN: neutron number
inpZ: proton number

◆ setval()

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

◆ fBuffer

vector< float > NuclearChart::fBuffer
private

a buffer to write

◆ fMaxN

int NuclearChart::fMaxN
private

Maximum N value of the matrix.

◆ fMaxZ

int NuclearChart::fMaxZ
private

Maximum Z value of the matrix.

◆ fMendeleiev

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

matrix of all nuclei

◆ fName

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.9.7 - Fri Jan 19 2024