include/NRGclasses.hpp
CNRGmatrix(CNRGbasisarray A1){
     UpperTriangular=false;
     SaveMatYN=false;
     CalcAvg=false;
     IsComplex=false;
     CNRGarray::Nshell=A1.Nshell;
     CNRGarray::NQNumbers=A1.NQNumbers;
     CNRGarray::QNumbers=A1.QNumbers;
     CNRGarray::BlockBegEnd=A1.BlockBegEnd;
     CNRGarray::Kept=A1.Kept;
     //     CNRGarray::sizeBlock=A1.sizeBlock;
     iType=A1.iType;
     CNRGarray::totalS=A1.totalS; // tru -> there are totalS QNs 
     CNRGarray::Sqnumbers=A1.Sqnumbers; // position(s) of total S in QNumbers
   }
// Constructor that copies members from a CNRGarray object
Constructor that copies members from a CNRGarray object
Constructor that copies members from a CNRGarray object
CNRGmatrix(CNRGbasisarray A1){
     UpperTriangular=false;
     SaveMatYN=false;
     CalcAvg=false;
     IsComplex=false;
     CNRGarray::Nshell=A1.Nshell;
     CNRGarray::NQNumbers=A1.NQNumbers;
     CNRGarray::QNumbers=A1.QNumbers;
     CNRGarray::BlockBegEnd=A1.BlockBegEnd;
     CNRGarray::Kept=A1.Kept;
     iType=A1.iType;
     CNRGarray::totalS=A1.totalS; 
     CNRGarray::Sqnumbers=A1.Sqnumbers; 
   }
CNRGmatrix ( CNRGbasisarray A1 ) { UpperTriangular = false ; SaveMatYN = false ; CalcAvg = false ; IsComplex = false ; CNRGarray :: Nshell = A1 . Nshell ; CNRGarray :: NQNumbers = A1 . NQNumbers ; CNRGarray :: QNumbers = A1 . QNumbers ; CNRGarray :: BlockBegEnd = A1 . BlockBegEnd ; CNRGarray :: Kept = A1 . Kept ; iType = A1 . iType ; CNRGarray :: totalS = A1 . totalS ; CNRGarray :: Sqnumbers = A1 . Sqnumbers ; }
Constructor that copies members from a CNRGarray object
Constructor that copies members from a CNRGarray object
//     CNRGarray::sizeBlock=A1.sizeBlock; // tru -> there are totalS QNs  // position(s) of total S in QNumbers