CLASS  5.1
Fuel Cycle Simulator
ZAI Class Reference

Defines a nucleus. More...

#include <ZAI.hxx>

Inheritance diagram for ZAI:

Public Member Functions

ZAI operator= (ZAI IVa)
 
bool operator< (const ZAI &zai) const
 Compartor operator. More...
 
bool operator!= (const ZAI &zai) const
 Compartor operator. More...
 
bool operator== (const ZAI &zai) const
 Compartor operator. More...
 
void Print () const
 Print in standard output : Z A I. More...
 
Constructor/Desctructor
 ZAI ()
 Default constructor. More...
 
 ZAI (int Z, int A, int I=0)
 < Normal Constructor. More...
 
 ~ZAI ()
 Normal Destructor. More...
 
ZAI main attributes
int Z () const
 returns the number of protons More...
 
int A () const
 returns the number of nucleons More...
 
int I () const
 returns the Isomeric State More...
 
int N () const
 returns the number of neutrons More...
 

Protected Member Functions

 ClassDef (ZAI, 1)
 

Protected Attributes

short fZ
 number of protons More...
 
short fA
 number of nucleons (A = 0 means natural isotopes) More...
 
short fI
 Isomeric state. More...
 

Detailed Description

Defines a nucleus.

Define a nuclei as 3 integer Z,A,I:

  • its charge number : Z
  • its mass number : A
  • its Isomeric state : I (0 : fundamental, 1 : first isomeric state ,...)

The aim of this class is to discribe each ZAI.

Author
BaM
Version
2.0

Constructor & Destructor Documentation

◆ ZAI() [1/2]

ZAI::ZAI ( )

Default constructor.

◆ ZAI() [2/2]

ZAI::ZAI ( int  Z,
int  A,
int  I = 0 
)

< Normal Constructor.

Default: No parent

Parameters
Z: number of protons
A: number of nucleons (A = 0 means natural isotopes)

◆ ~ZAI()

ZAI::~ZAI ( )

Normal Destructor.

Member Function Documentation

◆ A()

int ZAI::A ( ) const
inline

returns the number of nucleons

◆ ClassDef()

ZAI::ClassDef ( ZAI  ,
 
)
protected

◆ I()

int ZAI::I ( ) const
inline

returns the Isomeric State

◆ N()

int ZAI::N ( ) const
inline

returns the number of neutrons

◆ operator!=()

bool ZAI::operator!= ( const ZAI zai) const
inline

Compartor operator.

◆ operator<()

bool ZAI::operator< ( const ZAI zai) const
inline

Compartor operator.

◆ operator=()

ZAI ZAI::operator= ( ZAI  IVa)

◆ operator==()

bool ZAI::operator== ( const ZAI zai) const
inline

Compartor operator.

◆ Print()

void ZAI::Print ( ) const
inline

Print in standard output : Z A I.

◆ Z()

int ZAI::Z ( ) const
inline

returns the number of protons

Member Data Documentation

◆ fA

short ZAI::fA
protected

number of nucleons (A = 0 means natural isotopes)

◆ fI

short ZAI::fI
protected

Isomeric state.

◆ fZ

short ZAI::fZ
protected

number of protons


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