45 theSizeOfOrbit(sizeOrbit)
53 theOccupancies =
new G4int[theSizeOfOrbit];
55 for (index = 0; index < theSizeOfOrbit; index++) {
56 theOccupancies[
index] =0;
66 delete [] theOccupancies;
74 theSizeOfOrbit = right.theSizeOfOrbit;
77 theOccupancies =
new G4int[theSizeOfOrbit];
79 for (index = 0; index < theSizeOfOrbit; index++) {
80 theOccupancies[
index] = right.theOccupancies[
index];
83 theTotalOccupancy = right.theTotalOccupancy;
88 if (
this != &right) {
89 theSizeOfOrbit = right.theSizeOfOrbit;
92 if ( theOccupancies != 0 )
delete [] theOccupancies;
93 theOccupancies =
new G4int[theSizeOfOrbit];
95 for (index = 0; index < theSizeOfOrbit; index++) {
96 theOccupancies[
index] = right.theOccupancies[
index];
99 theTotalOccupancy = right.theTotalOccupancy;
109 if ( (index < theSizeOfOrbit ) && ( index < right.theSizeOfOrbit) ) {
111 (theOccupancies[
index] == right.theOccupancies[
index]) ;
112 }
else if ((index < theSizeOfOrbit ) && ( index >= right.theSizeOfOrbit)) {
113 value = value && (theOccupancies[
index] == 0);
114 }
else if ((index >= theSizeOfOrbit ) && ( index <right.theSizeOfOrbit)) {
115 value = value && (right.theOccupancies[
index] == 0);
123 return !(*
this ==
right);
131 for (index = 0; index < theSizeOfOrbit; index++) {
132 G4cout <<
" " << index <<
"-th orbit "